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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e4426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov al, byte [ebp + 0x10]
push ebx
push esi
mov esi, ecx
test al, 4
push edi
mov dword [esp + 0x14], esi
je 0x56baaa
mov eax, dword [esi + 0x8b0]
xor edi, edi
test eax, eax
je 0x56c39d
lea ecx, [eax + 8]
test ecx, ecx
je 0x56c39d
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
fld qword [eax]
fsub qword [esi]
fld qword [eax + 8]
fsub qword [esi + 8]
mov eax, dword [ebp + 0xc]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fcomp qword [eax]
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
je 0x56ba79
mov eax, edi
mov ebx, 3
cdq
idiv ebx
test edx, edx
je 0x56ba91
mov ecx, dword [ecx - 4]
inc edi
test ecx, ecx
je 0x56c39d
add ecx, 8
test ecx, ecx
jne 0x56ba43
jmp 0x56c39d
mov eax, ecx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
test al, 1
je 0x56c39d
push 0x944
call fcn.005b449a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x98], 0
je 0x56badd
mov ecx, eax
call fcn.0055f180
mov edi, eax
jmp 0x56badf
xor edi, edi
test edi, edi
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x18], edi
je 0x56c39d
mov eax, 0x2710
mov dword [esp + 0x74], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x8b0]
mov dword [esp + 0x78], 0
test eax, eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
je 0x56bbe6
lea ecx, [eax + 8]
jmp 0x56bbe8
xor ecx, ecx
mov eax, dword [ecx]
mov dword [esp + 0x10], ecx
test ecx, ecx
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x8c], eax
jne 0x56bc41
mov eax, dword [esi + 0x8b0]
test eax, eax
je 0x56bc3d
lea ebx, [eax + 8]
jmp 0x56bc4f
xor ebx, ebx
jmp 0x56bc4f
mov ebx, dword [ecx - 4]
test ebx, ebx
je 0x56bd3e
add ebx, 8
test ebx, ebx
je 0x56bd40
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x38], eax
mov ebx, dword [ebx - 4]
test ebx, ebx
je 0x56bd3e
add ebx, 8
test ebx, ebx
je 0x56bd40
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
mov ebx, dword [ebx - 4]
test ebx, ebx
je 0x56bd3e
add ebx, 8
test ebx, ebx
je 0x56bd40
mov eax, dword [ebx]
push 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0056cf40
mov ebx, dword [ebx - 4]
test ebx, ebx
je 0x56bd3e
add ebx, 8
jmp 0x56bd40
xor ebx, ebx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0xd
push edx
push esi
mov ecx, edi
call fcn.00565640
test eax, eax
mov dword [esp + 0x1c], eax
je 0x56bf91
fld qword [esp + 0x74]
fsub qword [esp + 0x20]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x56bddb
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x56bdea
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push 1
mov ecx, dword [ebx]
push ecx
push esi
push edx
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edi
call fcn.0056e440
test eax, eax
je 0x56c1ca
mov eax, dword [ebx]
mov edx, dword [ebp + 0x20]
push 0
lea ecx, [esp + 0x5c]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push esi
push edi
call fcn.0056e440
test eax, eax
jne 0x56c36c
mov edx, dword [edi]
push 1
mov ecx, edi
jmp 0x56c39b
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x56bd7f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
push edx
push eax
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x56bd7f
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
push edx
push eax
push ecx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x56bd7f
fld qword [esp + 0x3c]
fsub qword [esp + 0x58]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x56be65
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x56be78
jmp 0x56bd7f
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x56bd7f
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x56bd7f
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x56bd7f
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 1
fld qword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
fstp qword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [esi]
fld qword [esp + 0x40]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x48]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x4c]
fstp qword [eax]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x56c393
test ecx, ecx
je 0x56bfab
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x944
call fcn.005b449a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x98], 1
je 0x56bfd6
mov ecx, eax
call fcn.0055f180
mov edi, eax
jmp 0x56bfd8
xor edi, edi
test edi, edi
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x18], edi
je 0x56c39d
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x38], eax
mov ebx, dword [ebx - 4]
test ebx, ebx
je 0x56c38f
lea ecx, [ebx + 8]
test ecx, ecx
je 0x56c38f
mov eax, dword [ecx]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [ecx - 4]
test ecx, ecx
je 0x56c38f
lea eax, [ecx + 8]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x56c38f
mov ecx, eax
push 0
mov eax, dword [ecx]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 0x18]
lea eax, [esp + 0x5c]
mov dword [esp + 0x74], edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x80]
push edx
push eax
push edi
call fcn.0056cf40
mov ecx, dword [ebp + 0xc]
push 0xd
push ecx
push esi
mov ecx, edi
call fcn.00565640
mov ebx, eax
test ebx, ebx
jne 0x56c157
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [eax - 4]
test eax, eax
je 0x56c38f
lea ebx, [eax + 8]
test ebx, ebx
je 0x56c38f
mov ecx, edi
jmp 0x56bfa1
fld qword [esp + 0x74]
fsub qword [esp + 0x20]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x56c1d5
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x56c1e4
mov ecx, dword [ebx]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push 1
push ecx
push esi
push edx
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edi
call fcn.0056e440
test eax, eax
je 0x56c1c2
mov eax, dword [ebx]
mov edx, dword [ebp + 0x20]
push 0
lea ecx, [esp + 0x5c]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push esi
push edi
call fcn.0056e440
test eax, eax
jne 0x56c368
test edi, edi
je 0x56c39d
mov edx, dword [edi]
push 1
mov ecx, edi
jmp 0x56c39b
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x56c179
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
push ecx
push edx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x56c179
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push eax
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x56c179
fld qword [esp + 0x3c]
fsub qword [esp + 0x58]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x56c25f
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x56c272
jmp 0x56c179
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x56c179
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x56c179
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
call fcn.00464860
add esp, 0x10
test eax, eax
je 0x56c179
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
fld qword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
fstp qword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [esi]
fld qword [esp + 0x3c]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x48]
fstp qword [eax]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
test edi, edi
je 0x56c374
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x56c39d
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x90]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c