Function at 0x447ed0
Capabilities:
Enumerate pe sections
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x404
push ebp
mov ebp, dword [esp + 0x410]
xor eax, eax
mov ecx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push esi
mov esi, dword [esp + 0x410]
mov dword [ecx + 0xc], eax
or ecx, 0xffffffff
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x15
jne 0x4480d2
cmp byte [esi + 8], 0x2e
jne 0x4480d2
mov word [ebp], 6
mov word [ebp + 0xc], 0
mov dl, byte [esi]
mov al, byte [esi + 1]
lea ecx, [esp + 0xc]
push ecx
mov byte [esp + 0x14], dl
lea edx, [esp + 0x14]
push 0x4cac40
push edx
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], al
call fcn.004af853
mov al, byte [esp + 0x18]
mov byte [ebp + 2], al
mov cl, byte [esi + 2]
mov dl, byte [esi + 3]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
push 0x4cac40
push ecx
mov byte [esp + 0x29], dl
call fcn.004af853
mov dl, byte [esp + 0x24]
mov byte [ebp + 3], dl
mov al, byte [esi + 4]
mov cl, byte [esi + 5]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x2c], al
lea eax, [esp + 0x2c]
push 0x4cac40
push eax
mov byte [esp + 0x35], cl
call fcn.004af853
mov cl, byte [esp + 0x30]
mov byte [ebp + 4], cl
mov dl, byte [esi + 6]
mov al, byte [esi + 7]
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x38], dl
lea edx, [esp + 0x38]
push 0x4cac40
push edx
mov byte [esp + 0x41], al
call fcn.004af853
mov al, byte [esp + 0x3c]
mov byte [ebp + 5], al
mov cl, byte [esi + 9]
mov dl, byte [esi + 0xa]
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
push 0x4cac40
push ecx
mov byte [esp + 0x4d], dl
call fcn.004af853
mov dl, byte [esp + 0x48]
mov byte [ebp + 6], dl
mov al, byte [esi + 0xb]
mov cl, byte [esi + 0xc]
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x50], al
lea eax, [esp + 0x50]
push 0x4cac40
push eax
mov byte [esp + 0x59], cl
call fcn.004af853
mov cl, byte [esp + 0x54]
mov byte [ebp + 7], cl
mov dl, byte [esi + 0xd]
mov al, byte [esi + 0xe]
add esp, 0x48
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], al
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push 0x4cac40
push edx
call fcn.004af853
mov al, byte [esp + 0x18]
mov byte [ebp + 8], al
mov cl, byte [esi + 0xf]
mov dl, byte [esi + 0x10]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
push 0x4cac40
push ecx
mov byte [esp + 0x29], dl
call fcn.004af853
mov dl, byte [esp + 0x24]
mov byte [ebp + 9], dl
mov al, byte [esi + 0x11]
mov cl, byte [esi + 0x12]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x2c], al
lea eax, [esp + 0x2c]
push 0x4cac40
push eax
mov byte [esp + 0x35], cl
call fcn.004af853
mov cl, byte [esp + 0x30]
mov byte [ebp + 0xa], cl
mov dl, byte [esi + 0x13]
mov al, byte [esi + 0x14]
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x38], dl
lea edx, [esp + 0x38]
push 0x4cac40
push edx
mov byte [esp + 0x41], al
call fcn.004af853
mov al, byte [esp + 0x3c]
add esp, 0x30
pop edi
mov byte [ebp + 0xb], al
pop esi
mov eax, 1
pop ebp
add esp, 0x404
ret
mov word [ebp], 2
mov word [ebp + 2], 0
mov al, byte [esi]
cmp al, 0x30
jl 0x448100
cmp al, 0x39
jg 0x448100
push esi
call sub.WSOCK32.dll_inet_addr
pop edi
mov dword [ebp + 4], eax
pop esi
mov eax, 1
pop ebp
add esp, 0x404
ret
push esi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x448114
pop edi
pop esi
pop ebp
add esp, 0x404
ret
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
pop edi
mov dword [ebp + 4], eax
pop esi
mov eax, 1
pop ebp
add esp, 0x404
ret