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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x62171f
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
fldz
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
fst qword [esp + 0xbc]
mov ebx, dword [ebp + 0x14]
fst qword [esp + 0xc4]
mov esi, ecx
fst qword [esp + 0xcc]
mov ecx, dword [ebp + 0x10]
fst qword [esp + 0xd4]
mov dword [esp + 0x38], ecx
fst qword [esp + 0xdc]
mov ecx, edi
fstp qword [esp + 0xe4]
mov dword [esp + 0x44], eax
call fcn.0051b430
fstp qword [esp + 0x84]
test word [edi + 0x20], 0xfff9
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
fst qword [esp + 0x114]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x11c]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fstp qword [esp + 0x124]
fild dword [esp + 0x1c]
fst qword [esp + 0x54]
fdivp st(1)
jne 0x564c17
fst qword [esp + 0x1c]
call fcn.005f6760
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
call fcn.005f6766
fld qword [esp + 0x24]
fstp qword [esp + 0x8c]
fstp qword [esp + 0x94]
fld qword [esp + 0x11c]
fdiv qword [esp + 0x54]
fst qword [esp + 0x1c]
call fcn.005f6760
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
call fcn.005f6766
fld qword [esp + 0x24]
fstp qword [esp + 0x9c]
fstp qword [esp + 0xa4]
fld qword [esp + 0x124]
fdiv qword [esp + 0x54]
jmp 0x564c83
fchs
fst qword [esp + 0x1c]
call fcn.005f6760
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
call fcn.005f6766
fld qword [esp + 0x24]
fstp qword [esp + 0x8c]
fstp qword [esp + 0x94]
fld qword [esp + 0x11c]
fdiv qword [esp + 0x54]
fchs
fst qword [esp + 0x1c]
call fcn.005f6760
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
call fcn.005f6766
fld qword [esp + 0x24]
fstp qword [esp + 0x9c]
fstp qword [esp + 0xa4]
fld qword [esp + 0x124]
fdiv qword [esp + 0x54]
fchs
fst qword [esp + 0x1c]
call fcn.005f6760
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
call fcn.005f6766
fld qword [esp + 0x24]
movzx eax, byte [ebx + 8]
fstp qword [esp + 0xac]
and eax, 0xf
sub eax, 1
fstp qword [esp + 0xb4]
je 0x564ddd
sub eax, 1
je 0x564d8d
sub eax, 1
jne 0x564de5
mov ebx, dword [esp + 0xa8]
fld qword [esp + 0x11c]
mov eax, dword [esp + 0x9c]
fst qword [esp + 0x12c]
fld qword [esp + 0x124]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
fstp qword [esp + 0x134]
mov dword [esp + 0xc8], ebx
mov ebx, dword [esp + 0xac]
fstp qword [esp + 0x13c]
mov dword [esp + 0xcc], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xd0], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xd4], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], eax
mov dword [esp + 0x50], 4
jmp 0x564de5
mov ecx, dword [esp + 0x9c]
fld qword [esp + 0x11c]
mov edx, dword [esp + 0xa0]
fstp qword [esp + 0x12c]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x50], 2
jmp 0x564de5
mov dword [esp + 0x50], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
lea ecx, [esp + 0x170]
fstp qword [esp + 0x24]
call fcn.0056f1e0
mov edx, dword [edi]
mov eax, dword [edx + 0x5c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x200], ebx
call eax
cmp eax, 0x11
jne 0x564e24
cmp dword [edi + 0x24], ebx
je 0x564e24
mov ebx, edi
fld qword [esp + 0x24]
mov ecx, dword [esp + 0x44]
fcom qword [ecx]
fnstsw ax
test ah, 0x41
jp 0x564ef9
fsubr qword [ecx]
fstp qword [ecx]
mov ecx, dword [esp + 0x38]
test byte [ecx], 1
jne 0x5656ef
test ebx, ebx
je 0x564ec3
mov eax, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x24]
push eax
push ebx
push edi
lea ecx, [esp + 0x150]
call fcn.0056f200
push eax
lea ecx, [esp + 0x174]
mov byte [esp + 0x204], 1
call fcn.00573740
lea ecx, [esp + 0x144]
mov byte [esp + 0x200], 0
call fcn.0056f230
mov edx, dword [0x67e9dc]
push edx
lea ecx, [esp + 0x174]
call fcn.00574c20
push 0
mov dword [0x67e9ec], eax
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [0x67e9dc]
push eax
mov ecx, esi
call edx
mov dword [0x67e9ec], 0
jmp 0x5656ef
mov ecx, dword [0x67e9dc]
push edi
call fcn.00580950
mov eax, dword [0x67e9dc]
push 0
push 3
push eax
mov ecx, esi
mov dword [0x67e9ec], 3
call fcn.00543e90
mov dword [0x67e9ec], 0
jmp 0x5656ef
fsub qword [ecx]
lea ecx, [esp + 0xec]
push ecx
mov ecx, edi
fstp qword [esp + 0x28]
fild dword [edi + 0x14]
fld qword [0x63d7a8]
fmul st(1), st(0)
fxch st(1)
fchs
fst qword [esp + 0x60]
fild dword [edi + 0x18]
fmulp st(2)
fxch st(1)
fchs
fst qword [esp + 0x68]
fstp qword [esp + 0x80]
fstp qword [esp + 0x78]
call fcn.00519cc0
lea ecx, [esp + 0x30]
call fcn.00517a00
lea ecx, [esp + 0x3c]
call fcn.00517a00
xor eax, eax
lea ecx, [esp + 0x19c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.00517e90
test word [edi + 0x20], 0xfff9
mov byte [esp + 0x200], 2
jne 0x564f7d
mov edx, dword [esp + 0x44]
fld qword [edx]
fdiv qword [esp + 0x54]
jmp 0x564f89
mov eax, dword [esp + 0x44]
fld qword [eax]
fdiv qword [esp + 0x54]
fchs
fst qword [esp + 0x1c]
call fcn.005f6760
fstp qword [esp + 0x6c]
fld qword [esp + 0x1c]
call fcn.005f6766
fld qword [esp + 0x6c]
fld st(0)
mov ecx, dword [esp + 0x38]
test byte [ecx], 1
fld qword [esp + 0x5c]
fmul st(1), st(0)
fld qword [esp + 0x64]
fld st(0)
fmul st(5)
fsubp st(3)
fmulp st(3)
fmulp st(3)
fxch st(1)
faddp st(2)
fst qword [esp + 0xfc]
fstp qword [esp + 0x5c]
fst qword [esp + 0x104]
fstp qword [esp + 0x64]
fld qword [0x62ebc8]
jne 0x5651a9
fld qword [esp + 0x74]
fld st(0)
fld qword [esp + 0x54]
fmul st(1), st(0)
fxch st(1)
fadd qword [esp + 0xec]
fldz
fcom st(1)
fnstsw ax
fxch st(1)
test ah, 0x41
jp 0x56500c
fadd st(4)
jmp 0x56500e
fsub st(4)
call fcn.005f6310
fld qword [esp + 0x7c]
fld st(0)
mov dword [esp + 0x48], eax
fmulp st(3)
fxch st(2)
fadd qword [esp + 0xf4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x565037
faddp st(3)
jmp 0x565039
fsubrp st(3)
fxch st(2)
call fcn.005f6310
fxch st(1)
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x5c], eax
fstp qword [esp]
call fcn.0051ed60
push eax
lea ecx, [esp + 0x34]
call fcn.0051ef50
fld qword [esp + 0x64]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x7c]
fld qword [esp + 0x6c]
fstp qword [esp]
call fcn.0051ed60
push eax
lea ecx, [esp + 0x40]
call fcn.0051ef50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
jne 0x5650a0
cmp ecx, dword [esp + 0x40]
je 0x5651ab
mov dx, word [edi + 0x20]
fld qword [esp + 0x84]
neg eax
sub esp, 8
mov dword [esp + 0x38], eax
fstp qword [esp]
and dx, 0xfff9
neg ecx
movzx eax, dx
push eax
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x1c]
push ecx
lea eax, [esp + 0x4c]
push eax
mov eax, dword [0x67e9dc]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
mov ecx, esi
call fcn.005431c0
test eax, eax
je 0x56519d
test ebx, ebx
je 0x565182
lea ecx, [esp + 0x19c]
push ecx
mov ecx, dword [0x67e9dc]
call fcn.00580b30
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
push eax
push ecx
lea edx, [esp + 0x1a4]
push edx
lea ecx, [esp + 0x150]
call fcn.0056f200
push eax
lea ecx, [esp + 0x174]
mov byte [esp + 0x204], 3
call fcn.00573740
lea ecx, [esp + 0x144]
mov byte [esp + 0x200], 2
call fcn.0056f230
push 0x67e9dc
lea ecx, [esp + 0x174]
call fcn.00564980
add esp, 4
push 0
mov dword [0x67e9ec], eax
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [0x67e9dc]
push eax
mov ecx, esi
call edx
mov dword [0x67e9ec], 0
jmp 0x5651ab
mov eax, dword [0x67e9dc]
push 0
push 3
push eax
mov ecx, esi
mov dword [0x67e9ec], 3
call fcn.00543e90
mov dword [0x67e9ec], 0
jmp 0x5651ab
fstp st(0)
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x50]
jle 0x5651bb
xor eax, eax
jmp 0x5651bc
inc eax
mov dword [ecx], eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x78]
call fcn.005f9740
fld qword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
fsub qword [esp + eax*8 + 0x114]
mov dword [esp + 0x1c], 1
fst qword [esp + 0x24]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
je 0x565473
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, eax
shl edx, 4
fld qword [esp + edx + 0x8c]
lea ecx, [esp + edx + 0x8c]
fld qword [ecx + 8]
fld st(1)
fld qword [esp + 0xfc]
fmul st(1), st(0)
fld qword [esp + 0x104]
fld st(0)
fmul st(4)
fsubp st(3)
fmulp st(4)
fmulp st(2)
fxch st(2)
faddp st(1)
fxch st(1)
fst qword [esp + 0xfc]
fstp qword [esp + 0x5c]
fst qword [esp + 0x104]
fstp qword [esp + 0x64]
test al, 1
jne 0x56542a
fld qword [esp + 0x74]
fld st(0)
fld qword [esp + 0x54]
fmul st(1), st(0)
fxch st(1)
fadd qword [esp + 0xec]
fcom st(3)
fnstsw ax
fld qword [0x62ebc8]
test ah, 1
jne 0x565286
fadd st(1), st(0)
jmp 0x565288
fsub st(1), st(0)
fxch st(1)
call fcn.005f6310
fld qword [esp + 0x7c]
fld st(0)
mov dword [esp + 0x48], eax
fmulp st(3)
fxch st(2)
fadd qword [esp + 0xf4]
fcom st(4)
fnstsw ax
fstp st(4)
test ah, 1
jne 0x5652b3
faddp st(3)
jmp 0x5652b5
fsubp st(3)
fxch st(2)
call fcn.005f6310
fxch st(1)
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x5c], eax
fstp qword [esp]
call fcn.0051ed60
push eax
lea ecx, [esp + 0x34]
call fcn.0051ef50
fld qword [esp + 0x64]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x11c]
fld qword [esp + 0x6c]
fstp qword [esp]
call fcn.0051ed60
push eax
lea ecx, [esp + 0x40]
call fcn.0051ef50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
jne 0x56531f
cmp ecx, dword [esp + 0x40]
je 0x56542c
fld qword [esp + 0x84]
neg eax
mov dword [esp + 0x30], eax
mov ax, word [edi + 0x20]
sub esp, 8
neg ecx
fstp qword [esp]
and ax, 0xfff9
movzx eax, ax
push eax
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x1c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [0x67e9dc]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x60]
push eax
push ecx
mov ecx, esi
call fcn.005431c0
test eax, eax
je 0x56541e
test ebx, ebx
je 0x565403
mov ecx, dword [0x67e9dc]
lea edx, [esp + 0x19c]
push edx
call fcn.00580b30
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
push eax
push ecx
lea eax, [esp + 0x1a4]
push eax
lea ecx, [esp + 0x150]
call fcn.0056f200
push eax
lea ecx, [esp + 0x174]
mov byte [esp + 0x204], 4
call fcn.00573740
lea ecx, [esp + 0x144]
mov byte [esp + 0x200], 2
call fcn.0056f230
push 0x67e9dc
lea ecx, [esp + 0x174]
call fcn.00564980
mov ecx, dword [0x67e9dc]
add esp, 4
push 0
push eax
mov dword [0x67e9ec], eax
mov edx, dword [esi + 0x34]
push ecx
mov ecx, esi
call edx
mov dword [0x67e9ec], 0
jmp 0x56542c
mov eax, dword [0x67e9dc]
push 0
push 3
push eax
mov ecx, esi
mov dword [0x67e9ec], 3
call fcn.00543e90
mov dword [0x67e9ec], 0
jmp 0x56542c
fstp st(0)
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x50]
jle 0x56543c
xor eax, eax
jmp 0x56543d
inc eax
mov dword [ecx], eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x78]
call fcn.005f9740
fld qword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
fsub qword [esp + eax*8 + 0x114]
fst qword [esp + 0x24]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x565202
mov ecx, dword [esp + 0x38]
test byte [ecx], 1
jne 0x5656cd
fld qword [esp + 0x74]
fld st(0)
fld qword [esp + 0x54]
fmul st(1), st(0)
fxch st(1)
fadd qword [esp + 0xec]
fcom st(3)
fnstsw ax
fld qword [0x62ebc8]
test ah, 1
jne 0x5654a8
fadd st(1), st(0)
jmp 0x5654aa
fsub st(1), st(0)
fxch st(1)
call fcn.005f6310
fld qword [esp + 0x7c]
fld st(0)
mov dword [esp + 0x48], eax
fmulp st(3)
fxch st(2)
fadd qword [esp + 0xf4]
fcom st(4)
fnstsw ax
fstp st(4)
test ah, 1
jne 0x5654d5
faddp st(3)
jmp 0x5654d7
fsubp st(3)
fxch st(2)
call fcn.005f6310
fxch st(1)
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x11c]
mov dword [esp + 0x5c], eax
fstp qword [esp]
call fcn.0051ed60
push eax
lea ecx, [esp + 0x34]
call fcn.0051ef50
mov ecx, edi
call fcn.005189c0
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.00518990
sub esp, 8
lea ecx, [esp + 0x11c]
fstp qword [esp]
call fcn.0051ed60
push eax
lea ecx, [esp + 0x40]
call fcn.0051ef50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
jne 0x56554c
cmp ecx, dword [esp + 0x40]
je 0x565658
mov dx, word [edi + 0x20]
fld qword [esp + 0x84]
mov edi, dword [edi + 0x1c]
neg eax
sub esp, 8
mov dword [esp + 0x38], eax
fstp qword [esp]
and dx, 0xfff9
movzx eax, dx
push eax
neg ecx
push edi
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x4c]
push eax
mov eax, dword [0x67e9dc]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
mov ecx, esi
call fcn.005431c0
test eax, eax
je 0x56564c
test ebx, ebx
je 0x565631
lea ecx, [esp + 0x19c]
push ecx
mov ecx, dword [0x67e9dc]
call fcn.00580b30
mov eax, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x24]
push eax
push ebx
lea edx, [esp + 0x1a4]
push edx
lea ecx, [esp + 0x150]
call fcn.0056f200
push eax
lea ecx, [esp + 0x174]
mov byte [esp + 0x204], 5
call fcn.00573740
lea ecx, [esp + 0x144]
mov byte [esp + 0x200], 2
call fcn.0056f230
push 0x67e9dc
lea ecx, [esp + 0x174]
call fcn.00564980
add esp, 4
push 0
mov dword [0x67e9ec], eax
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [0x67e9dc]
push eax
mov ecx, esi
call edx
mov dword [0x67e9ec], 0
jmp 0x5656cf
mov eax, dword [0x67e9dc]
push 0
push 3
push eax
mov ecx, esi
mov dword [0x67e9ec], 3
call fcn.00543e90
mov dword [0x67e9ec], 0
jmp 0x5656cf
fldz
mov ecx, dword [esp + 0x44]
fcomp qword [ecx]
fnstsw ax
test ah, 0x44
jp 0x5656cf
cmp dword [esp + 0x1c], 1
jne 0x5656cf
mov ecx, edi
call fcn.00517e70
cmp ax, 2
jne 0x5656cf
test ebx, ebx
je 0x5656a4
mov edx, dword [0x67e9dc]
push edx
mov ecx, ebx
call fcn.00574c20
push 0
mov dword [0x67e9ec], eax
mov edx, dword [esi + 0x34]
push eax
mov eax, dword [0x67e9dc]
push eax
mov ecx, esi
call edx
jmp 0x5656cf
mov ecx, dword [0x67e9dc]
push edi
call fcn.00580950
mov eax, dword [0x67e9dc]
push 0
push 3
push eax
mov ecx, esi
mov dword [0x67e9ec], 3
call fcn.00543e90
jmp 0x5656cf
fstp st(0)
fld qword [esp + 0x24]
mov ecx, dword [esp + 0x44]
fchs
mov byte [esp + 0x200], 0
fstp qword [ecx]
lea ecx, [esp + 0x19c]
call fcn.00518980
lea ecx, [esp + 0x170]
mov dword [esp + 0x200], 0xffffffff
call fcn.0056f230
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.005f617e
mov esp, ebp
pop ebp
ret 0x10