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

Disassembly:
sub esp, 0xdc
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe0]
push ebx
add eax, 0x190
push ebp
add ecx, 0xdc
push esi
push edi
mov dword [esp + 0x20], 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, 0x64
add eax, 0x78
mov ebp, 2
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, 2
mov dword [esp + 0x10], ebx
jmp 0x5e3d80
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov dword [esp + 0x30], 0
test eax, eax
je 0x5e3dbc
mov ecx, dword [esp + 0x20]
push 0x490
push 0x7ca8f4
lea edx, [ebp + ecx]
lea ecx, [esi + edx*4]
mov edx, dword [esp + 0x104]
lea ecx, [edx + ecx*4]
push ecx
push eax
call fcn.0059cec2
add esp, 0x10
mov dword [esp + 0x30], eax
mov ebx, dword [ebx]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x5e3e02
mov edx, dword [esp + 0x20]
push 0x488
push 0x7ca8f4
lea eax, [ebp + edx]
mov edx, dword [esp + 0x104]
lea ecx, [esi + eax*4]
lea eax, [edx + ecx*4]
push eax
push ebx
call fcn.0059cec2
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
add esp, 0x10
sar eax, 1
sub ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], 0
mov ebx, dword [edx]
test ebx, ebx
je 0x5e3e4c
mov eax, dword [esp + 0x20]
push 0x488
push 0x7ca8f4
lea ecx, [ebp + eax]
mov eax, dword [esp + 0x104]
lea edx, [esi + ecx*4]
lea ecx, [eax + edx*4]
push ecx
push ebx
call fcn.0059cec2
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
add esp, 0x10
sar eax, 1
sub ecx, eax
mov dword [esp + 0x24], ecx
fild dword [esp + 0x30]
fild dword [esp + 0x24]
fild dword [esp + 0x14]
fxch st(2)
fmul qword [0x7dd34c]
fxch st(1)
fmul qword [0x7dd34c]
fxch st(2)
fmul qword [0x7dd34c]
fld st(1)
fxch st(3)
fst dword [esp + 0x14]
fxch st(1)
fst dword [esp + 0x14]
fxch st(3)
fadd dword [edi]
fxch st(1)
fadd dword [edi - 8]
fxch st(3)
fadd dword [edi - 4]
fxch st(1)
fstp dword [edi]
lea eax, [edi - 8]
lea ecx, [edi - 4]
mov ebx, dword [esp + 0x10]
mov edx, esi
fxch st(2)
fstp dword [eax]
fxch st(1)
fstp dword [ecx]
dec esi
sub ebx, 0x14
sub edi, 0xc
mov dword [esp + 0x10], ebx
test edx, edx
fstp st(0)
jne 0x5e3d7c
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, ebp
dec ebp
sub esi, 0x3c
sub edx, 0x24
test eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
jne 0x5e3d69
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xf4]
fild dword [ecx - 0x28]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [esi + 0x14]
fmul dword [0x7dd354]
mov ecx, edx
mov ebp, ebx
or ecx, edi
or ebp, edi
fmul dword [0x7dd2f0]
mov edi, eax
or eax, ebx
or edi, edx
xor eax, ecx
fstp dword [esp + 0x10]
je 0x5e3f6b
mov edx, edi
xor edx, ebp
je 0x5e3f29
fld dword [esp + 0x10]
fmul dword [0x7dd344]
fstp dword [esp + 0x10]
test ecx, ecx
je 0x5e3f49
fld dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
fchs
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
fadd dword [ebx - 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
fstp dword [ebx - 4]
jmp 0x5e3f6f
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
lea ecx, [esp + 0xc8]
call fcn.005b8b8b
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 4]
call fcn.005e369b
mov ebx, dword [esp + 0x18]
xor edi, ebp
je 0x5e3fa7
test ebp, ebp
push 0
je 0x5e3f8b
fld dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x7c]
fchs
fstp dword [esp]
push 0
jmp 0x5e3f99
mov ecx, dword [esp + 0x14]
push ecx
push 0
lea ecx, [esp + 0xe0]
call fcn.005b8b8b
push eax
lea ecx, [ebx - 4]
call fcn.005e369b
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov ecx, eax
fild dword [edx - 0x14]
xor ecx, dword [esi + 0x14]
fmul dword [0x7dd354]
fmul dword [0x7dd2f0]
je 0x5e4010
test eax, eax
je 0x5e3fed
lea edx, [esp + 0x50]
lea ecx, [ebx + 8]
fchs
fstp dword [esp + 0x54]
push edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0
call fcn.005e369b
jmp 0x5e4012
fstp dword [esp + 0x48]
lea eax, [esp + 0x44]
lea ecx, [ebx + 8]
push eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
call fcn.005e369b
jmp 0x5e4012
fstp st(0)
mov edi, dword [esp + 0x1c]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
fild dword [edi]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 4]
mov ebp, dword [esp + 0x14]
mov edi, ecx
fmul dword [0x7dd354]
or edi, edx
or edx, ebp
mov ebp, edx
mov edx, dword [esp + 0x14]
fmul dword [0x7dd2f0]
or ecx, eax
or eax, edx
xor eax, edi
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x10]
je 0x5e40ab
mov eax, ebp
xor eax, ecx
je 0x5e4068
fld dword [esp + 0x10]
fmul dword [0x7dd344]
fstp dword [esp + 0x10]
test edi, edi
je 0x5e408d
fld dword [esp + 0x10]
fchs
fstp dword [esp + 0x38]
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
push ecx
jmp 0x5e40a3
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
lea ecx, [esp + 0x98]
call fcn.005b8b8b
push eax
lea ecx, [ebx + 0x14]
call fcn.005e369b
mov ecx, dword [esp + 0x24]
mov eax, ebp
xor eax, ecx
je 0x5e40e9
test ebp, ebp
push 0
je 0x5e40cd
fld dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x64]
fchs
fstp dword [esp]
push 0
jmp 0x5e40db
mov ecx, dword [esp + 0x14]
push ecx
push 0
lea ecx, [esp + 0xb0]
call fcn.005b8b8b
push eax
lea ecx, [ebx + 0x14]
call fcn.005e369b
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, eax
fild dword [edi + 0x14]
xor edx, ecx
fmul dword [0x7dd354]
fmul dword [0x7dd2f0]
fstp dword [esp + 0x14]
je 0x5e413e
test eax, eax
push 0
push 0
je 0x5e4124
fld dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x74]
fchs
fstp dword [esp]
jmp 0x5e4130
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x88]
push eax
call fcn.005b8b8b
push eax
lea ecx, [ebx + 0x20]
call fcn.005e369b
fild dword [edi + 0x3c]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ecx, eax
fmul dword [0x7dd354]
xor ecx, edx
fmul dword [0x7dd2f0]
fstp dword [esp + 0x14]
je 0x5e4192
test eax, eax
push 0
push 0
je 0x5e4178
fld dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0xa4]
fchs
fstp dword [esp]
jmp 0x5e4184
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb8]
push edx
call fcn.005b8b8b
push eax
lea ecx, [ebx + 0x38]
call fcn.005e369b
fild dword [edi + 0x50]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x14]
push eax
fmul dword [0x7dd354]
mov eax, dword [esi + 0x10]
push ecx
push edx
push eax
fmul dword [0x7dd2f0]
push 0
push ecx
lea ecx, [ebx + 0x44]
fstp dword [esp]
push ecx
call fcn.005e427e
fild dword [edi + 0x64]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x24]
mov edx, eax
add esp, 0x1c
fmul dword [0x7dd354]
xor edx, ecx
fmul dword [0x7dd2f0]
fstp dword [esp + 0x14]
je 0x5e4219
test eax, eax
push 0
je 0x5e41fd
fld dword [esp + 0x18]
push ecx
lea ecx, [esp + 0xd0]
fchs
fstp dword [esp]
push 0
jmp 0x5e420b
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xe4]
push eax
push 0
call fcn.005b8b8b
push eax
lea ecx, [ebx + 0x50]
call fcn.005e369b
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push eax
fild dword [edx]
push ecx
push 0
push ecx
lea eax, [ebx + 0x5c]
fmul dword [0x7dd354]
fmul dword [0x7dd2f0]
fstp dword [esp]
push eax
call fcn.005e427e
mov eax, dword [esp + 0x3c]
add esp, 0x1c
mov ecx, eax
sub eax, 4
sub edi, 0xb4
sub ebx, 0x6c
test ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
jne 0x5e3d4a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret