Function at 0x48e350
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 0x48e668
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48e668
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x48e384
cmp eax, 0x61
je 0x48e384
cmp eax, 0x62
jne 0x48e668
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48e668
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
test eax, eax
jne 0x48e3a1
call fcn.00494a20
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 0x48e3c9
test eax, eax
je 0x48e3c9
mov edx, dword [eax + 8]
test edx, edx
je 0x48e3c9
inc dword [esi]
jmp 0x48e3b3
push edi
mov edi, dword [esi]
cmp edi, 0x20
jle 0x48e3dc
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8
dec edi
push ebx
js 0x48e41a
lea ebx, [esi + edi*4 + 4]
mov al, byte [esi + 0x118]
test al, al
je 0x48e406
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.0046c760
mov dword [ebx + 0x94], eax
jmp 0x48e40b
mov ecx, dword [ebp + 0x1c]
mov dword [ebx], ecx
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x48e41a
dec edi
sub ebx, 4
test edi, edi
jge 0x48e3e4
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x10]
xor edx, edx
test eax, eax
je 0x48e65c
jmp 0x48e430
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x48e43e
cmp dword [ecx + 0x78], 4
jne 0x48e43e
inc edx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x48e430
test edx, edx
je 0x48e65c
shl edx, 4
push edx
call fcn.0043f080
add esp, 4
test eax, eax
mov dword [esi + 0x8c], eax
jne 0x48e46f
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 0x48e5ac
lea ebx, [ebx]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48e5a1
cmp dword [eax + 0x78], 4
jne 0x48e5a1
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.00481760
add esp, 0x18
test al, al
je 0x48e463
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.0043b370
push edi
call fcn.0043f0a0
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.0043b8f0
mov eax, dword [esp + 0x20]
cmp dword [edi], eax
jne 0x48e513
test eax, eax
jne 0x48e513
mov dword [edi], eax
jmp 0x48e51d
push eax
push edi
call fcn.005bf350
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 0x48e56c
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.0046c760
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
shl ecx, 4
mov dword [ecx + edx + 0xc], eax
jmp 0x48e582
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 0x48e480
mov ecx, dword [esi + 0x88]
dec ecx
mov dword [esp + 0x1c], ecx
js 0x48e64b
lea ecx, [ecx]
cmp ecx, 1
jl 0x48e640
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 0x48e632
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 0x48e5d0
dec ecx
mov dword [esp + 0x1c], ecx
jns 0x48e5c0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.0048cc80
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