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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push esi
mov ecx, ebx
call fcn.00408e36
lea edi, [ebx + 0x28]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x34]
push eax
lea ecx, [ebx + 0x48]
call fcn.00408684
mov ecx, dword [ebx + 0x38]
push ecx
lea ecx, [ebx + 0x78]
call fcn.00408684
xor edi, edi
push edi
push 0x20
lea ecx, [ebx + 0xa8]
call fcn.0040f5d8
push 2
lea ecx, [ebx + 0xa8]
mov dword [ebx + 0x204], edi
call fcn.0040c88d
push 0x50
push 0x1f0
lea ecx, [ebx + 0xa8]
call fcn.0040475a
fld dword [0x66398c]
push edi
fst dword [ebx + 0xb4]
lea edx, [ebx + 0x220]
fstp dword [ebx + 0xb8]
push edx
push 0x3c
mov ecx, 0x7c20a0
mov dword [ebx + 0x2b4], edi
mov dword [ebx + 0x2b8], edi
call fcn.00404bf1
push edi
lea eax, [ebx + 0x240]
push eax
push 0x3d
mov ecx, 0x7c20a0
call fcn.00404bf1
push edi
lea ecx, [ebx + 0x260]
push ecx
push 0x3e
mov ecx, 0x7c20a0
call fcn.00404bf1
push edi
lea edx, [ebx + 0x280]
push edx
push 0x4c
mov ecx, 0x7c20a0
call fcn.00404bf1
fld dword [0x663968]
mov eax, dword [ebx + 0x3c]
fstp dword [ebx + 0x2a4]
fld dword [0x663964]
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
fstp dword [ebx + 0x2a8]
fld1
mov dword [esp + 0x2c], eax
fst dword [ebx + 0x2ac]
mov dword [esp + 0x30], ecx
fstp dword [ebx + 0x2b0]
mov dword [esp + 0x34], edx
fld dword [esp + 0x2c]
mov esi, dword [0x7f8ebc]
fld st(0)
fld qword [0x65a900]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x10]
fld st(1)
fadd st(1)
fst qword [esp + 0x20]
fld st(0)
fld qword [0x655a30]
fsub st(1), st(0)
fxch st(1)
fst qword [esp + 0x38]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
fld dword [esp + 0x34]
test ah, 0x41
jp 0x5f4014
fstp st(5)
fstp st(2)
fld st(3)
fsub st(3)
fstp dword [esp + 0x1c]
fxch st(3)
faddp st(2)
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x14]
jmp 0x5f3f72
fstp st(1)
push 2
fstp dword [esp + 0x44]
fld dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0x50]
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x14]
push 2
fstp dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push ecx
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x10]
fld qword [0x655a30]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x38]
fnstsw ax
test ah, 0x41
jnp 0x5f3f70
fstp st(0)
fld dword [esp + 0x34]
fld dword [esp + 0x2c]
fld qword [0x65a900]
fld qword [esp + 0x20]
fxch st(2)
fxch st(4)
fxch st(1)
fxch st(3)
fld st(0)
fsub st(4)
fstp dword [esp + 0x10]
fld st(0)
faddp st(4)
fxch st(3)
fsub st(1)
fst qword [esp + 0x20]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x5f40d4
fstp st(4)
fstp st(2)
fsubrp st(1)
fstp dword [esp + 0x14]
jmp 0x5f401a
fstp st(1)
jmp 0x5f3fe1
fstp st(1)
fld dword [esp + 0x18]
push 2
lea edx, [esp + 0x44]
fstp dword [esp + 0x44]
push edx
push edi
fstp dword [esp + 0x54]
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x14]
push 2
fstp dword [esp + 0x44]
fld dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0x50]
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x10]
fld qword [0x655a30]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x5f4018
fstp st(0)
fld dword [esp + 0x34]
fld dword [esp + 0x2c]
fxch st(2)
fld st(2)
fld qword [0x66d3f8]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x10]
fadd st(3), st(0)
fxch st(3)
fst qword [esp + 0x38]
fld st(0)
fsub st(2)
fst qword [esp + 0x20]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x5f41d1
fstp st(1)
fld st(2)
fsub st(4)
fstp dword [esp + 0x14]
fxch st(2)
faddp st(3)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
jmp 0x5f40e2
fstp st(0)
fstp st(1)
jmp 0x5f4081
fstp st(1)
push 2
fstp dword [esp + 0x44]
fld dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
fstp dword [esp + 0x50]
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x1c]
push 2
fstp dword [esp + 0x4c]
lea edx, [esp + 0x44]
push edx
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x10]
fld qword [0x655a30]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x5f40e0
fstp st(0)
fld dword [esp + 0x34]
fld qword [0x66d3f8]
fld qword [esp + 0x38]
fxch st(1)
fxch st(3)
fxch st(1)
fld st(2)
fsub st(4)
fstp dword [esp + 0x10]
fxch st(2)
faddp st(3)
fsub st(2), st(0)
fxch st(2)
fst qword [esp + 0x20]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x5f41d8
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
push 2
lea eax, [esp + 0x44]
fstp dword [esp + 0x44]
push eax
push edi
fstp dword [esp + 0x54]
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x14]
push 2
fstp dword [esp + 0x44]
fld dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
fstp dword [esp + 0x50]
push edi
mov ecx, esi
call fcn.00402e0a
fld dword [esp + 0x10]
fadd qword [0x655a30]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x5f4178
jmp 0x5f41dc
fstp st(0)
jmp 0x5f414b
fstp st(2)
fstp st(1)
mov edx, dword [ebx + 0x34]
fstp st(0)
push edx
mov ecx, 0x7c2d20
call fcn.00401c58
mov esi, eax
mov eax, dword [ebx + 0x38]
push eax
mov ecx, 0x7c2d20
call fcn.00401c58
mov ebx, eax
cmp esi, edi
je 0x5f421b
mov ecx, esi
call fcn.00406c99
cmp al, 0x15
jne 0x5f421b
push edi
push 0x15
push esi
mov ecx, 0x7c51cc
call fcn.00410aa5
cmp ebx, edi
je 0x5f4238
mov ecx, ebx
call fcn.00406c99
cmp al, 0x15
jne 0x5f4238
push edi
push 0x15
push ebx
mov ecx, 0x7c51cc
call fcn.00410aa5
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006111ee
mov esp, ebp
pop ebp
ret 0xc