Function at 0x404915
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 0x404acc
push dword [esi + 0x8c]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push 1
test eax, eax
pop edi
je 0x40496c
push dword [esi + 0x8c]
push 0x3ed
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [0x4163c4]
push edi
push dword [esi + 0x8c]
push str.Prefix
call fcn.00402f04
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x416394]
imul eax, eax, 0x798
push edi
lea eax, [eax + ecx + 3]
mov ecx, dword [0x4163c4]
push eax
push str.Country
call fcn.00402f04
mov eax, dword [esi + 0x70]
mov ecx, dword [0x416390]
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 0x41112c
push eax
call ebx
mov eax, dword [esi + 0x70]
imul eax, eax, 0x112
add eax, dword [0x416390]
push eax
lea eax, [ebp - 0x12c]
push eax
call ebx
mov ecx, dword [0x4163c4]
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.00406e71
push edi
call fcn.0040713f
xor edi, edi
push eax
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
call fcn.00406f4d
add esp, 0xc
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x7c], eax
imul ecx, ecx, 0x798
mov edx, dword [0x416394]
mov ecx, dword [ecx + edx + 0x794]
cmp ecx, edi
mov dword [esi + 0x38], ecx
je 0x404aaa
add ecx, eax
mov dword [esi + 0x38], ecx
cmp byte [0x4166e9], 0x31
jne 0x404c31
push str.Internet_Explorer_Netscape_
push 0x402fde
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x404c31
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 0x404c31
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 0x4166f0
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x404beb
push 2
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov ax, word [0x416fd0]
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.00406e58
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, 0x4118f0
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 0x4118ec
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 0x411414
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