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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 0x2088c]
xor ebx, ebx
cmp ebp, ebx
push edi
je 0x4d89e7
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0x30]
sub edx, 0x50
add ecx, 0x50
cmp dword [esi + 0x98], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ecx
je 0x4d8793
add eax, 0x50
sub edi, 0x50
jmp 0x4d879c
add eax, 0x78
sub edi, 0xc8
mov ecx, dword [0x912e94]
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edi
call fcn.004668b0
cmp eax, ebx
je 0x4d87b9
lea ecx, [eax - 0x18]
jmp 0x4d87bb
xor ecx, ecx
push 0xffffffffffffffff
lea edx, [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [ecx]
push edx
call dword [eax + 0x148]
mov ecx, dword [esi + 0x118]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00701440
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add ebp, 0xffffffd8
cmp eax, dword [esi + 0x24]
mov ebx, eax
jl 0x4d881a
cmp eax, dword [esi + 0x2c]
jg 0x4d881a
cmp ebp, dword [esi + 0x28]
jl 0x4d881a
cmp ebp, dword [esi + 0x30]
jg 0x4d881a
movzx ecx, byte [esi + 0x20890]
mov edx, dword [0x914298]
mov edi, dword [edx + ecx*4 + 0xe6bc]
jmp 0x4d8853
movzx ecx, byte [esi + 0x20890]
mov edx, dword [0x914298]
mov edi, dword [edx + ecx*4 + 0xe6b4]
lea ecx, [esp + 0x24]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
mov dword [ecx + 4], edx
call fcn.004d86c0
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
add esp, 0x10
cmp dword [esi + 0x2087c], edi
je 0x4d891d
mov edx, dword [edi]
push 0
push 0x85c3e8
push 0x85b5a8
push 0
mov ecx, edi
call dword [edx + 0x18]
push eax
call fcn.0071f44c
mov ecx, dword [esi + 0x20878]
add esp, 0x14
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x4d88d6
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x20878]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x20880]
mov edx, dword [esi + 0x20884]
lea eax, [ecx + eax - 1]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
lea edx, [edx + ecx - 1]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x44], edx
call dword [eax + 0x178]
mov edx, dword [esi + 0x20878]
push edx
call fcn.0043a1a0
mov eax, dword [esp + 0x18]
add dword [esi + 0x20888], 1
mov edx, dword [esi]
add esp, 4
push 0x96
mov dword [esi + 0x20878], eax
mov eax, dword [esi + 0x20888]
push 0
push eax
push 0x4620
lea eax, [esi + 8]
push eax
mov ecx, esi
mov dword [esi + 0x2087c], edi
call dword [edx + 0xf0]
mov eax, ebp
sub eax, dword [edi + 0x20]
mov ecx, ebx
sub ecx, dword [edi + 0x1c]
mov dword [esi + 0x20884], eax
mov dword [esi + 0x20880], ecx
mov eax, dword [esi + 0x20878]
mov ecx, dword [eax + 8]
cmp ecx, 1
jle 0x4d89a9
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x30]
push edx
push 0
push 0
push ecx
mov ecx, dword [esp + 0x38]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [esp + 0x34]
add eax, edx
cdq
sub eax, edx
sub esp, 8
mov edi, esp
sar eax, 1
mov dword [edi], eax
sub esp, 8
sar ecx, 1
mov eax, esp
mov dword [edi + 4], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebp
call fcn.005de370
mov ecx, dword [esi + 0x20878]
mov edi, dword [ecx]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
add esp, 0x10
push edx
call fcn.005de0f0
mov ecx, dword [esi + 0x20878]
add esp, 0x10
push eax
call dword [edi + 0x4c]
mov ecx, dword [esi + 0x20878]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x20878]
mov edx, dword [ecx]
mov edi, eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x20880]
mov edx, dword [esi + 0x20884]
lea eax, [ecx + eax - 1]
mov dword [esp + 0x44], ecx
lea ecx, [edx + edi - 1]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x4d8a42
mov ecx, dword [esi + 0x20878]
cmp ecx, ebx
je 0x4d8a51
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x20878]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20880]
mov edx, dword [esi + 0x20884]
mov dword [esp + 0x44], ecx
lea ecx, [ecx + eax - 1]
mov eax, dword [esi + 0x20878]
mov dword [esp + 0x48], edx
lea edx, [edx + edi - 1]
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.0043a1a0
add esp, 4
mov dword [esi + 0x20878], ebx
mov dword [esi + 0x2087c], ebx
mov edx, dword [esi]
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call dword [edx + 0x178]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret