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

Disassembly:
push 0xffffffffffffffff
push 0x5a3630
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
push 0xff
push 0xff
push 0xff
lea ecx, [esp + 0x4c]
mov byte [esi + 0x8870], 1
call fcn.00498b00
push 1
push 0x200
lea eax, [esp + 0x48]
push 0x320
push eax
call fcn.004d8b40
add esp, 0x10
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
mov dword [esp + 0x70], ebx
jne 0x4ff731
mov byte [esi + 0x8870], bl
mov esi, dword [esp + 0x44]
or edi, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x70], edi
je 0x4ffb4c
lea eax, [esi + 4]
jmp 0x4ffb2f
push ebx
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov byte [esp + 0x23], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], esp
je 0x4ff759
add dword [eax + 4], 1
mov byte [esp + 0x7c], 1
call fcn.0049d890
mov ecx, eax
mov byte [esp + 0x7c], 0
call fcn.0049cc00
fldz
test al, al
je 0x4ffa6b
fst dword [esp + 0x58]
sub esp, 8
fst dword [esp + 0x64]
mov eax, esp
fstp dword [esp + 0x68]
mov dword [esp + 0x40], esp
fld1
fstp dword [esp + 0x6c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov edi, 4
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 2
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x320
mov dword [esp + 0x5c], edi
call fcn.004d6a00
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0049d890
mov ecx, eax
mov byte [esp + 0x80], 0
call fcn.0049cd10
call fcn.0049d890
mov ecx, eax
call fcn.0049c470
fld1
push ecx
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
lea ecx, [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fstp dword [esp]
push ecx
push ebx
mov ecx, esi
call fcn.004fd090
fldz
sub esp, 8
mov eax, esp
lea edx, [esi + 0x2020]
mov dword [esp + 0x40], esp
sub esp, 8
mov dword [esi + 0x201c], edx
fst dword [esp + 4]
mov dword [eax], ebx
fstp dword [esp]
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.004feac0
xor ebp, ebp
lea esp, [esp]
mov ecx, ebp
shr ecx, 5
push ecx
mov eax, ebp
mov edx, ebp
sar eax, 3
and edx, 7
push edx
and eax, 3
push eax
mov ecx, esi
call fcn.004fd480
push 4
lea eax, [edi + 3]
push eax
push edi
call fcn.004fe530
push 8
lea ecx, [edi + 7]
push ecx
lea edx, [edi + 4]
push edx
mov ecx, esi
call fcn.004fe530
add edi, 0x10
add ebp, 1
cmp edi, 0x804
jl 0x4ff840
mov ecx, esi
call fcn.004fe110
call fcn.0049d890
mov ecx, eax
call fcn.0049c550
call fcn.0049d890
mov ecx, eax
call fcn.0049c5f0
mov ecx, dword [esp + 0x40]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov dword [esp + 0x40], esp
je 0x4ff8c8
add dword [eax + 4], 1
mov ecx, esi
call fcn.004fd900
test al, al
mov dword [esp + 0x34], ebx
je 0x4ffa6d
mov edi, 1
mov ecx, ebx
shr ecx, 5
push ecx
mov eax, ebx
mov edx, ebx
sar eax, 3
and edx, 7
push edx
and eax, 3
push eax
mov ecx, esi
call fcn.004fd480
push 1
lea eax, [edi - 1]
push eax
call fcn.004fd4c0
push 1
push edi
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004fd4c0
push 1
lea ebp, [edi + 1]
push ebp
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.004fd4c0
push 0
push edi
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.004fd4c0
push 2
push edi
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004fd4c0
push 2
push ebp
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004fd4c0
push 2
lea ecx, [edi + 2]
push ecx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.004fd4c0
push 3
push ebp
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004fd4c0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
and edx, ecx
jne 0x4ff9a8
test dword [esp + 0x1c], ecx
jne 0x4ff9a8
test dword [esp + 0x20], ecx
jne 0x4ff9a8
test dword [esp + 0x24], ecx
jne 0x4ff9a8
test dword [esp + 0x28], ecx
jne 0x4ff9a8
test dword [esp + 0x2c], ecx
jne 0x4ff9a8
test dword [esp + 0x30], ecx
jne 0x4ff9a8
test ecx, eax
jne 0x4ff9a8
add dword [esp + 0x18], 1
test edx, edx
jne 0x4ffa08
mov ebp, dword [esp + 0x1c]
test ecx, ebp
je 0x4ffa08
test dword [esp + 0x20], ecx
jne 0x4ffa08
test dword [esp + 0x24], ecx
jne 0x4ffa08
test dword [esp + 0x28], ecx
jne 0x4ffa08
mov edx, dword [esp + 0x2c]
test ecx, edx
je 0x4ffa08
test dword [esp + 0x30], ecx
jne 0x4ffa08
test ecx, eax
jne 0x4ffa08
lea eax, [edx + ebp]
cmp eax, dword [esp + 0x34]
mov byte [esp + 0x17], 1
jl 0x4ffa08
fld dword [esi + 0x8874]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x48]
fld dword [esi + 0x8878]
fstp dword [esp + 0x4c]
fld dword [esi + 0x887c]
fstp dword [esp + 0x50]
add edi, 4
add ebx, 1
cmp edi, 0x201
jl 0x4ff8e0
mov edx, dword [esp + 0x40]
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
mov dword [esp + 0x40], esp
je 0x4ffa3c
add dword [eax + 4], 1
mov ecx, esi
call fcn.004fda00
xor ebx, ebx
cmp byte [esp + 0x17], bl
je 0x4ffa6d
fld dword [esp + 0x48]
fstp dword [esi + 0x8874]
fld dword [esp + 0x4c]
fstp dword [esi + 0x8878]
fld dword [esp + 0x50]
fstp dword [esi + 0x887c]
jmp 0x4ffab7
fstp st(0)
push 1
push 1
push 1
mov ecx, esi
call fcn.004fd480
cmp dword [esp + 0x18], 0x4b
jle 0x4ffab7
mov eax, 0x40
cmp dword [esi + 0x10], eax
je 0x4ffab7
push ecx
mov byte [esi + 0x8870], 0
mov dword [esi + 0x10], eax
mov edx, dword [str.verbosedebug]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00496da0
call fcn.00401000
add esp, 4
mov ecx, esi
call fcn.004ff6a0
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x40], esp
mov dword [eax + 4], ebx
fldz
fst dword [esp + 0x60]
lea ecx, [esp + 0x50]
fst dword [esp + 0x64]
mov byte [esp + 0x78], 3
fst dword [esp + 0x68]
mov dword [esp + 0x50], ebx
fstp dword [esp + 0x6c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x320
mov dword [esp + 0x5c], 4
call fcn.004d6a00
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0049d890
mov ecx, eax
mov byte [esp + 0x80], 0
call fcn.0049cd10
mov eax, dword [esp + 0x44]
or edi, 0xffffffff
cmp eax, ebx
mov dword [esp + 0x70], edi
je 0x4ffb4c
mov esi, eax
add eax, 4
add dword [eax], edi
cmp dword [eax], ebx
jne 0x4ffb4c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
add dword [esi + 8], edi
jne 0x4ffb4c
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret