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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
mov eax, dword [0x6c7190]
and eax, 0xffff
push ebx
push esi
push edi
lea esi, [eax + eax*2]
mov edi, dword [ebp + 0x10]
shl esi, 0xd
lea ebx, [ebp - 4]
add esi, eax
shl esi, 3
add esi, 0x70995c
cmp dword [0x6c718c], 0
je 0x56b373
cmp dword [esi], 0
jne 0x56b37b
or eax, 0xffffffff
jmp 0x56c6ab
cmp dword [0x70991c], 0
je 0x56b38b
xor eax, eax
jmp 0x56c6ab
cmp dword [ebp + 0x18], 1
jne 0x56b3bd
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x8c], edx
fild dword [ebp - 0x8c]
fstp dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
fstp dword [ebp + 0xc]
jmp 0x56b3d5
push dword [ebp + 8]
call fcn.0045eb90
pop ecx
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
call fcn.0045eb90
pop ecx
mov dword [ebp - 0x24], eax
fld dword [ebp + 8]
fsub dword [0x56c6b4]
fstp dword [ebp - 0x48]
fld dword [ebp + 0xc]
fsub dword [0x56c6b4]
fstp dword [ebp - 0x4c]
fild dword [0x662b34]
fadd dword [ebp - 0x48]
fstp dword [ebp - 0x48]
fild dword [0x662b38]
fadd dword [ebp - 0x4c]
fstp dword [ebp - 0x4c]
cmp dword [esi + 0xa4], 0
jne 0x56b418
mov eax, dword [0x6c7190]
call fcn.00566688
mov edx, dword [edi + 0x1c]
and edx, 0xf8000000
cmp edx, 0x30000000
jne 0x56b454
mov ecx, dword [edi + 0x1c]
and ecx, 0xffff
mov eax, dword [ecx*4 + 0x6c728c]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x56b454
mov edx, dword [ebp - 0xc]
mov eax, dword [edi + 0x1c]
and eax, 0x7ff0000
mov ecx, dword [edx]
shl ecx, 0x10
cmp ecx, eax
je 0x56b45c
or eax, 0xffffffff
jmp 0x56c6ab
mov edx, dword [ebp + 0x18]
add edx, edx
or edx, dword [ebp + 0x14]
cmp dword [0x662b6c], 0
je 0x56b474
mov ecx, 4
jmp 0x56b476
xor ecx, ecx
or edx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00568938
mov edx, dword [0x7072b0]
mov ecx, dword [0x662b7c]
mov dword [ebp - 0x14], edx
lea edx, [edi + 0x1c]
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov edx, dword [0x662b4c]
mov eax, dword [edi + 0x268]
inc edx
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
sub eax, edx
mov edx, dword [0x662b44]
inc ecx
sub edx, ecx
mov ecx, dword [edi + 0x26c]
and eax, edx
mov edx, dword [0x662b50]
add ecx, dword [ebp - 0x24]
inc edx
sub ecx, edx
mov edx, dword [0x662b48]
and eax, ecx
mov ecx, dword [ebp - 0x24]
inc ecx
sub edx, ecx
and eax, edx
test eax, 0x80000000
je 0x56bce1
mov eax, dword [esi + 0xd8]
dec eax
je 0x56b94c
dec eax
jne 0x56c69b
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jge 0x56c69b
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx]
and ecx, 0xf8000000
cmp ecx, 0x30000000
jne 0x56b556
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
and edx, 0xffff
mov ecx, dword [edx*4 + 0x6c728c]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x56b556
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
shl edx, 0x10
mov ecx, dword [eax]
and ecx, 0x7ff0000
cmp edx, ecx
je 0x56b55e
or eax, 0xffffffff
jmp 0x56c6ab
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x90]
and ecx, 0xffff
mov eax, dword [ecx*4 + 0x682d80]
mov dword [ebp - 0x10], eax
add dword [ebp - 0x50], 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [esi + 0x10]
je 0x56b6ec
mov eax, dword [0x6c7190]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x58]
and eax, 0xffff
lea edx, [eax + eax*2]
shl edx, 0xd
add edx, eax
shl edx, 3
add edx, 0x70995c
cmp dword [0x6c718c], 0
mov dword [ebp - 0x60], edx
je 0x56b6ec
mov ecx, dword [ebp - 0x60]
cmp dword [ecx], 0
je 0x56b6ec
mov eax, dword [ebp - 0x60]
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp - 0x5c]
jne 0x56b5eb
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 0x40], 0
jne 0x56b5eb
xor eax, eax
jmp 0x56b6ec
mov edx, dword [ebp - 0x58]
and edx, 0xffff
lea ecx, [edx + edx*2]
shl ecx, 0xd
add ecx, edx
shl ecx, 3
add ecx, 0x70995c
cmp dword [0x6c718c], 0
mov dword [ebp - 0x64], ecx
je 0x56b619
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0
jne 0x56b621
or edx, 0xffffffff
jmp 0x56b6af
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0xd4], 0
je 0x56b686
call fcn.0045f350
test eax, eax
jne 0x56b686
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x3c], 0
jne 0x56b686
push 0
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx + 0xd4]
push ecx
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0xd8]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + edx*4 + 0xf8]
push eax
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx + 0xd8]
mov eax, dword [ecx*4 + 0x5f3ee8]
push eax
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx + 0xdc]
push ecx
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dword [eax + 0xd4], edx
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0xd8]
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx + eax*4 + 0xf8]
mov eax, dword [ebp - 0x64]
mov dword [eax + 0xd0], ecx
xor edx, edx
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x38], 1
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x10], 0
jne 0x56b6c8
cmp dword [ebp - 0x5c], 0
jne 0x56b6d7
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x10], 0
je 0x56b6e1
cmp dword [ebp - 0x5c], 0
jne 0x56b6e1
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x34], 1
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x10], edx
xor eax, eax
cmp dword [esi + 0x34], 0
jne 0x56b6f8
cmp dword [esi + 0x38], 0
je 0x56b705
mov edx, dword [0x6c7190]
push edx
call fcn.00565aa0
pop ecx
cmp dword [esi + 0xd4], 0
je 0x56b77f
cmp dword [esi + 0xdc], 4
jne 0x56b72f
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xd4]
add ecx, 6
cmp ecx, dword [eax*4 + 0x5f3edc]
jle 0x56b77f
push 0
mov edx, dword [esi + 0xd4]
push edx
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + ecx*4 + 0xf8]
push eax
mov edx, dword [esi + 0xd8]
mov ecx, dword [edx*4 + 0x5f3ee8]
push ecx
mov eax, dword [esi + 0xdc]
push eax
mov edx, dword [esi + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x64]
xor eax, eax
mov dword [esi + 0xd4], eax
mov edx, dword [esi + 0xd8]
mov ecx, dword [esi + edx*4 + 0xf8]
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xdc], 4
mov eax, dword [esi + 0xd0]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, 0x18
mov dword [ecx + 0x88], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
fld dword [ebp - 0x48]
fadd dword [edx]
mov eax, dword [ebp - 8]
fst dword [eax]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x50]
mov eax, dword [ebp - 8]
fstp dword [eax + 0xa0]
fld dword [ebp - 0x48]
fadd dword [edx + 0x1c]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x28]
mov eax, dword [ebp - 8]
fst dword [eax + 0x78]
mov ecx, dword [ebp - 8]
fstp dword [ecx + 0xc8]
fld dword [ebp - 0x4c]
fadd dword [edx + 4]
mov eax, dword [ebp - 8]
fst dword [eax + 4]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
fstp dword [eax + 0xcc]
fld dword [ebp - 0x4c]
fadd dword [edx + 0x3c]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x54]
mov eax, dword [ebp - 8]
fst dword [eax + 0x7c]
mov ecx, dword [ebp - 8]
fstp dword [ecx + 0xa4]
fld dword [edx]
fmul dword [0x7072a8]
mov eax, dword [ebp - 8]
fst dword [eax + 0x18]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x68]
mov eax, dword [ebp - 8]
fstp dword [eax + 0xb8]
fld dword [edx + 0x1c]
fmul dword [0x7072a8]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x40]
mov eax, dword [ebp - 8]
fst dword [eax + 0x90]
mov ecx, dword [ebp - 8]
fstp dword [ecx + 0xe0]
fld dword [edx + 4]
fmul dword [0x7072ac]
mov eax, dword [ebp - 8]
fst dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x44]
mov eax, dword [ebp - 8]
fstp dword [eax + 0xe4]
fld dword [edx + 0x3c]
fmul dword [0x7072ac]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x6c]
mov eax, dword [ebp - 8]
fst dword [eax + 0x94]
mov ecx, dword [ebp - 8]
fstp dword [ecx + 0xbc]
mov eax, dword [ebp - 8]
fld dword [edx + 0x14]
fst dword [eax + 0x20]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x70]
mov eax, dword [ebp - 8]
fstp dword [eax + 0xc0]
mov ecx, dword [ebp - 8]
fld dword [edx + 0x30]
fst dword [ecx + 0x48]
mov eax, dword [ebp - 8]
fst dword [eax + 0x98]
mov ecx, dword [ebp - 8]
fstp dword [ecx + 0xe8]
mov eax, dword [ebp - 8]
fld dword [edx + 0x18]
fst dword [eax + 0x24]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x4c]
mov eax, dword [ebp - 8]
fstp dword [eax + 0xec]
fld dword [edx + 0x50]
mov edx, dword [ebp - 8]
fst dword [edx + 0x74]
mov ecx, dword [ebp - 8]
fst dword [ecx + 0x9c]
mov eax, dword [ebp - 8]
fstp dword [eax + 0xc4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x54]
mov dword [edx + 0xd0], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0xa8], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x80], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ecx
add dword [esi + 0xd0], 0xf0
add dword [esi + 0xd4], 6
inc dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jl 0x56b513
jmp 0x56c69b
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jge 0x56c69b
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
and eax, 0xf8000000
cmp eax, 0x30000000
jne 0x56b99e
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx]
and ecx, 0xffff
mov eax, dword [ecx*4 + 0x6c728c]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x56b99e
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x50]
mov ecx, dword [edx]
mov edx, dword [eax]
shl ecx, 0x10
and edx, 0x7ff0000
cmp ecx, edx
je 0x56b9a6
or eax, 0xffffffff
jmp 0x56c6ab
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x90]
and ecx, 0xffff
mov eax, dword [ecx*4 + 0x682d80]
mov dword [ebp - 0x10], eax
add dword [ebp - 0x50], 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [esi + 0x10]
je 0x56bb34
mov eax, dword [0x6c7190]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x68]
and eax, 0xffff
lea edx, [eax + eax*2]
shl edx, 0xd
add edx, eax
shl edx, 3
add edx, 0x70995c
cmp dword [0x6c718c], 0
mov dword [ebp - 0x70], edx
je 0x56bb34
mov ecx, dword [ebp - 0x70]
cmp dword [ecx], 0
je 0x56bb34
mov eax, dword [ebp - 0x70]
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp - 0x6c]
jne 0x56ba33
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x40], 0
jne 0x56ba33
xor eax, eax
jmp 0x56bb34
mov edx, dword [ebp - 0x68]
and edx, 0xffff
lea ecx, [edx + edx*2]
shl ecx, 0xd
add ecx, edx
shl ecx, 3
add ecx, 0x70995c
cmp dword [0x6c718c], 0
mov dword [ebp - 0x74], ecx
je 0x56ba61
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
jne 0x56ba69
or edx, 0xffffffff
jmp 0x56baf7
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0xd4], 0
je 0x56bace
call fcn.0045f350
test eax, eax
jne 0x56bace
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x3c], 0
jne 0x56bace
push 0
mov edx, dword [ebp - 0x74]
mov ecx, dword [edx + 0xd4]
push ecx
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0xd8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + edx*4 + 0xf8]
push eax
mov edx, dword [ebp - 0x74]
mov ecx, dword [edx + 0xd8]
mov eax, dword [ecx*4 + 0x5f3ee8]
push eax
mov edx, dword [ebp - 0x74]
mov ecx, dword [edx + 0xdc]
push ecx
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x74]
xor edx, edx
mov dword [eax + 0xd4], edx
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 0xd8]
mov edx, dword [ebp - 0x74]
mov ecx, dword [edx + eax*4 + 0xf8]
mov eax, dword [ebp - 0x74]
mov dword [eax + 0xd0], ecx
xor edx, edx
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x38], 1
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x10], 0
jne 0x56bb10
cmp dword [ebp - 0x6c], 0
jne 0x56bb1f
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0x10], 0
je 0x56bb29
cmp dword [ebp - 0x6c], 0
jne 0x56bb29
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x34], 1
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x10], edx
xor eax, eax
cmp dword [esi + 0x34], 0
jne 0x56bb40
cmp dword [esi + 0x38], 0
je 0x56bb4d
mov edx, dword [0x6c7190]
push edx
call fcn.00565aa0
pop ecx
cmp dword [esi + 0xd4], 0
je 0x56bbc7
cmp dword [esi + 0xdc], 4
jne 0x56bb77
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xd4]
add ecx, 6
cmp ecx, dword [eax*4 + 0x5f3edc]
jle 0x56bbc7
push 0
mov edx, dword [esi + 0xd4]
push edx
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + ecx*4 + 0xf8]
push eax
mov edx, dword [esi + 0xd8]
mov ecx, dword [edx*4 + 0x5f3ee8]
push ecx
mov eax, dword [esi + 0xdc]
push eax
mov edx, dword [esi + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x64]
xor eax, eax
mov dword [esi + 0xd4], eax
mov edx, dword [esi + 0xd8]
mov ecx, dword [esi + edx*4 + 0xf8]
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xdc], 4
mov eax, dword [esi + 0xd0]
mov dword [ebx], eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, 0x18
mov dword [ecx + 0x64], eax
mov ecx, dword [ebx]
mov dword [ecx + 0x10], eax
fld dword [edx]
fadd dword [ebp - 0x48]
mov eax, dword [ebx]
fst dword [eax]
mov ecx, dword [ebx]
fst dword [ecx + 0x38]
mov eax, dword [ebx]
fstp dword [eax + 0x70]
fld dword [edx + 0x1c]
fadd dword [ebp - 0x48]
mov ecx, dword [ebx]
fst dword [ecx + 0x1c]
mov eax, dword [ebx]
fst dword [eax + 0x54]
mov ecx, dword [ebx]
fstp dword [ecx + 0x8c]
fld dword [edx + 4]
fadd dword [ebp - 0x4c]
mov eax, dword [ebx]
fst dword [eax + 4]
mov ecx, dword [ebx]
fst dword [ecx + 0x20]
mov eax, dword [ebx]
fstp dword [eax + 0x90]
fld dword [edx + 0x3c]
fadd dword [ebp - 0x4c]
mov ecx, dword [ebx]
fst dword [ecx + 0x3c]
mov eax, dword [ebx]
fst dword [eax + 0x58]
mov ecx, dword [ebx]
fstp dword [ecx + 0x74]
mov eax, dword [ebx]
fld dword [edx + 0x14]
fst dword [eax + 0x14]
mov ecx, dword [ebx]
fst dword [ecx + 0x4c]
mov eax, dword [ebx]
fstp dword [eax + 0x84]
mov ecx, dword [ebx]
fld dword [edx + 0x30]
fst dword [ecx + 0x30]
mov eax, dword [ebx]
fst dword [eax + 0x68]
mov ecx, dword [ebx]
fstp dword [ecx + 0xa0]
mov eax, dword [ebx]
fld dword [edx + 0x18]
fst dword [eax + 0x18]
mov ecx, dword [ebx]
fst dword [ecx + 0x34]
mov eax, dword [ebx]
fstp dword [eax + 0xa4]
fld dword [edx + 0x50]
mov edx, dword [ebx]
fst dword [edx + 0x50]
mov ecx, dword [ebx]
fst dword [ecx + 0x6c]
mov eax, dword [ebx]
fstp dword [eax + 0x88]
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x54]
mov dword [edx + 0x94], ecx
mov eax, dword [ebx]
mov dword [eax + 0x78], ecx
mov eax, dword [ebx]
mov dword [eax + 0x5c], ecx
mov eax, dword [ebx]
mov dword [eax + 0x40], ecx
mov eax, dword [ebx]
mov dword [eax + 0x24], ecx
mov eax, dword [ebx]
mov dword [eax + 8], ecx
add dword [esi + 0xd0], 0xa8
add dword [esi + 0xd4], 6
inc dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jl 0x56b95d
jmp 0x56c69b
mov eax, dword [ebp - 0x20]
mov edx, dword [0x662b4c]
inc eax
mov ecx, dword [edi + 0x268]
sub edx, eax
mov eax, dword [0x662b44]
add ecx, dword [ebp - 0x20]
inc eax
sub ecx, eax
mov eax, dword [0x662b50]
and edx, ecx
mov ecx, dword [ebp - 0x24]
inc ecx
sub eax, ecx
mov ecx, dword [edi + 0x26c]
and edx, eax
mov eax, dword [0x662b48]
add ecx, dword [ebp - 0x24]
inc eax
sub ecx, eax
and edx, ecx
test edx, 0x80000000
je 0x56bd2f
xor eax, eax
jmp 0x56c6ab
fild dword [0x662b34]
fadd dword [0x662b54]
fstp dword [ebp - 0x28]
fild dword [0x662b38]
fadd dword [0x662b58]
fstp dword [ebp - 0x30]
fild dword [0x662b34]
fadd dword [0x662b5c]
fstp dword [ebp - 0x2c]
fild dword [0x662b38]
fadd dword [0x662b60]
fstp dword [ebp - 0x34]
mov edx, dword [esi + 0xd8]
dec edx
je 0x56c256
dec edx
jne 0x56c69b
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jge 0x56c69b
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov edx, eax
and edx, 0xf8000000
cmp edx, 0x30000000
jne 0x56bdcc
mov ecx, eax
and ecx, 0xffff
mov edx, dword [ecx*4 + 0x6c728c]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x56bdcc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
shl edx, 0x10
and eax, 0x7ff0000
cmp edx, eax
je 0x56bdd4
or eax, 0xffffffff
jmp 0x56c6ab
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x90]
and eax, 0xffff
mov edx, dword [eax*4 + 0x682d80]
mov dword [ebp - 0x10], edx
add dword [ebp - 0x50], 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [esi + 0x10]
je 0x56bf1b
mov edx, dword [0x6c7190]
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x78]
and edx, 0xffff
lea edi, [edx + edx*2]
shl edi, 0xd
add edi, edx
shl edi, 3
add edi, 0x70995c
cmp dword [0x6c718c], 0
je 0x56bf1b
cmp dword [edi], 0
je 0x56bf1b
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x7c]
jne 0x56be56
cmp dword [edi + 0x40], 0
jne 0x56be56
xor edx, edx
jmp 0x56bf1b
mov ecx, dword [ebp - 0x78]
and ecx, 0xffff
lea ebx, [ecx + ecx*2]
shl ebx, 0xd
add ebx, ecx
shl ebx, 3
add ebx, 0x70995c
cmp dword [0x6c718c], 0
je 0x56be7e
cmp dword [ebx], 0
jne 0x56be83
or eax, 0xffffffff
jmp 0x56beed
cmp dword [ebx + 0xd4], 0
je 0x56bed0
call fcn.0045f350
test eax, eax
jne 0x56bed0
cmp dword [ebx + 0x3c], 0
jne 0x56bed0
push 0
mov edx, dword [ebx + 0xd4]
push edx
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ebx + ecx*4 + 0xf8]
push eax
mov edx, dword [ebx + 0xd8]
mov ecx, dword [edx*4 + 0x5f3ee8]
push ecx
mov eax, dword [ebx + 0xdc]
push eax
mov edx, dword [ebx + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x64]
xor eax, eax
mov dword [ebx + 0xd4], eax
xor eax, eax
mov edx, dword [ebx + 0xd8]
mov ecx, dword [ebx + edx*4 + 0xf8]
mov dword [ebx + 0xd0], ecx
mov dword [edi + 0x38], 1
cmp dword [edi + 0x10], 0
jne 0x56bf00
cmp dword [ebp - 0x7c], 0
jne 0x56bf0c
cmp dword [edi + 0x10], 0
je 0x56bf13
cmp dword [ebp - 0x7c], 0
jne 0x56bf13
mov dword [edi + 0x34], 1
mov edx, dword [ebp - 0x7c]
mov dword [edi + 0x10], edx
xor edx, edx
cmp dword [esi + 0x34], 0
jne 0x56bf27
cmp dword [esi + 0x38], 0
je 0x56bf33
mov eax, dword [0x6c7190]
push eax
call fcn.00565aa0
pop ecx
cmp dword [esi + 0xd4], 0
je 0x56bfad
cmp dword [esi + 0xdc], 4
jne 0x56bf5d
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xd4]
add ecx, 6
cmp ecx, dword [eax*4 + 0x5f3edc]
jle 0x56bfad
push 0
mov edx, dword [esi + 0xd4]
push edx
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + ecx*4 + 0xf8]
push eax
mov edx, dword [esi + 0xd8]
mov ecx, dword [edx*4 + 0x5f3ee8]
push ecx
mov eax, dword [esi + 0xdc]
push eax
mov edx, dword [esi + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x64]
xor eax, eax
mov dword [esi + 0xd4], eax
mov edx, dword [esi + 0xd8]
mov ecx, dword [esi + edx*4 + 0xf8]
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xdc], 4
mov eax, dword [esi + 0xd0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add edx, 0x18
movzx eax, word [eax + 0x10c0]
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
fdivr dword [0x56c6b8]
fstp dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x10c2]
mov dword [ebp - 0x98], eax
fild dword [ebp - 0x98]
fdivr dword [0x56c6b8]
fstp dword [ebp - 0x3c]
mov eax, dword [0x7072a8]
xor edi, edi
mov dword [ebp - 0x40], eax
mov eax, dword [0x7072ac]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0x88], ebx
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], ebx
fld dword [ebp - 0x48]
fadd dword [edx]
mov eax, dword [ebp - 8]
fst dword [eax]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x50]
fld dword [ebp - 0x48]
fadd dword [edx + 0x1c]
mov eax, dword [ebp - 8]
fst dword [eax + 0x28]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x78]
fld dword [ebp - 0x4c]
fadd dword [edx + 4]
mov eax, dword [ebp - 8]
fst dword [eax + 4]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x2c]
fld dword [ebp - 0x4c]
fadd dword [edx + 0x3c]
mov eax, dword [ebp - 8]
fst dword [eax + 0x54]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x7c]
fld dword [edx]
fmul dword [0x7072a8]
mov eax, dword [ebp - 8]
fst dword [eax + 0x18]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x68]
fld dword [edx + 0x1c]
fmul dword [0x7072a8]
mov eax, dword [ebp - 8]
fst dword [eax + 0x40]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x90]
fld dword [edx + 4]
fmul dword [0x7072ac]
mov eax, dword [ebp - 8]
fst dword [eax + 0x1c]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x44]
fld dword [edx + 0x3c]
fmul dword [0x7072ac]
mov eax, dword [ebp - 8]
fst dword [eax + 0x6c]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x94]
mov eax, dword [ebp - 8]
fld dword [edx + 0x14]
fst dword [eax + 0x20]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x70]
mov eax, dword [ebp - 8]
fld dword [edx + 0x30]
fst dword [eax + 0x48]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x98]
mov eax, dword [ebp - 8]
fld dword [edx + 0x18]
fst dword [eax + 0x24]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x4c]
fld dword [edx + 0x50]
mov edx, dword [ebp - 8]
fst dword [edx + 0x74]
mov eax, dword [ebp - 8]
fstp dword [eax + 0x9c]
fld dword [ecx]
fcomp dword [ebp - 0x28]
fnstsw ax
sahf
jae 0x56c139
fld dword [ebp - 0x28]
fsub dword [ecx]
fmul dword [ebp - 0x38]
fadd dword [ecx + 0x20]
fstp dword [ecx + 0x20]
fld dword [ebp - 0x28]
fsub dword [ecx]
fmul dword [ebp - 0x40]
fadd dword [ecx + 0x18]
fstp dword [ecx + 0x18]
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
jmp 0x56c164
fld dword [ecx]
fcomp dword [ebp - 0x2c]
fnstsw ax
sahf
jbe 0x56c164
fld dword [ecx]
fsub dword [ebp - 0x2c]
fmul dword [ebp - 0x38]
fsubr dword [ecx + 0x20]
fstp dword [ecx + 0x20]
fld dword [ecx]
fsub dword [ebp - 0x2c]
fmul dword [ebp - 0x40]
fsubr dword [ecx + 0x18]
fstp dword [ecx + 0x18]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
fld dword [ecx + 4]
fcomp dword [ebp - 0x30]
fnstsw ax
sahf
jae 0x56c195
fld dword [ebp - 0x30]
fsub dword [ecx + 4]
fmul dword [ebp - 0x3c]
fadd dword [ecx + 0x24]
fstp dword [ecx + 0x24]
fld dword [ebp - 0x30]
fsub dword [ecx + 4]
fmul dword [ebp - 0x44]
fadd dword [ecx + 0x1c]
fstp dword [ecx + 0x1c]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], edx
jmp 0x56c1c4
fld dword [ecx + 4]
fcomp dword [ebp - 0x34]
fnstsw ax
sahf
jbe 0x56c1c4
fld dword [ecx + 4]
fsub dword [ebp - 0x34]
fmul dword [ebp - 0x3c]
fsubr dword [ecx + 0x24]
fstp dword [ecx + 0x24]
fld dword [ecx + 4]
fsub dword [ebp - 0x34]
fmul dword [ebp - 0x44]
fsubr dword [ecx + 0x1c]
fstp dword [ecx + 0x1c]
mov edx, dword [ebp - 0x34]
mov dword [ecx + 4], edx
inc edi
add ecx, 0x28
cmp edi, 4
jl 0x56c10c
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
push esi
lea esi, [ecx + 0x50]
lea edi, [eax + 0xa0]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
pop esi
mov ecx, 0xa
push esi
lea esi, [eax + 0x28]
lea edi, [edx + 0xc8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x54]
pop esi
mov dword [eax + 0xd0], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0xa8], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x80], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 8]
mov dword [eax + 8], edx
add dword [esi + 0xd0], 0xf0
add dword [esi + 0xd4], 6
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jl 0x56bd90
jmp 0x56c69b
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jge 0x56c69b
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
mov edx, eax
and edx, 0xf8000000
cmp edx, 0x30000000
jne 0x56c2a3
mov ecx, eax
and ecx, 0xffff
mov edx, dword [ecx*4 + 0x6c728c]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x56c2a3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
shl edx, 0x10
and eax, 0x7ff0000
cmp edx, eax
je 0x56c2ab
or eax, 0xffffffff
jmp 0x56c6ab
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x90]
and eax, 0xffff
mov edx, dword [eax*4 + 0x682d80]
mov dword [ebp - 0x10], edx
add dword [ebp - 0x50], 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [esi + 0x10]
je 0x56c437
mov edx, dword [0x6c7190]
mov dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x80]
and edx, 0xffff
lea ecx, [edx + edx*2]
shl ecx, 0xd
add ecx, edx
shl ecx, 3
add ecx, 0x70995c
cmp dword [0x6c718c], 0
mov dword [ebp - 0x88], ecx
je 0x56c437
mov eax, dword [ebp - 0x88]
cmp dword [eax], 0
je 0x56c437
mov edx, dword [ebp - 0x88]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [ebp - 0x84]
jne 0x56c34b
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x40], 0
jne 0x56c34b
xor edx, edx
jmp 0x56c437
mov ecx, dword [ebp - 0x80]
and ecx, 0xffff
lea edi, [ecx + ecx*2]
shl edi, 0xd
add edi, ecx
shl edi, 3
add edi, 0x70995c
cmp dword [0x6c718c], 0
je 0x56c373
cmp dword [edi], 0
jne 0x56c378
or eax, 0xffffffff
jmp 0x56c3e2
cmp dword [edi + 0xd4], 0
je 0x56c3c5
call fcn.0045f350
test eax, eax
jne 0x56c3c5
cmp dword [edi + 0x3c], 0
jne 0x56c3c5
push 0
mov edx, dword [edi + 0xd4]
push edx
mov ecx, dword [edi + 0xd8]
mov eax, dword [edi + ecx*4 + 0xf8]
push eax
mov edx, dword [edi + 0xd8]
mov ecx, dword [edx*4 + 0x5f3ee8]
push ecx
mov eax, dword [edi + 0xdc]
push eax
mov edx, dword [edi + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x64]
xor eax, eax
mov dword [edi + 0xd4], eax
xor eax, eax
mov edx, dword [edi + 0xd8]
mov ecx, dword [edi + edx*4 + 0xf8]
mov dword [edi + 0xd0], ecx
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x38], 1
mov ecx, dword [ebp - 0x88]
cmp dword [ecx + 0x10], 0
jne 0x56c404
cmp dword [ebp - 0x84], 0
jne 0x56c419
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x10], 0
je 0x56c426
cmp dword [ebp - 0x84], 0
jne 0x56c426
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x34], 1
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
mov dword [ecx + 0x10], eax
xor edx, edx
cmp dword [esi + 0x34], 0
jne 0x56c443
cmp dword [esi + 0x38], 0
je 0x56c450
mov ecx, dword [0x6c7190]
push ecx
call fcn.00565aa0
pop ecx
cmp dword [esi + 0xd4], 0
je 0x56c4ca
cmp dword [esi + 0xdc], 4
jne 0x56c47a
mov edx, dword [esi + 0xd8]
mov eax, dword [esi + 0xd4]
add eax, 6
cmp eax, dword [edx*4 + 0x5f3edc]
jle 0x56c4ca
push 0
mov ecx, dword [esi + 0xd4]
push ecx
mov eax, dword [esi + 0xd8]
mov edx, dword [esi + eax*4 + 0xf8]
push edx
mov ecx, dword [esi + 0xd8]
mov eax, dword [ecx*4 + 0x5f3ee8]
push eax
mov edx, dword [esi + 0xdc]
push edx
mov ecx, dword [esi + 4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x64]
xor edx, edx
mov dword [esi + 0xd4], edx
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + ecx*4 + 0xf8]
mov dword [esi + 0xd0], eax
mov dword [esi + 0xdc], 4
mov edx, dword [esi + 0xd0]
mov dword [ebx], edx
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
add edx, 0x18
mov dword [eax + 0x64], ecx
mov eax, dword [ebx]
mov dword [eax + 0x10], ecx
fld dword [edx]
fadd dword [ebp - 0x48]
mov eax, dword [ebx]
fst dword [eax]
mov ecx, dword [ebx]
fstp dword [ecx + 0x38]
fld dword [edx + 0x1c]
fadd dword [ebp - 0x48]
mov eax, dword [ebx]
fst dword [eax + 0x1c]
mov ecx, dword [ebx]
fstp dword [ecx + 0x54]
fld dword [edx + 4]
fadd dword [ebp - 0x4c]
mov eax, dword [ebx]
fst dword [eax + 4]
mov ecx, dword [ebx]
fstp dword [ecx + 0x20]
fld dword [edx + 0x3c]
fadd dword [ebp - 0x4c]
mov eax, dword [ebx]
fst dword [eax + 0x3c]
mov ecx, dword [ebx]
fstp dword [ecx + 0x58]
mov eax, dword [ebx]
fld dword [edx + 0x14]
fst dword [eax + 0x14]
mov ecx, dword [ebx]
fstp dword [ecx + 0x4c]
mov eax, dword [ebx]
fld dword [edx + 0x30]
fst dword [eax + 0x30]
mov ecx, dword [ebx]
fstp dword [ecx + 0x68]
mov eax, dword [ebx]
fld dword [edx + 0x18]
fst dword [eax + 0x18]
mov ecx, dword [ebx]
fstp dword [ecx + 0x34]
fld dword [edx + 0x50]
mov edx, dword [ebx]
fst dword [edx + 0x50]
mov eax, dword [ebx]
fstp dword [eax + 0x6c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebx]
movzx eax, word [ecx + 0x10c0]
mov dword [ebp - 0x9c], eax
fild dword [ebp - 0x9c]
fdivr dword [0x56c6b8]
fstp dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + 0x10c2]
mov dword [ebp - 0xa0], eax
fild dword [ebp - 0xa0]
fdivr dword [0x56c6b8]
fstp dword [ebp - 0x3c]
xor edi, edi
fld dword [edx]
fcomp dword [ebp - 0x28]
fnstsw ax
sahf
jae 0x56c5c2
fld dword [ebp - 0x28]
fsub dword [edx]
fmul dword [ebp - 0x38]
fadd dword [edx + 0x14]
fstp dword [edx + 0x14]
mov ecx, dword [ebp - 0x28]
mov dword [edx], ecx
jmp 0x56c5df
fld dword [edx]
fcomp dword [ebp - 0x2c]
fnstsw ax
sahf
jbe 0x56c5df
fld dword [edx]
fsub dword [ebp - 0x2c]
fmul dword [ebp - 0x38]
fsubr dword [edx + 0x14]
fstp dword [edx + 0x14]
mov ecx, dword [ebp - 0x2c]
mov dword [edx], ecx
fld dword [edx + 4]
fcomp dword [ebp - 0x30]
fnstsw ax
sahf
jae 0x56c601
fld dword [ebp - 0x30]
fsub dword [edx + 4]
fmul dword [ebp - 0x3c]
fadd dword [edx + 0x18]
fstp dword [edx + 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [edx + 4], ecx
jmp 0x56c621
fld dword [edx + 4]
fcomp dword [ebp - 0x34]
fnstsw ax
sahf
jbe 0x56c621
fld dword [edx + 4]
fsub dword [ebp - 0x34]
fmul dword [ebp - 0x3c]
fsubr dword [edx + 0x18]
fstp dword [edx + 0x18]
mov ecx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
inc edi
add edx, 0x1c
cmp edi, 4
jl 0x56c5a3
mov edx, dword [ebx]
mov eax, dword [ebx]
push esi
mov ecx, 7
lea esi, [edx + 0x38]
lea edi, [eax + 0x70]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov edx, dword [ebx]
pop esi
mov ecx, 7
push esi
lea esi, [eax + 0x1c]
lea edi, [edx + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov edx, dword [ebp - 0x54]
pop esi
mov dword [eax + 0x94], edx
mov eax, dword [ebx]
mov dword [eax + 0x78], edx
mov eax, dword [ebx]
mov dword [eax + 0x5c], edx
mov eax, dword [ebx]
mov dword [eax + 0x40], edx
mov eax, dword [ebx]
mov dword [eax + 0x24], edx
mov eax, dword [ebx]
mov dword [eax + 8], edx
add dword [esi + 0xd0], 0xa8
add dword [esi + 0xd4], 6
inc dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
jl 0x56c267
cmp dword [0x709918], 0
je 0x56c6a9
call fcn.00574180
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret