Function at 0x40578f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43826b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov dword [ebp - 0x16c], ecx
lea ecx, [ebp - 0x10]
call fcn.00405b10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x16c]
add ecx, 0x4c
call fcn.00402c60
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 0x28]
push ecx
push 0x20
lea ecx, [ebp - 0x160]
call fcn.00429d82
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 0x4c
call fcn.0042b6a5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.0042b328
mov dword [ebp - 0x24], 0
jmp 0x405836
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x28]
jae 0x405865
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx + 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [eax + ecx + 8], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x40582d
mov ecx, dword [ebp - 0x16c]
add ecx, 0x4c
call fcn.00402c30
mov ecx, dword [ebp - 0x16c]
mov dword [ecx + 8], eax
push 0
call fcn.00405a90
mov ecx, eax
call fcn.004320f2
lea edx, [ebp - 0x1c]
push edx
push 0
call fcn.0042d46e
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.00405af0
push 0
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x24]
or ecx, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], ecx
push 0
mov eax, dword [ebp + 8]
or al, 1
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00405aa0
push eax
push 0
mov edx, dword [ebp - 0x16c]
call dword [edx + 0x50]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x24]
and ecx, 0xfffffffb
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], ecx
push 1
mov ecx, dword [ebp - 0x20]
call fcn.0042e7a2
push 0
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [ebp - 0x20]
call fcn.00405ad0
mov ecx, dword [ebp - 0x20]
call fcn.0042e7c9
cmp dword [ebp - 0x1c], 0
je 0x405926
push 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
call fcn.00405a90
mov ecx, eax
call fcn.004320f2
mov dword [ebp - 0x24], 0
jmp 0x405946
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x20]
jae 0x405972
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax + ecx + 8]
push ecx
call fcn.0041d4f5
add esp, 4
jmp 0x40593d
mov dword [ebp - 0x24], 0
jmp 0x405984
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x28]
jae 0x4059cc
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x18
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + edx + 0xc]
push edx
call fcn.0041d4f5
add esp, 4
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + eax + 0x10]
push eax
call fcn.0041d4f5
add esp, 4
jmp 0x40597b
cmp dword [ebp - 0x14], 0
je 0x405a5c
push 0xffffffffffffffff
push 0
push 0xf192
call fcn.0043223f
lea ecx, [ebp - 0x128]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.regwiz.log
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0xa
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0041ce55
add esp, 0xc
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x15c]
push eax
push str.Code
push str.Send_Mail
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405b30
mov eax, dword [ebp - 0x164]
jmp 0x405a7b
mov dword [ebp - 0x168], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405b30
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4