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

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x30]
test ebp, ebp
push esi
mov esi, ecx
je 0x48e9d8
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48e9d8
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x48e6f4
cmp eax, 0x61
je 0x48e6f4
cmp eax, 0x62
jne 0x48e9d8
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48e9d8
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
test eax, eax
jne 0x48e711
call fcn.00494e90
mov ecx, dword [esi + 0x94]
mov dword [esp + 0xc], eax
mov dword [esi], 1
mov eax, ebp
mov eax, dword [eax + 8]
cmp eax, ecx
je 0x48e739
test eax, eax
je 0x48e739
mov edx, dword [eax + 8]
test edx, edx
je 0x48e739
inc dword [esi]
jmp 0x48e723
push edi
mov edi, dword [esi]
cmp edi, 0x20
jle 0x48e74c
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8
dec edi
push ebx
js 0x48e78a
lea ebx, [esi + edi*4 + 4]
mov al, byte [esi + 0x118]
test al, al
je 0x48e776
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.0046c790
mov dword [ebx + 0x94], eax
jmp 0x48e77b
mov ecx, dword [ebp + 0x1c]
mov dword [ebx], ecx
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x48e78a
dec edi
sub ebx, 4
test edi, edi
jge 0x48e754
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x10]
xor edx, edx
test eax, eax
je 0x48e9cc
jmp 0x48e7a0
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x48e7ae
cmp dword [ecx + 0x78], 4
jne 0x48e7ae
inc edx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x48e7a0
test edx, edx
je 0x48e9cc
shl edx, 4
push edx
call fcn.0043f000
add esp, 4
test eax, eax
mov dword [esi + 0x8c], eax
jne 0x48e7df
pop ebx
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8
mov ebp, dword [edi + 0x10]
test ebp, ebp
je 0x48e91c
lea ebx, [ebx]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48e911
cmp dword [eax + 0x78], 4
jne 0x48e911
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push closesocket
push 0
push ebp
mov dword [esp + 0x30], 0
call fcn.004818c0
add esp, 0x18
test al, al
je 0x48e7d3
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
push ecx
push edi
push edx
lea ecx, [esp + 0x28]
call fcn.0043b2f0
push edi
call fcn.0043f020
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x90]
mov ebx, dword [eax + 0x10]
lea edi, [esi + 0x90]
add esp, 4
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0043b870
mov eax, dword [esp + 0x20]
cmp dword [edi], eax
jne 0x48e883
test eax, eax
jne 0x48e883
mov dword [edi], eax
jmp 0x48e88d
push eax
push edi
call fcn.005bf920
add esp, 8
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
add edx, ebx
shl eax, 4
mov dword [esi + 0x84], edx
mov dword [eax + ecx], ebx
mov al, byte [esi + 0x118]
test al, al
je 0x48e8dc
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.0046c790
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
shl ecx, 4
mov dword [ecx + edx + 0xc], eax
jmp 0x48e8f2
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov edx, dword [ebp + 0x1c]
shl eax, 4
mov dword [eax + ecx + 4], edx
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0x88]
mov eax, dword [eax + 0x24]
mov edx, dword [esi + 0x8c]
shl ecx, 4
mov dword [ecx + edx + 8], eax
inc dword [esi + 0x88]
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x48e7f0
mov ecx, dword [esi + 0x88]
dec ecx
mov dword [esp + 0x1c], ecx
js 0x48e9bb
lea ecx, [ecx]
cmp ecx, 1
jl 0x48e9b0
mov edx, 0x10
mov dword [esp + 0x20], ecx
mov edi, edi
mov eax, dword [esi + 0x8c]
mov edi, dword [eax + edx - 8]
mov ebx, dword [eax + edx + 8]
add eax, edx
cmp edi, ebx
jle 0x48e9a2
lea ecx, [eax - 0x10]
mov ebp, ecx
mov edi, dword [ebp]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x30], ebp
mov ebp, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [esp + 0x28]
add ecx, edx
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add edx, 0x10
dec eax
mov dword [esp + 0x20], eax
jne 0x48e940
dec ecx
mov dword [esp + 0x1c], ecx
jns 0x48e930
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.0048cfa0
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x24
ret 8
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8