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

Disassembly:
sub esp, 0x6c
push ebx
push esi
mov esi, dword [esp + 0x78]
push esi
mov ebx, ecx
call fcn.005e7220
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
push esi
mov ecx, ebx
call fcn.00526e00
mov eax, dword [ebx + 0x30c]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], ecx
jle 0x5e78a2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ebp
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
push edi
xor ebp, ebp
cmp ecx, edx
mov edi, ecx
jge 0x5e78a0
mov esi, dword [esp + 0x30]
cmp esi, eax
jge 0x5e74b4
jmp 0x5e7490
mov ecx, dword [esp + 0x20]
push ecx
push edi
push esi
mov ecx, ebx
call fcn.005e55b0
test eax, eax
je 0x5e74a5
add ebp, 1
mov eax, dword [esp + 0x18]
add esi, 1
cmp esi, eax
jl 0x5e7490
mov edx, dword [esp + 0x1c]
add edi, 1
cmp edi, edx
jl 0x5e7483
test ebp, ebp
je 0x5e78a0
mov ecx, dword [esp + 0x80]
add ecx, 0x68
call fcn.005e7110
mov edx, dword [ebx + 0x310]
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + eax + 0x10c]
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
lea esi, [ebp*4]
fld1
push esi
fdivrp st(1)
mov ecx, edi
fstp dword [esp + 0x3c]
call fcn.0046f520
push esi
lea ecx, [edi + 0x10]
call fcn.0046f720
push esi
lea ecx, [edi + 0x20]
call fcn.00471de0
lea esi, [ebp + ebp*2]
add esi, esi
cmp esi, dword [edi + 0x34]
lea ebp, [edi + 0x30]
jbe 0x5e7582
cmp esi, dword [ebp]
jbe 0x5e7582
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x5e7562
cmp esi, 0x80
mov ecx, esi
jae 0x5e7556
lea eax, [esi - 1]
and eax, esi
je 0x5e754a
mov ecx, eax
lea eax, [ecx - 1]
and eax, ecx
jne 0x5e7541
cmp ecx, 1
jae 0x5e7562
mov ecx, 1
jmp 0x5e7562
mov dword [ebp + 0xc], 0x80
mov ecx, 0x80
xor edx, edx
mov eax, esi
div ecx
mov dword [esp + 0x50], esi
test edx, edx
je 0x5e7576
sub ecx, edx
add ecx, esi
jmp 0x5e757a
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.0040de50
mov dword [ebp + 4], esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
xor esi, esi
cmp ecx, edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x14], ecx
jge 0x5e7883
mov ebp, dword [esp + 0x30]
cmp ebp, eax
mov dword [esp + 0x28], ebp
jge 0x5e786c
lea eax, [esi + esi*2]
shl eax, 4
lea edx, [esi + esi*2]
mov dword [esp + 0x40], eax
lea eax, [edx*4 + 6]
mov dword [esp + 0x50], eax
jmp 0x5e75d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebp
mov ecx, ebx
call fcn.005e55b0
test eax, eax
je 0x5e7855
mov ecx, dword [esp + 0x34]
mov eax, ebp
cdq
idiv ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], edx
cdq
fild dword [esp + 0x48]
idiv ecx
fld dword [esp + 0x38]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x68]
mov eax, esi
shl eax, 4
shl esi, 5
mov dword [esp + 0x44], esi
xor esi, esi
mov dword [esp + 0x48], edx
fild dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
fmul st(1)
fstp dword [esp + 0x6c]
jmp 0x5e7648
fld dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov edx, dword [esi + 0x7bacac]
mov eax, dword [ebx + 0xb4]
add edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x7bac9c]
add eax, 1
imul eax, edx
add ecx, ebp
add eax, ecx
lea ebp, [eax*8]
sub ebp, eax
mov eax, dword [ebx + 0xe4]
lea eax, [eax + ebp*4]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 4]
mov ebp, dword [esp + 0x24]
shr eax, 9
and eax, 0x7ffe00
or eax, 0x45800000
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x310]
push 7
fld dword [esp + 0x44]
fld qword [0x7ad320]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fadd dword [eax + ebp + 0x108]
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov ebp, eax
and ebp, 0x3fff
fstp dword [esp + 0x44]
or ebp, 0x22c000
shl ebp, 9
mov dword [esp + 0x60], ebp
mov ebp, eax
shr eax, 9
and eax, 0x7fc000
or eax, 0x47800000
mov dword [esp + 0x58], eax
fld dword [esp + 0x58]
mov eax, dword [edi + 8]
fld qword [0x7bad28]
and ebp, 0x7fc000
fsub st(1), st(0)
or ebp, 0x47800000
add eax, dword [esp + 0x14]
fxch st(1)
mov dword [esp + 0x5c], ebp
fstp dword [esp + 0x74]
mov ebp, dword [esp + 0x74]
mov dword [eax], ebp
fsubr dword [esp + 0x5c]
fstp dword [esp + 0x78]
mov ebp, dword [esp + 0x78]
mov dword [eax + 4], ebp
fsubr dword [esp + 0x60]
fstp dword [esp + 0x7c]
mov ebp, dword [esp + 0x7c]
fld dword [esp + 0x44]
mov dword [eax + 8], ebp
mov eax, dword [edi + 8]
mov ebp, dword [esp + 0x14]
fstp dword [eax + ebp + 8]
mov eax, dword [edi + 0x18]
fild dword [esi + 0x7bac9c]
mov ebp, dword [esp + 0x48]
fmul st(1)
fadd dword [esp + 0x6c]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [eax + ebp]
mov eax, dword [edi + 0x18]
fimul dword [esi + 0x7bacac]
fadd dword [esp + 0x70]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [eax + ebp + 4]
mov eax, dword [esp + 0x40]
push eax
push edx
push ecx
mov ecx, ebx
call fcn.005fdfa0
fstp dword [esp + 0x5c]
fld dword [esp + 0x40]
push ecx
fsub dword [esp + 0x60]
lea ecx, [esp + 0x68]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp]
push ecx
mov ecx, ebx
call fcn.005e56a0
mov ecx, dword [eax]
mov eax, dword [esp + 0x48]
mov edx, dword [edi + 0x28]
add dword [esp + 0x10], 0xc
mov dword [eax + edx], ecx
add ebp, 8
add eax, 4
add esi, 4
cmp esi, 0x10
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
jl 0x5e7640
mov esi, dword [esp + 0x4c]
mov ebp, dword [edi + 0x38]
lea ecx, [esi*4]
lea eax, [ecx + 2]
movzx eax, ax
lea edx, [ecx + 1]
movzx edx, dx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
mov word [eax + ebp - 6], cx
mov ebp, dword [edi + 0x38]
mov word [eax + ebp - 4], dx
mov ebp, dword [edi + 0x38]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ebp - 2], dx
mov ebp, dword [edi + 0x38]
mov word [eax + ebp], dx
mov edx, dword [edi + 0x38]
mov bp, word [esp + 0x58]
mov word [eax + edx + 2], bp
mov edx, dword [edi + 0x38]
mov ebp, dword [esp + 0x28]
add ecx, 3
mov word [eax + edx + 4], cx
mov ecx, dword [esp + 0x10]
add esi, 1
add eax, 0xc
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
add ebp, 1
cmp ebp, eax
mov dword [esp + 0x28], ebp
jl 0x5e75d0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, 1
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x5e75a3
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
add dword [esp + 0x24], 0x17c
add esi, 1
cmp esi, dword [esp + 0x60]
mov dword [esp + 0x20], esi
jl 0x5e7477
pop edi
pop ebp
mov edx, dword [esp + 0x78]
push edx
mov ecx, ebx
call fcn.005e63e0
pop esi
pop ebx
add esp, 0x6c
ret 4