Function at 0x4a0ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.00484cb0
dec eax
cmp eax, 9
ja case.default.0x4a0f16
jmp dword [eax*4 + 0x4a1418]
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
jle case.default.0x4a0f16
mov ebx, dword [ebp + 8]
nop dword [eax]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00484c90
mov ecx, eax
call fcn.00484b20
push eax
push esi
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.00484c70
mov ecx, eax
call fcn.00484a50
inc esi
cmp esi, edi
jl 0x4a0f30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
jle case.default.0x4a0f16
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00484c90
mov ecx, eax
call fcn.00484b40
push ecx
fstp dword [esp]
push esi
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.00484c70
mov ecx, eax
call fcn.00484a90
inc esi
cmp esi, edi
jl 0x4a0f78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00484cb0
mov ebx, dword [ebp + 0x10]
xor esi, esi
lea edi, [eax*4 - 0xc]
test ebx, ebx
jle case.default.0x4a0f16
nop
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x44]
push edi
push edi
push esi
push eax
call fcn.00484c90
mov ecx, eax
call fcn.00484ba0
mov ecx, dword [ebp + 8]
push eax
push esi
lea eax, [esp + 0x48]
push eax
call fcn.00484c70
mov ecx, eax
call fcn.00484bc0
inc esi
cmp esi, ebx
jl 0x4a0fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edi
call fcn.00484c50
xor esi, esi
test edi, edi
jle case.default.0x4a0f16
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x38]
push eax
push esi
lea eax, [esp + 0x4c]
push eax
call fcn.00484c90
mov ecx, eax
call fcn.00484b50
push eax
lea eax, [esp + 0x40]
mov ecx, ebx
push eax
call fcn.004a1ab0
mov ecx, dword [ebp + 8]
push eax
push esi
lea eax, [esp + 0x38]
push eax
call fcn.00484c70
mov ecx, eax
call fcn.00484ad0
lea ecx, [esp + 0x3c]
call fcn.00484690
lea ecx, [esp + 0x38]
call fcn.00484690
inc esi
cmp esi, edi
jl 0x4a1021
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edi
call fcn.00484c50
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00484cc0
lea ecx, [esp + 0x1c]
call fcn.00484ed0
mov esi, eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x14], esi
mov edx, esi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], inet_addr
test esi, esi
je 0x4a10fe
lea eax, [esi + esi*2]
mov ecx, 0x7d8950
shl eax, 3
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x7d8950]
call dword [eax + 0xc]
mov ecx, eax
mov eax, 0x2aaaaaab
imul dword [esp + 0x18]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
jmp 0x4a1100
xor ecx, ecx
test edx, edx
mov dword [esp + 0x7c], ecx
mov eax, connect
mov dword [esp + 0x80], esi
cmovne eax, edx
mov dword [esp + 0x84], eax
mov eax, esi
test eax, eax
jle 0x4a116e
add ecx, 8
mov edx, eax
lea eax, [ecx - 8]
test eax, eax
je 0x4a1157
mov dword [ecx - 8], 0
mov dword [ecx - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
add ecx, 0x18
sub edx, 1
jne 0x4a1127
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
mov edx, eax
lea eax, [esi + esi*2]
sub edx, esi
test edx, edx
jle 0x4a11b8
lea ecx, [ecx + eax*8]
add ecx, 8
nop
lea eax, [ecx - 8]
test eax, eax
je 0x4a11b0
mov dword [ecx - 8], 0
mov dword [ecx - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
add ecx, 0x18
sub edx, 1
jne 0x4a1180
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x84], esi
call fcn.00484f00
test esi, esi
jle 0x4a1374
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop
mov esi, dword [esp + 0x7c]
mov eax, dword [esi + ecx + 8]
test al, 0x30
je 0x4a12e3
push dword [esi + ecx]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.00484ce0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push dword [esi + eax]
lea eax, [esp + 0x2c]
push eax
call fcn.00484ce0
xor ebx, ebx
mov dword [esp + 0x24], ebx
test edi, edi
jle 0x4a12c8
lea eax, [esp + 0x20]
push eax
push ebx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x38]
call fcn.00484c70
mov ecx, eax
call fcn.00484b70
lea eax, [esp + 0x18]
push eax
push ebx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x34]
call fcn.00484c70
mov ecx, eax
call fcn.00484b70
lea ecx, [esp + 0x18]
call fcn.00484c30
xor edi, edi
mov dword [esp + 0x44], eax
test eax, eax
jle 0x4a12a8
mov ebx, eax
nop dword [eax]
push edi
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x28]
call fcn.00484c70
mov esi, eax
lea ecx, [esp + 0x18]
push edi
lea eax, [esp + 0x68]
push eax
call fcn.00484c70
mov ecx, dword [esp + 0x30]
push eax
push dword [esi + 4]
push dword [esi]
call fcn.004a1be0
inc edi
cmp edi, ebx
jl 0x4a1270
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
call fcn.00484c00
lea ecx, [esp + 0x20]
call fcn.00484c00
inc ebx
mov dword [esp + 0x24], ebx
cmp ebx, dword [ebp + 0x10]
jl 0x4a1222
lea ecx, [esp + 0x28]
call fcn.00484c00
lea ecx, [esp + 0x2c]
call fcn.00484c00
mov ebx, dword [esp + 0x30]
jmp 0x4a135b
test eax, eax
je 0x4a135f
push dword [esi + ecx]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
call fcn.00484ce0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push dword [esi + eax]
lea eax, [esp + 0x3c]
push eax
call fcn.00484ce0
xor edi, edi
cmp dword [ebp + 0x10], edi
jle 0x4a1349
push edi
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x44]
call fcn.00484c70
mov esi, eax
lea ecx, [esp + 0x38]
push edi
lea eax, [esp + 0x78]
push eax
call fcn.00484c70
push eax
push dword [esi + 4]
mov ecx, ebx
push dword [esi]
call fcn.004a1be0
inc edi
cmp edi, dword [ebp + 0x10]
jl 0x4a1316
lea ecx, [esp + 0x38]
call fcn.00484c00
lea ecx, [esp + 0x3c]
call fcn.00484c00
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 0x10]
add ecx, 0x18
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], ecx
jne 0x4a11e0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x80], 0
test eax, eax
js 0x4a13aa
and eax, 0x3fffffff
mov ecx, 0x7d8950
lea eax, [eax + eax*2]
shl eax, 3
push eax
mov eax, dword [0x7d8950]
push dword [esp + 0x80]
call dword [eax + 0x10]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x84], inet_addr
call fcn.00484dd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
jle case.default.0x4a0f16
mov ebx, dword [ebp + 8]
nop dword [eax + eax]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x74]
push esi
push eax
call fcn.00484c90
mov ecx, eax
call fcn.00484b90
push eax
push esi
lea eax, [esp + 0x74]
mov ecx, ebx
push eax
call fcn.00484c70
mov ecx, eax
call fcn.00484af0
inc esi
cmp esi, edi
jl 0x4a13e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc