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

Disassembly:
sub esp, 0x404
xor eax, eax
push ebp
mov ebp, dword [esp + 0x410]
mov ecx, ebp
push esi
mov esi, dword [esp + 0x410]
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 0x443ea2
cmp byte [esi + 8], 0x2e
jne 0x443ea2
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 0x4e7c88
push edx
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], al
call fcn.004c3813
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 0x4e7c88
push ecx
mov byte [esp + 0x29], dl
call fcn.004c3813
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 0x4e7c88
push eax
mov byte [esp + 0x35], cl
call fcn.004c3813
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 0x4e7c88
push edx
mov byte [esp + 0x41], al
call fcn.004c3813
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 0x4e7c88
push ecx
mov byte [esp + 0x4d], dl
call fcn.004c3813
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 0x4e7c88
push eax
mov byte [esp + 0x59], cl
call fcn.004c3813
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 0x4e7c88
push edx
call fcn.004c3813
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 0x4e7c88
push ecx
mov byte [esp + 0x29], dl
call fcn.004c3813
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 0x4e7c88
push eax
mov byte [esp + 0x35], cl
call fcn.004c3813
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 0x4e7c88
push edx
mov byte [esp + 0x41], al
call fcn.004c3813
mov al, byte [esp + 0x3c]
add esp, 0x30
mov byte [ebp + 0xb], al
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x404
ret
mov word [ebp], 2
mov word [ebp + 2], 0
mov al, byte [esi]
cmp al, 0x30
jl 0x443ed0
cmp al, 0x39
jg 0x443ed0
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 0x443ee4
pop edi
pop esi
pop ebp
add esp, 0x404
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, 0x404
ret