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

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x68
mov dword [0x97858c], 0
push 0
push 8
mov dword [0x9b5f74], 0
call fcn.00649ba0
pop ecx
pop ecx
push 1
push 6
call fcn.00649ba0
pop ecx
pop ecx
push 1
push 0xc
call fcn.00649ba0
pop ecx
pop ecx
push 3
push 2
call fcn.00649ba0
movzx esi, word [0xa10aac]
xor eax, eax
pop ecx
pop ecx
test esi, esi
jle 0x56cdd1
cmp esi, 8
lea ecx, [esi - 8]
jle 0x56cdaa
mov edx, 0x868c70
lea eax, [eax]
mov ebp, eax
mov bl, byte [edx + 0x32]
inc ebp
and bl, 0xfd
mov byte [edx + 0x32], bl
lea esi, [ebp*4]
lea esi, [esi + esi*2]
add edx, 0x1a0
add esi, ebp
mov bl, byte [esi*4 + 0x868ca2]
and bl, 0xfd
mov byte [esi*4 + 0x868ca2], bl
lea ebp, [eax + 2]
lea esi, [ebp*4]
lea esi, [esi + esi*2]
add esi, ebp
mov bl, byte [esi*4 + 0x868ca2]
and bl, 0xfd
mov byte [esi*4 + 0x868ca2], bl
lea ebp, [eax + 3]
lea esi, [ebp*4]
lea esi, [esi + esi*2]
add esi, ebp
mov bl, byte [esi*4 + 0x868ca2]
and bl, 0xfd
mov byte [esi*4 + 0x868ca2], bl
lea ebp, [eax + 4]
lea esi, [ebp*4]
lea esi, [esi + esi*2]
add esi, ebp
mov bl, byte [esi*4 + 0x868ca2]
and bl, 0xfd
mov byte [esi*4 + 0x868ca2], bl
lea ebp, [eax + 5]
lea esi, [ebp*4]
lea esi, [esi + esi*2]
add esi, ebp
mov bl, byte [esi*4 + 0x868ca2]
and bl, 0xfd
mov byte [esi*4 + 0x868ca2], bl
lea ebp, [eax + 6]
lea esi, [ebp*4]
lea esi, [esi + esi*2]
add esi, ebp
mov bl, byte [esi*4 + 0x868ca2]
and bl, 0xfd
mov byte [esi*4 + 0x868ca2], bl
lea ebp, [eax + 7]
lea esi, [ebp*4]
add eax, 8
lea esi, [esi + esi*2]
add esi, ebp
mov bl, byte [esi*4 + 0x868ca2]
and bl, 0xfd
cmp eax, ecx
mov byte [esi*4 + 0x868ca2], bl
jl 0x56ccb0
mov ebp, eax
imul ebp, ebp, 0x34
movzx esi, word [0xa10aac]
add ebp, 0x868c70
jmp 0x56cdcd
mov bl, byte [ebp + 0x32]
and bl, 0xfd
mov byte [ebp + 0x32], bl
add ebp, 0x34
inc eax
cmp eax, esi
jl 0x56cdc0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x868c70
jmp 0x56d391
mov eax, dword [esp + 0x38]
mov al, byte [eax + 0x32]
shr al, 1
and al, 1
jne 0x56d383
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 0x868c9e]
dec eax
cmp eax, 2
ja case.default.0x56ce12
jmp dword [eax*4 + 0x698fa4]
push 5
push 0xa
call fcn.00649ba0
pop ecx
pop ecx
push 6
jmp 0x56ce44
push 2
push 0xa
call fcn.00649ba0
pop ecx
pop ecx
push 2
jmp 0x56ce44
push 1
push 0xa
call fcn.00649ba0
pop ecx
pop ecx
push 4
push 0xb
call fcn.00649ba0
pop ecx
pop ecx
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x868c94]
mov eax, dword [esi]
push eax
push 1
call fcn.00649ba0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], 0x868c70
mov dword [esp + 0x34], eax
pop ecx
imul eax, eax, 0x34
pop ecx
add dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
jmp 0x56d320
mov eax, dword [esp + 0x28]
mov dl, byte [eax + 0x868c9e]
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x868c9e]
cmp dl, al
fldz
fldz
fldz
jne 0x56d3f0
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + 0x868c94]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x868c94]
cmp ebx, eax
jne 0x56d400
mov eax, dword [esp + 0x18]
fld dword [eax + 0x868c84]
fabs
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
mov eax, dword [esp + 0x18]
fstp st(3)
fld dword [eax + 0x868c7c]
fabs
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp st(2)
mov eax, dword [esp + 0x18]
fld st(1)
fadd st(3)
fstp st(3)
fld dword [eax + 0x868c88]
fabs
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
mov eax, dword [esp + 0x18]
fstp st(2)
fld dword [eax + 0x868c80]
fabs
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
mov eax, dword [esp + 0x18]
fst st(1)
fadd st(2)
fstp st(2)
fld dword [eax + 0x868c70]
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x5c]
fld dword [eax + 0x868c74]
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x60]
fld dword [eax + 0x868c78]
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
fsub st(3)
fstp dword [esp + 0x40]
fld dword [esp + 0x5c]
fadd st(3)
fstp dword [esp + 0x44]
fld dword [esp + 0x60]
fstp st(3)
fld st(2)
fsub st(2)
fstp dword [esp + 0x48]
fld st(2)
fadd st(2)
fstp dword [esp + 0x4c]
fld dword [esp + 0x40]
fmul dword [0x698de8]
fadd dword [0x698dec]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
fldcw word [esp + 0x3c]
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp + 0xc], eax
jg 0x56cfc5
mov dword [esp + 0xc], 0
fld dword [esp + 0x48]
fmul dword [0x698de8]
fadd dword [0x698dc0]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
fldcw word [esp + 0x3c]
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp + 8], eax
jg 0x56d006
mov dword [esp + 8], 0
fld dword [esp + 0x44]
fmul dword [0x698de8]
fadd dword [0x698dec]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
fldcw word [esp + 0x3c]
mov eax, dword [esp + 0x50]
cmp eax, 0x4f
mov dword [esp + 0x14], eax
jl 0x56d048
mov dword [esp + 0x14], 0x4f
fld dword [esp + 0x4c]
fmul dword [0x698de8]
fadd dword [0x698dc0]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
fldcw word [esp + 0x3c]
mov eax, dword [esp + 0x50]
cmp eax, 0x4f
mov dword [esp + 0x1c], eax
jl 0x56d08a
mov dword [esp + 0x1c], 0x4f
cmp word [0xa1098e], 0xffff
jae 0x56d0a0
inc word [0xa1098e]
jmp 0x56d3e0
fcompp
fstp st(0)
call fcn.004d7460
mov word [0xa1098e], 1
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jg 0x56d302
imul eax, eax, 0x50
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0xc]
mov eax, edi
cmp eax, dword [esp + 0x14]
jg 0x56d2eb
mov ebp, edi
add ebp, dword [esp + 8]
mov esi, dword [esp + 0x20]
lea eax, [eax]
mov ebx, ebp
mov eax, dword [esi + 0x28]
imul ebx, ebx, 0x28
add ebx, 0x792d30
test eax, eax
je 0x56d1b0
mov dl, byte [esi + 0x31]
push eax
mov al, byte [esi + 0x30]
mov cl, byte [esi + 0x2f]
push 0
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edx
push eax
mov ax, word [esi + 0x2c]
push ecx
push eax
lea eax, [esp + 0x7c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
push dword [esp + 0x80]
push dword [esp + 0x7c]
push dword [esp + 0x84]
push dword [esp + 0x80]
push ebx
call fcn.0056b8a0
mov eax, dword [esi + 0x28]
add esp, 0x48
mov dl, byte [esi + 0x31]
push eax
mov al, byte [esi + 0x30]
mov cl, byte [esi + 0x2f]
push 0
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edx
push eax
mov ax, word [esi + 0x2c]
push ecx
add ebx, 4
push eax
lea eax, [esp + 0x7c]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
push dword [esp + 0x80]
push dword [esp + 0x7c]
push dword [esp + 0x84]
push dword [esp + 0x80]
push ebx
call fcn.0056b8a0
add esp, 0x48
jmp 0x56d2df
mov al, byte [esi + 0x32]
shr al, 2
and al, 1
je 0x56d250
mov al, byte [esi + 0x30]
mov dl, byte [esi + 0x31]
mov cl, byte [esi + 0x2f]
push 0
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edx
push eax
mov ax, word [esi + 0x2c]
push ecx
push eax
lea eax, [esp + 0x78]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x7c]
push ebx
call fcn.0056bfe0
mov al, byte [esi + 0x30]
add esp, 0x44
mov dl, byte [esi + 0x31]
mov cl, byte [esi + 0x2f]
push 0
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edx
push eax
mov ax, word [esi + 0x2c]
push ecx
push eax
lea eax, [esp + 0x78]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
lea eax, [ebx + 4]
push dword [esp + 0x7c]
push dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x7c]
push eax
call fcn.0056bfe0
jmp 0x56d2dc
mov al, byte [esi + 0x30]
mov dl, byte [esi + 0x31]
mov cl, byte [esi + 0x2f]
push 0
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edx
push eax
mov ax, word [esi + 0x2c]
push ecx
push eax
lea eax, [esp + 0x78]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x7c]
push ebx
call fcn.0056c190
mov al, byte [esi + 0x30]
add esp, 0x44
mov dl, byte [esi + 0x31]
mov cl, byte [esi + 0x2f]
push 0
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edx
push eax
mov ax, word [esi + 0x2c]
push ecx
push eax
lea eax, [esp + 0x78]
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
lea eax, [ebx + 4]
push dword [esp + 0x7c]
push dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x7c]
push eax
call fcn.0056c190
add esp, 0x44
inc edi
inc ebp
cmp edi, dword [esp + 0x14]
jle 0x56d0f0
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 8], 0x50
cmp eax, dword [esp + 0x1c]
jle 0x56d0d3
mov eax, dword [esp + 0x24]
mov dl, byte [eax + 0x32]
and dl, 0xfd
or dl, 2
mov byte [eax + 0x32], dl
add dword [esp + 0x24], 0x34
add dword [esp + 0x18], 0x34
inc dword [esp + 0x2c]
movzx eax, word [0xa10aac]
cmp dword [esp + 0x2c], eax
jl 0x56ce90
cmp dword [0x9b5f74], 0
je 0x56d36f
mov eax, dword [0x9b5f74]
push 1
push 0
push eax
push 0x7e9e08
call fcn.0065ae90
add esp, 0x10
test eax, eax
je 0x56d36f
mov eax, dword [0x97858c]
push eax
push 0x933bc0
push 3
call fcn.0065af90
add esp, 0xc
call fcn.0065af60
mov dword [0x9b5f74], 0
mov dword [0x97858c], 0
add dword [esp + 0x30], 0x34
add dword [esp + 0x38], 0x34
inc dword [esp + 0x34]
movzx eax, word [0xa10aac]
cmp dword [esp + 0x34], eax
jl 0x56cdf0
push 0
push 0xc
call fcn.00649ba0
pop ecx
pop ecx
push 1
push 8
call fcn.00649ba0
pop ecx
pop ecx
push 1
push 6
call fcn.00649ba0
pop ecx
pop ecx
push 1
push 2
call fcn.00649ba0
pop ecx
pop ecx
add esp, 0x68
mov word [0xa10aac], 0
pop ebp
pop edi
pop esi
pop ebx
ret
fcompp
fstp st(0)
jmp 0x56d0b2
fcompp
fstp st(0)
jmp 0x56d312
fcompp
fstp st(0)
jmp 0x56d312