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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
mov eax, dword [0x5ff004]
xor eax, esp
mov dword [esp + 0x178], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x1c], eax
push esi
mov ebx, dword [eax + 8]
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
lea eax, [ebx - 1]
mov dword [esp + 0x2c], ebx
cmp eax, 0xfe
ja 0x49016f
push 0x1c
push 1
call fcn.0050f2a0
mov edi, eax
add esp, 8
test edi, edi
je 0x49016f
push 4
push ebx
mov dword [edi], ebx
call fcn.0050f2a0
add esp, 8
mov dword [edi + 4], eax
test eax, eax
je 0x49015b
xor esi, esi
mov dword [esp + 0x20], esi
test ebx, ebx
jle 0x490129
mov eax, dword [ebp + 0x10]
sub eax, 3
je 0x48ff04
sub eax, 1
jne 0x490134
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 0x5ef914
push ebx
push esi
push dword [esp + 0x24]
call fcn.0048f500
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x490134
push ebx
call fcn.00480d50
mov ecx, dword [edi + 4]
add esp, 4
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 4]
cmp dword [eax + esi*4], 0
jne 0x49010f
mov eax, dword [ebx + 0x14]
push ebx
call eax
add esp, 4
jmp 0x490134
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x78], 0x48f410
test ebx, ebx
jne 0x48ffa8
xor eax, eax
jmp 0x48ffea
push 0x20
push 1
call fcn.0050f2a0
add esp, 8
test eax, eax
je 0x48ffea
mov dword [eax], 0x406f10
mov dword [eax + 4], fcn.00406f30
mov dword [eax + 8], 0x406f50
mov dword [eax + 0xc], 0x406df0
mov dword [eax + 0x10], 0x406f70
mov dword [eax + 0x14], fcn.00406f90
mov ecx, dword [ebx + 0x18]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebx
lea edx, [esp + 0x30]
mov ecx, eax
call fcn.004e4b10
mov ebx, eax
test ebx, ebx
je 0x490134
mov eax, dword [ebx + 4]
push ebx
call eax
xor edx, edx
mov dword [esp + 0x14], eax
add esp, 4
lea ecx, [edx + 1]
call fcn.00405ab0
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x48fef6
mov edx, dword [esp + 0x24]
push 0
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [edx]
mov dword [ecx], eax
lea ecx, [esp + 0x84]
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
push dword [eax + 4]
push dword [eax + 8]
push dword [esp + 0x1c]
call fcn.004e0880
push 0
push 0
push dword [esp + 0x28]
cdq
mov ecx, ebx
push 0
push 0
push edx
push eax
lea edx, [esp + 0xac]
call fcn.00409810
add esp, 0x2c
mov dword [esp + 0x28], eax
test eax, eax
jne 0x490088
xor ecx, ecx
jmp 0x49009f
xor edx, edx
mov dword [eax + 0xe4], 1
mov ecx, eax
call fcn.0040a600
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x1a4], ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x1a4], 0
je 0x48fef6
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [eax + 0xc], 0x83
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x40], ecx
mov ecx, ebx
mov eax, dword [edi + 4]
mov esi, dword [eax + esi*4]
push dword [esi + 8]
call fcn.004e5a80
add esp, 4
mov edx, ebx
mov ecx, esi
push 0
push 0
push eax
push dword [esp + 0x1c]
push 0
call fcn.004e5d80
mov esi, dword [esp + 0x34]
add esp, 0x14
mov eax, dword [ebx + 0x14]
push ebx
call eax
mov ebx, dword [esp + 0x30]
inc esi
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebx
jl 0x48fea4
mov ecx, edi
call fcn.0040c860
test eax, eax
jne 0x490186
cmp dword [edi + 4], 0
je 0x49015b
xor esi, esi
cmp dword [edi], esi
jle 0x490150
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + esi*4]
call fcn.00405c10
inc esi
cmp esi, dword [edi]
jl 0x490140
push dword [edi + 4]
call fcn.005092c3
add esp, 4
push dword [edi + 8]
call fcn.005092c3
add esp, 4
push edi
call fcn.005092c3
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00502eb4
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, edi
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00502eb4
mov esp, ebp
pop ebp
ret