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

Disassembly:
push 0xffffffffffffffff
push 0x4c5728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
mov ebp, dword [esi + 0x60]
push edi
add ebp, eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], ebp
jne 0x48ea7a
mov eax, dword [esi + 0x70]
cmp eax, edi
jne 0x48ea5d
mov dword [esp + 0x10], edi
jmp 0x48ea76
mov ecx, dword [esi + 0x74]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x50]
call fcn.00495fb0
mov ebx, dword [esi + 0x60]
cmp ebx, ebp
mov dword [esp + 0x80], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x14], ebx
jge 0x48ec88
lea edi, [ebx + ebx*2]
shl edi, 2
mov eax, dword [esi + 0x70]
test eax, eax
je 0x48eacf
mov ecx, dword [esi + 0x74]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x48ec86
mov eax, dword [esi + 0x70]
lea ecx, [edi + eax]
call fcn.00483070
cmp word [eax], 0x9a81
jne 0x48eaf3
inc ebp
mov dword [esp + 0x10], ebp
jmp 0x48ec76
mov eax, dword [esi + 0x70]
push 1
lea ecx, [edi + eax]
push 0x20
lea ebx, [edi + eax]
call fcn.00483070
mov eax, dword [eax + 0x10]
push eax
mov ecx, ebx
call fcn.00483070
mov ecx, dword [eax + 0xc]
push ecx
lea ecx, [esp + 0x60]
call fcn.00495d60
test eax, eax
lea ecx, [esp + 0x50]
jne 0x48ec96
push eax
call fcn.00495a50
mov eax, dword [esi + 0x34]
dec eax
je 0x48eb91
dec eax
je 0x48eb68
dec eax
jne 0x48ecbe
mov eax, dword [esi + 0x70]
lea ecx, [edi + eax]
call fcn.00483070
mov cl, byte [esi + 0x30]
test cl, cl
jne 0x48eb62
push eax
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.0048e240
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
jmp 0x48ebb8
mov eax, dword [esi + 0x70]
lea ecx, [edi + eax]
call fcn.00483070
mov cl, byte [esi + 0x30]
test cl, cl
jne 0x48eb8b
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.0048de30
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
jmp 0x48ebb8
mov eax, dword [esi + 0x70]
lea ecx, [edi + eax]
call fcn.00483070
mov cl, byte [esi + 0x30]
test cl, cl
jne 0x48ebb4
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.0048dcf0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x48ecbe
mov eax, dword [esi + 0x70]
mov ebx, dword [esi + 0x58]
mov ebp, dword [esi + 0x5c]
lea ecx, [edi + eax]
call fcn.00483070
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
add eax, 4
add ecx, ebp
mov dword [esp + 0x28], ecx
push 0
lea ecx, [esp + 0x40]
add edx, ebx
lea eax, [esp + 0x28]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
call fcn.00495b90
mov ecx, dword [esp + 0x90]
push eax
push 0xa
call fcn.0046f740
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x48ec6e
mov eax, dword [esi + 0x70]
lea ecx, [edi + eax]
lea ebp, [edi + eax]
call fcn.00483070
mov ebx, dword [eax + 0x10]
mov ecx, ebp
call fcn.00483070
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x44], ebx
call dword [0x4c72b0]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x90]
push eax
push eax
call dword [0x4c72b4]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
inc ebx
add edi, 0xc
cmp ebx, ebp
mov dword [esp + 0x14], ebx
jl 0x48eab3
xor edi, edi
mov dword [esi + 0x60], ebp
mov eax, dword [esi + 0x70]
cmp eax, edi
jne 0x48ecec
xor eax, eax
jmp 0x48ed01
mov dword [esp + 0x80], 0xffffffff
call fcn.00495c50
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
lea ecx, [esp + 0x50]
mov dword [esp + 0x80], 0xffffffff
call fcn.00495c50
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
mov esi, dword [esi + 0x74]
sub esi, eax
mov eax, 0x2aaaaaab
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ecx, ecx
cmp ebp, eax
setl cl
mov dword [esp + 0x80], 0xffffffff
mov esi, ecx
lea ecx, [esp + 0x50]
call fcn.00495c50
mov ecx, dword [esp + 0x78]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8