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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ecx + 0x14]
xor edi, edi
mov dword [ebp - 8], 0
mov eax, dword [ebx + 0x94]
div dword [ebx + 0x98]
or byte [ebx + 0x14], 4
mov ecx, dword [ecx + 0x18]
mov esi, eax
neg eax
lea edx, [ecx - 1]
and edx, eax
inc edx
mov dword [ebp - 0x18], edx
cmp ecx, dword [ebx + 0x18]
jbe 0x4f7247
sub ecx, edx
inc ecx
mov dword [ebp - 4], ecx
jmp 0x4f7260
mov ecx, dword [ebx + 0x18]
lea eax, [esi - 1]
add eax, edx
cmp eax, ecx
jbe 0x4f725b
sub ecx, edx
inc ecx
mov dword [ebp - 4], ecx
jmp 0x4f7260
mov ecx, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], edi
test ecx, ecx
jle 0x4f74b5
mov esi, edx
mov dword [ebp - 0x14], edx
cmp dword [ebp - 8], 0
jne 0x4f74b5
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 0x18]
je 0x4f7359
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4f7359
push esi
push eax
call fcn.005051e0
add esp, 8
test eax, eax
je 0x4f7356
mov eax, dword [ebx + 0xd4]
push 0
push esi
push dword [eax + 0x2c]
call dword [0x5ac248]
add esp, 0xc
test eax, eax
jne 0x4f72c4
mov dword [ebp - 0xc], eax
jmp 0x4f73de
mov ecx, dword [eax + 4]
mov edx, dword [ebx + 0xd4]
cmp dword [ecx], 0
jne 0x4f72e1
push eax
push esi
push edx
call fcn.004fa4b0
add esp, 0xc
mov ecx, eax
jmp 0x4f72e8
inc dword [edx + 0xc]
inc word [ecx + 0x1e]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x4f73de
movzx eax, word [ecx + 0x1c]
mov edx, 1
test al, 8
cmovne edi, edx
mov dword [ebp - 0x10], edi
test al, 0x20
je 0x4f7350
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov esi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.0048cab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [ebp - 0x14]
add esp, 0x10
mov edi, dword [ebp - 0x10]
jmp 0x4f73de
push ecx
jmp 0x4f73d6
mov ecx, dword [ebp - 4]
mov eax, dword [0x5ac2d0]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp esi, eax
je 0x4f73e1
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0xcc]
push esi
push ebx
call eax
mov ecx, eax
add esp, 0x10
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x4f73de
push dword [ebp - 0xc]
call fcn.004f84e0
mov edx, dword [ebp - 0xc]
add esp, 4
mov dword [ebp - 8], eax
mov ecx, 1
movzx eax, word [edx + 0x1c]
test al, 8
cmovne edi, ecx
mov dword [ebp - 0x10], edi
test al, 0x20
je 0x4f73d5
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
jmp 0x4f732c
push edx
call fcn.0051ff30
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
inc esi
inc eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jl 0x4f7270
cmp dword [ebp - 8], 0
jne 0x4f74b5
test edi, edi
je 0x4f74b5
mov esi, dword [ebp - 0x18]
lea esp, [esp]
mov eax, dword [ebx + 0xd4]
push 0
push esi
push dword [eax + 0x2c]
call dword [0x5ac248]
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4f74a7
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0xd4]
cmp dword [eax], 0
jne 0x4f7446
push ecx
push esi
push edx
call fcn.004fa4b0
add esp, 0xc
jmp 0x4f744d
inc dword [edx + 0xc]
inc word [eax + 0x1e]
test eax, eax
je 0x4f74a7
or word [eax + 0x1c], 8
test byte [eax + 0x1c], 0x20
je 0x4f749e
mov edx, dword [eax + 0x14]
dec dword [edx + 0x78]
mov ecx, dword [edx + 0x88]
mov dword [eax + 0x10], ecx
mov esi, dword [edx + 0x3c]
mov dword [edx + 0x88], eax
push dword [eax + 4]
mov ecx, dword [eax + 0x18]
mov eax, dword [edx + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.0048cab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [ebp - 0x18]
add esp, 0x10
jmp 0x4f74a7
push eax
call fcn.0051ff30
add esp, 4
inc esi
sub dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
jne 0x4f7410
and byte [ebx + 0x14], 0xfb
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret