Function at 0x483610
Capabilities:
Enumerate pe sections
Resolve dns

Disassembly:
sub esp, 0x804
xor eax, eax
push ebp
mov ebp, dword [esp + 0x810]
mov ecx, ebp
push esi
mov esi, dword [esp + 0x810]
push edi
mov dword [ecx], eax
mov edi, esi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x15
jne 0x483812
cmp byte [esi + 8], 0x2e
jne 0x483812
mov word [ebp], 6
mov word [ebp + 0xc], 0
mov dl, byte [esi]
mov al, byte [esi + 1]
lea ecx, [esp + 0xc]
mov byte [esp + 0x10], dl
push ecx
lea edx, [esp + 0x14]
push 0x5566fc
push edx
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], al
call fcn.0051ad0c
mov al, byte [esp + 0x18]
mov byte [ebp + 2], al
mov cl, byte [esi + 2]
mov dl, byte [esi + 3]
lea eax, [esp + 0x18]
mov byte [esp + 0x1c], cl
push eax
lea ecx, [esp + 0x20]
push 0x5566fc
push ecx
mov byte [esp + 0x29], dl
call fcn.0051ad0c
mov dl, byte [esp + 0x24]
mov byte [ebp + 3], dl
mov al, byte [esi + 4]
mov cl, byte [esi + 5]
lea edx, [esp + 0x24]
mov byte [esp + 0x28], al
push edx
lea eax, [esp + 0x2c]
push 0x5566fc
push eax
mov byte [esp + 0x35], cl
call fcn.0051ad0c
mov cl, byte [esp + 0x30]
mov byte [ebp + 4], cl
mov dl, byte [esi + 6]
mov al, byte [esi + 7]
lea ecx, [esp + 0x30]
mov byte [esp + 0x34], dl
push ecx
lea edx, [esp + 0x38]
push 0x5566fc
push edx
mov byte [esp + 0x41], al
call fcn.0051ad0c
mov al, byte [esp + 0x3c]
mov byte [ebp + 5], al
mov cl, byte [esi + 9]
mov dl, byte [esi + 0xa]
lea eax, [esp + 0x3c]
mov byte [esp + 0x40], cl
push eax
lea ecx, [esp + 0x44]
push 0x5566fc
push ecx
mov byte [esp + 0x4d], dl
call fcn.0051ad0c
mov dl, byte [esp + 0x48]
mov byte [ebp + 6], dl
mov al, byte [esi + 0xb]
mov cl, byte [esi + 0xc]
lea edx, [esp + 0x48]
mov byte [esp + 0x4c], al
push edx
lea eax, [esp + 0x50]
push 0x5566fc
push eax
mov byte [esp + 0x59], cl
call fcn.0051ad0c
mov cl, byte [esp + 0x54]
add esp, 0x48
mov byte [ebp + 7], cl
mov dl, byte [esi + 0xd]
mov al, byte [esi + 0xe]
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], al
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push 0x5566fc
push edx
call fcn.0051ad0c
mov al, byte [esp + 0x18]
mov byte [ebp + 8], al
mov cl, byte [esi + 0xf]
mov dl, byte [esi + 0x10]
lea eax, [esp + 0x18]
mov byte [esp + 0x1c], cl
push eax
lea ecx, [esp + 0x20]
push 0x5566fc
push ecx
mov byte [esp + 0x29], dl
call fcn.0051ad0c
mov dl, byte [esp + 0x24]
mov byte [ebp + 9], dl
mov al, byte [esi + 0x11]
mov cl, byte [esi + 0x12]
lea edx, [esp + 0x24]
mov byte [esp + 0x28], al
push edx
lea eax, [esp + 0x2c]
push 0x5566fc
push eax
mov byte [esp + 0x35], cl
call fcn.0051ad0c
mov cl, byte [esp + 0x30]
mov byte [ebp + 0xa], cl
mov dl, byte [esi + 0x13]
mov al, byte [esi + 0x14]
lea ecx, [esp + 0x30]
mov byte [esp + 0x34], dl
push ecx
lea edx, [esp + 0x38]
push 0x5566fc
push edx
mov byte [esp + 0x41], al
call fcn.0051ad0c
mov al, byte [esp + 0x3c]
add esp, 0x30
mov byte [ebp + 0xb], al
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x804
ret
mov word [ebp], 2
mov word [ebp + 2], 0
mov al, byte [esi]
cmp al, 0x30
jl 0x483840
cmp al, 0x39
jg 0x483840
push esi
call sub.WSOCK32.DLL_inet_addr
pop edi
mov dword [ebp + 4], eax
pop esi
mov eax, 1
pop ebp
add esp, 0x804
ret
push esi
call sub.WSOCK32.DLL_gethostbyname
test eax, eax
jne 0x483854
pop edi
pop esi
pop ebp
add esp, 0x804
ret
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp + 4], eax
mov eax, 1
pop ebp
add esp, 0x804
ret