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

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 0x4836c2
cmp byte [esi + 8], 0x2e
jne 0x4836c2
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 0x55668c
push edx
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], al
call fcn.0051ac6c
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 0x55668c
push ecx
mov byte [esp + 0x29], dl
call fcn.0051ac6c
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 0x55668c
push eax
mov byte [esp + 0x35], cl
call fcn.0051ac6c
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 0x55668c
push edx
mov byte [esp + 0x41], al
call fcn.0051ac6c
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 0x55668c
push ecx
mov byte [esp + 0x4d], dl
call fcn.0051ac6c
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 0x55668c
push eax
mov byte [esp + 0x59], cl
call fcn.0051ac6c
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 0x55668c
push edx
call fcn.0051ac6c
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 0x55668c
push ecx
mov byte [esp + 0x29], dl
call fcn.0051ac6c
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 0x55668c
push eax
mov byte [esp + 0x35], cl
call fcn.0051ac6c
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 0x55668c
push edx
mov byte [esp + 0x41], al
call fcn.0051ac6c
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 0x4836f1
cmp al, 0x39
jg 0x4836f1
push esi
call dword [sym.imp.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 dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
jne 0x483706
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