Function at 0x404927
Capabilities:
Enumerate gui resources
Get geographical location
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
je 0x404ae1
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push 1
test eax, eax
pop edi
je 0x40497e
push dword [esi + 0x90]
push 0x3ed
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [0x413c74]
push edi
push dword [esi + 0x90]
push str.Prefix
call fcn.00402f04
mov eax, dword [esi + 0x70]
mov ecx, dword [0x413c44]
imul eax, eax, 0x798
push edi
lea eax, [eax + ecx + 3]
mov ecx, dword [0x413c74]
push eax
push str.Country
call fcn.00402f04
mov eax, dword [esi + 0x74]
mov ecx, dword [0x413c40]
imul eax, eax, 0x112
lea eax, [eax + ecx + 0x101]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x12c]
push 0x41012c
push eax
call ebx
mov eax, dword [esi + 0x74]
imul eax, eax, 0x112
add eax, dword [0x413c40]
push eax
lea eax, [ebp - 0x12c]
push eax
call ebx
mov ecx, dword [0x413c74]
lea eax, [ebp - 0x12c]
push edi
push eax
push str.Device
call fcn.00402f04
push 0x3b
lea eax, [ebp - 0x18]
push dword [esi + 0x64]
push str.Disconnect_Trennen_Desconectar_
push eax
call fcn.00402ac9
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push edi
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push edi
push dword [esi + 0x4c]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x3f3
push dword [esi + 0x4c]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, 0x3e8
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
push ebx
push edi
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetTimer]
lea edi, [esi + 0x7c]
mov dword [esi + 0x19c], eax
push edi
call fcn.00406a41
push edi
call fcn.00406d0f
xor edi, edi
push eax
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
call fcn.00406b1d
add esp, 0xc
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x80], eax
imul ecx, ecx, 0x798
mov edx, dword [0x413c44]
mov ecx, dword [ecx + edx + 0x794]
cmp ecx, edi
mov dword [esi + 0x3c], ecx
je 0x404abf
add ecx, eax
mov dword [esi + 0x3c], ecx
cmp byte [0x413f99], 0x31
jne 0x404c46
push str.Internet_Explorer_Netscape_
push 0x402fde
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x404c46
push 0x3b
lea eax, [ebp - 0x18]
push dword [esi + 0x64]
push str.Connect_Verbinden_Conectar_
push eax
call fcn.00402ac9
mov eax, dword [esi + 0x19c]
lea ebx, [esi + 0x19c]
add esp, 0x10
cmp eax, edi
je 0x404c46
push eax
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push 0x80
push 4
push edi
push 2
push 0x40000000
push 0x413fa0
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x404c00
push 2
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov ax, word [0x414780]
push 0x3e
mov dword [ebp - 4], edi
mov word [ebp - 0x114], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x112]
rep stosd dword es:[edi], eax
lea eax, [esi + 0x7c]
push eax
call fcn.00406a28
pop ecx
push 0x19
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov ebx, 0x410910
lea eax, [ebp - 0x114]
push ebx
push eax
call edi
push dword [esi + 0x94]
lea eax, [ebp - 0x114]
push eax
call edi
lea eax, [ebp - 0x114]
push ebx
push eax
call edi
push dword [esi + 0x84]
lea eax, [ebp - 0x114]
push eax
call edi
lea eax, [ebp - 0x114]
push 0x41090c
push eax
call edi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x410414
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Disconnected
push 0x3f0
push dword [esi + 0x4c]
call ebx
lea eax, [ebp - 0x18]
push eax
push 1
pop edi
push edi
push dword [esi + 0x4c]
call ebx
push str.Internet_Explorer_Netscape_
push 0x402fde
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esi + 0x30], edi
pop edi
pop esi
pop ebx
leave
ret 4