Function at 0x40491e
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 0x404ad5
push dword [esi + 0x8c]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push 1
test eax, eax
pop edi
je 0x404975
push dword [esi + 0x8c]
push 0x3ed
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [0x413d44]
push edi
push dword [esi + 0x8c]
push str.Prefix
call fcn.00402f04
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x413d14]
imul eax, eax, 0x798
push edi
lea eax, [eax + ecx + 3]
mov ecx, dword [0x413d44]
push eax
push str.Country
call fcn.00402f04
mov eax, dword [esi + 0x70]
mov ecx, dword [0x413d10]
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 + 0x70]
imul eax, eax, 0x112
add eax, dword [0x413d10]
push eax
lea eax, [ebp - 0x12c]
push eax
call ebx
mov ecx, dword [0x413d44]
lea eax, [ebp - 0x12c]
push edi
push eax
push str.Device
call fcn.00402f04
push 0x3b
lea eax, [ebp - 0x18]
push dword [esi + 0x60]
push str.Disconnect_Trennen_Desconectar_
push eax
call fcn.00402ac9
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push edi
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push edi
push dword [esi + 0x48]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x3f3
push dword [esi + 0x48]
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 + 0x48]
call dword [sym.imp.USER32.dll_SetTimer]
lea edi, [esi + 0x78]
mov dword [esi + 0x198], eax
push edi
call fcn.00406cd1
push edi
call fcn.00406f9f
xor edi, edi
push eax
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
call fcn.00406dad
add esp, 0xc
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x7c], eax
imul ecx, ecx, 0x798
mov edx, dword [0x413d14]
mov ecx, dword [ecx + edx + 0x794]
cmp ecx, edi
mov dword [esi + 0x38], ecx
je 0x404ab3
add ecx, eax
mov dword [esi + 0x38], ecx
cmp byte [0x414069], 0x31
jne 0x404c3a
push str.Internet_Explorer_Netscape_
push 0x402fde
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x404c3a
push 0x3b
lea eax, [ebp - 0x18]
push dword [esi + 0x60]
push str.Connect_Verbinden_Conectar_
push eax
call fcn.00402ac9
mov eax, dword [esi + 0x198]
lea ebx, [esi + 0x198]
add esp, 0x10
cmp eax, edi
je 0x404c3a
push eax
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push 0x80
push 4
push edi
push 2
push 0x40000000
push 0x414070
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x404bf4
push 2
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov ax, word [0x414950]
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 + 0x78]
push eax
call fcn.00406cb8
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, 0x4108f0
lea eax, [ebp - 0x114]
push ebx
push eax
call edi
push dword [esi + 0x90]
lea eax, [ebp - 0x114]
push eax
call edi
lea eax, [ebp - 0x114]
push ebx
push eax
call edi
push dword [esi + 0x80]
lea eax, [ebp - 0x114]
push eax
call edi
lea eax, [ebp - 0x114]
push 0x4108ec
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 + 0x80]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Disconnected
push 0x3f0
push dword [esi + 0x48]
call ebx
lea eax, [ebp - 0x18]
push eax
push 1
pop edi
push edi
push dword [esi + 0x48]
call ebx
push str.Internet_Explorer_Netscape_
push 0x402fde
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esi + 0x2c], edi
pop edi
pop esi
pop ebx
leave
ret 4