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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x6bf1f4]
push ebx
push ebp
push esi
lea ebx, [eax + 0x4c]
lea ebp, [eax + 4]
lea eax, [esp + 0x48]
push edi
push eax
call fcn.004b0d80
mov eax, dword [esp + 0x50]
shr eax, 4
and eax, 0xf
add esp, 4
cmp eax, 9
je 0x5bfa1e
cmp eax, 5
je 0x5bfa1e
cmp eax, 0xd
je 0x5bfa1e
lea ecx, [esp + 0x44]
push ecx
mov edi, 1
call fcn.004b0d80
lea edx, [esp + 0x40]
push edx
call fcn.004b0d80
lea eax, [esp + 0x3c]
push eax
call fcn.004b0d80
add esp, 0xc
lea esi, [esp + 0x34]
mov dword [esp + 0x18], edi
jmp 0x5bfa59
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.00624db0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x7c]
add esp, 8
test al, 3
je 0x5bfa45
call fcn.004857b0
movzx edi, word [esp + 0x74]
mov esi, dword [esp + 0x20]
shr edi, 2
mov dword [esp + 0x18], 0
call fcn.004d5330
dec edi
js 0x5bfc66
inc edi
mov dword [esp + 0x1c], edi
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5bfb1e
mov eax, dword [esi]
shr eax, 4
and eax, 0xf
dec eax
je 0x5bfa9a
dec eax
je 0x5bfa91
call fcn.004857b0
jmp 0x5bfaa1
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], ecx
jmp 0x5bfaa1
fild dword [esi + 4]
fstp dword [esp + 0x24]
mov eax, dword [esi + 8]
add esi, 8
shr eax, 4
and eax, 0xf
dec eax
je 0x5bfac3
dec eax
je 0x5bfaba
call fcn.004857b0
jmp 0x5bfaca
mov edx, dword [esi + 4]
mov dword [esp + 0x28], edx
jmp 0x5bfaca
fild dword [esi + 4]
fstp dword [esp + 0x28]
mov eax, dword [esi + 8]
add esi, 8
shr eax, 4
and eax, 0xf
dec eax
je 0x5bfaec
dec eax
je 0x5bfae3
call fcn.004857b0
jmp 0x5bfaf3
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
jmp 0x5bfaf3
fild dword [esi + 4]
fstp dword [esp + 0x10]
mov eax, dword [esi + 8]
add esi, 8
shr eax, 4
and eax, 0xf
dec eax
je 0x5bfb15
dec eax
je 0x5bfb0c
call fcn.004857b0
jmp 0x5bfb55
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], ecx
jmp 0x5bfb55
fild dword [esi + 4]
fstp dword [esp + 0x14]
jmp 0x5bfb55
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x58]
push eax
call edi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x60]
push edx
call edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x68]
push ecx
call edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x70]
push eax
call edi
add esp, 0x20
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x5bfb7a
test eax, 0x7fffffff
je 0x5bfb7a
fld dword [esp + 0x10]
fchs
fstp dword [esp + 0x10]
fld dword [esp + 0x24]
fsub dword [esp + 0x10]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x5bfb9f
test eax, 0x7fffffff
je 0x5bfb9f
fld dword [esp + 0x14]
fchs
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fsub dword [esp + 0x14]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push edx
push edi
call fcn.00510a40
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push ebx
push eax
push ecx
call fcn.004d27b0
fld dword [esp + 0x2c]
fadd dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x48]
push edx
push ebp
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.00510a40
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ebx
push edx
push eax
call fcn.004d2800
fld dword [esp + 0x4c]
fadd dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x64]
push ecx
fstp dword [esp + 0x64]
mov edx, dword [esp + 0x64]
push ebp
push edx
push eax
call fcn.00510a40
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
add esp, 0x48
push ebx
push ecx
push edx
call fcn.004d2800
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push ebp
push ecx
push edi
mov dword [esp + 0x40], edi
call fcn.00510a40
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ebx
push edx
push eax
call fcn.004d2800
push ebx
call fcn.004d28b0
mov eax, dword [esp + 0x48]
add esp, 0x2c
dec eax
mov dword [esp + 0x1c], eax
jne 0x5bfa70
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret