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

Disassembly:
mov al, byte [0x1070a54]
sub esp, 0x50
push ebx
push ebp
push esi
mov ebx, 1
xor ebp, ebp
test bl, al
push edi
mov esi, ecx
jne 0x5bd910
mov edx, dword [0x1070a54]
or edx, ebx
push 0x6cf2a0
mov dword [0x1070a54], edx
mov dword [0x1070a4c], ebp
mov dword [0x1070a50], ebp
call fcn.006938d1
add esp, 4
mov al, byte [0x1070a48]
test al, al
jne 0x5bd937
mov eax, dword [esi + 0xc4]
imul eax, dword [esi + 0xc0]
push eax
mov ecx, 0x1070a4c
mov byte [0x1070a48], bl
call fcn.005bd2b0
mov ecx, dword [0x1070a50]
mov edi, dword [0x1070a4c]
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [0x106a544], ebp
mov eax, dword [esi + 0xc0]
test eax, eax
jle 0x5bdb94
jmp 0x5bd960
mov eax, dword [esi + 0xc4]
xor edi, edi
test eax, eax
jle 0x5bdb85
mov ecx, dword [esi + 0xc0]
fild dword [0x71c790]
mov edx, dword [esi + 0x200]
imul ecx, edi
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
add ecx, ebp
imul ecx, ecx, 0x1f650
lea eax, [ecx + edx]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x18], ecx
fadd dword [esp + 0x18]
fstp dword [esp + 0x24]
mov edx, dword [eax + 0x14]
fld dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x54]
mov eax, dword [0x106a554]
mov dword [esp + 0x20], edx
fadd dword [esp + 0x20]
add eax, 0xbc
fstp dword [esp + 0x2c]
fld dword [eax + 0x98]
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x94]
mov edx, dword [esp + 0x14]
fchs
fstp dword [esp + 0x10]
fld dword [eax + 0x90]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
fchs
lea ecx, [esp + 0x18]
fstp dword [esp + 0x30]
push ecx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5bdb76
mov eax, dword [0x106a554]
fld dword [eax + 0x160]
add eax, 0xe0
fchs
fstp dword [esp + 0x10]
fld dword [eax + 0x7c]
mov ecx, dword [esp + 0x10]
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x78]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
fchs
lea edx, [esp + 0x18]
fstp dword [esp + 0x3c]
push edx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5bdb76
mov eax, dword [0x106a554]
fld dword [eax + 0x16c]
add eax, 0x104
fchs
fstp dword [esp + 0x10]
fld dword [eax + 0x64]
mov edx, dword [esp + 0x10]
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x60]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
fchs
lea ecx, [esp + 0x18]
fstp dword [esp + 0x48]
push ecx
mov dword [esp + 0x54], edx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5bdb76
mov eax, dword [0x106a554]
fld dword [eax + 0x178]
add eax, 0x128
fchs
fstp dword [esp + 0x10]
fld dword [eax + 0x4c]
mov ecx, dword [esp + 0x10]
fchs
fstp dword [esp + 0x14]
fld dword [eax + 0x48]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], edx
fchs
lea edx, [esp + 0x18]
fstp dword [esp + 0x54]
push edx
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x5c]
push edx
push eax
call fcn.005e672c
fcomp dword [0x6f3614]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5bdb76
mov ecx, dword [esi + 0xc0]
mov edx, dword [0x1070a4c]
imul ecx, edi
add ecx, ebp
mov eax, ecx
sar eax, 5
lea eax, [edx + eax*4]
and ecx, 0x1f
mov edx, ebx
shl edx, cl
or dword [eax], edx
inc dword [0x106a544]
mov eax, dword [esi + 0xc4]
inc edi
cmp edi, eax
jl 0x5bd970
mov eax, dword [esi + 0xc0]
inc ebp
cmp ebp, eax
jl 0x5bd960
mov eax, dword [esi + 0xc0]
xor ebp, ebp
test eax, eax
jle 0x5bdc1d
mov eax, dword [esi + 0xc4]
xor edi, edi
test eax, eax
jle 0x5bdc12
mov al, byte [esi + 0xb6]
test al, al
je 0x5bdbe7
mov eax, dword [esi + 0xc0]
mov ebx, dword [0x1070a4c]
imul eax, edi
add eax, ebp
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
sar ecx, 5
test dword [ebx + ecx*4], edx
mov ecx, eax
setne dl
push edx
jmp 0x5bdbf4
mov ecx, dword [esi + 0xc0]
imul ecx, edi
push 1
add ecx, ebp
mov eax, dword [esi + 0x200]
imul ecx, ecx, 0x1f650
add ecx, eax
call fcn.005e0370
mov eax, dword [esi + 0xc4]
inc edi
cmp edi, eax
jl 0x5bdbb0
mov eax, dword [esi + 0xc0]
inc ebp
cmp ebp, eax
jl 0x5bdba4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret