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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x611678
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
lea ecx, [esp + 0x64]
call fcn.004f2bb0
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
xor ebp, ebp
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x8c], ebp
call fcn.0054f1d0
mov eax, dword [esp + 0x74]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], ebp
mov dword [eax], eax
mov eax, dword [esp + 0x74]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ecx, edx
xor ebx, ebx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x28], ebx
je 0x4f477d
mov dword [esp + 0x20], ebp
jmp 0x4f4692
xor ebp, ebp
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4f46b2
call fcn.005c5aaf
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x28]
mov edi, dword [esi + 0x10]
add edi, dword [esp + 0x20]
sar ecx, 2
mov dword [esp + 0x30], edi
cmp ebx, ecx
jb 0x4f46cf
call fcn.005c5aaf
mov edx, dword [esi + 0x28]
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ebp
jmp 0x4f46e4
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov al, byte [edi + ecx + 0x10]
test al, al
je 0x4f4750
mov ebx, dword [esi + 0x158]
mov edi, dword [esi + 0x140]
movzx edx, al
lea eax, [esp + 0x38]
mov dword [esp + 0x38], edx
lea ecx, [esi + 0x140]
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.0044e880
mov ebp, eax
test edi, edi
je 0x4f4723
cmp edi, dword [ebp]
je 0x4f4728
call fcn.005c5aaf
cmp ebx, dword [ebp + 4]
jne 0x4f473d
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 8
mov dword [esp + 0x1c], eax
jl 0x4f46e0
jmp 0x4f4750
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x64]
call fcn.005083e0
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x28]
add dword [esp + 0x20], 0x30
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [esp + 0x28], ebx
cmp ebx, eax
jb 0x4f4690
mov ebp, dword [esi + 0x44]
cmp dword [esi + 0x40], ebp
lea edi, [esi + 0x34]
jbe 0x4f478d
call fcn.005c5aaf
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x40], ecx
cmp ebx, dword [edi + 0x10]
jbe 0x4f47a0
call fcn.005c5aaf
mov edx, dword [esp + 0x40]
mov eax, dword [edi]
push ebp
push edx
push ebx
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.00458c00
mov edi, dword [esi + 0x5c]
cmp dword [esi + 0x58], edi
lea ebx, [esi + 0x4c]
jbe 0x4f47c6
call fcn.005c5aaf
mov ebp, dword [ebx + 0xc]
mov ecx, dword [ebx]
mov dword [esp + 0x40], ecx
cmp ebp, dword [ebx + 0x10]
jbe 0x4f47d9
call fcn.005c5aaf
mov edx, dword [esp + 0x40]
mov eax, dword [ebx]
push edi
push edx
push ebp
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, ebx
call fcn.00458c00
mov edi, dword [esi + 0x74]
cmp dword [esi + 0x70], edi
lea ebx, [esi + 0x64]
jbe 0x4f47ff
call fcn.005c5aaf
mov ebp, dword [ebx + 0xc]
mov ecx, dword [ebx]
mov dword [esp + 0x40], ecx
cmp ebp, dword [ebx + 0x10]
jbe 0x4f4812
call fcn.005c5aaf
mov edx, dword [esp + 0x40]
mov eax, dword [ebx]
push edi
push edx
push ebp
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, ebx
call fcn.00458c00
mov edi, dword [esi + 0x28]
cmp edi, dword [esi + 0x2c]
jbe 0x4f4835
call fcn.005c5aaf
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x38], ebx
mov ebp, edi
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x3c], ebp
cmp dword [esi + 0x28], edi
jbe 0x4f484f
call fcn.005c5aaf
mov eax, dword [esi + 0x1c]
test ebx, ebx
je 0x4f485a
cmp ebx, eax
je 0x4f485f
call fcn.005c5aaf
cmp ebp, edi
je 0x4f49b6
test ebx, ebx
jne 0x4f48e1
call fcn.005c5aaf
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4f487c
call fcn.005c5aaf
cmp dword [esi + 0x13c], 0
mov edi, dword [ebp]
mov dword [esp + 0x40], edi
je 0x4f48c8
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x5c]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x64]
call fcn.005081b0
mov ebp, eax
test ebx, ebx
je 0x4f48b6
cmp ebx, dword [ebp]
je 0x4f48bb
call fcn.005c5aaf
mov ecx, dword [esp + 0x34]
cmp ecx, dword [ebp + 4]
je 0x4f498d
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x4f4927
mov ecx, dword [esi + 0x40]
lea ebx, [esi + 0x34]
lea ebp, [edi + 0xc]
test ecx, ecx
jne 0x4f48e5
xor eax, eax
jmp 0x4f48ed
mov eax, dword [ebx]
jmp 0x4f4872
mov eax, dword [ebx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [ebx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x4f490b
mov eax, dword [ebp]
mov dword [edi], eax
add edi, 4
mov dword [ebx + 0x10], edi
jmp 0x4f498d
cmp ecx, edi
jbe 0x4f4914
call fcn.005c5aaf
mov eax, dword [ebx]
push ebp
push edi
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.0050b580
jmp 0x4f498d
cmp eax, 2
jne 0x4f497c
mov ecx, dword [esi + 0x58]
lea ebx, [esi + 0x4c]
lea ebp, [edi + 0x14]
test ecx, ecx
jne 0x4f493d
xor eax, eax
jmp 0x4f4945
mov eax, dword [ebx + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [ebx + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x4f4960
mov eax, dword [ebp]
mov dword [edi], eax
add edi, 4
mov dword [ebx + 0x10], edi
jmp 0x4f498d
cmp ecx, edi
jbe 0x4f4969
call fcn.005c5aaf
mov eax, dword [ebx]
push ebp
push edi
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.0050b580
jmp 0x4f498d
cmp eax, 5
jne 0x4f498d
add edi, 0x24
push edi
lea ecx, [esi + 0x64]
call fcn.00573bb0
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x4f49b2
call fcn.005c5aaf
xor eax, eax
mov ebp, dword [esp + 0x3c]
cmp ebp, dword [eax + 0x10]
jb 0x4f49aa
call fcn.005c5aaf
add ebp, 4
jmp 0x4f483e
mov eax, dword [ebx]
jmp 0x4f499c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x88], 0xffffffff
call fcn.00550850
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret