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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x566a24
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x567297
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x566b18
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [esi + 8]
call fcn.0043b514
mov ebx, eax
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl 0x566ab1
inc eax
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x18]
fld dword [ecx + edx*4]
fmul dword [ebp + 0x10]
mov ecx, dword [ebx + 0x18]
fstp dword [ecx + edx*4]
wait
mov ecx, dword [ebx + 0x18]
fld dword [ecx + edx*4 + 4]
fmul dword [ebp + 0xc]
mov ecx, dword [ebx + 0x18]
fstp dword [ecx + edx*4 + 4]
wait
mov ecx, dword [ebx + 0x18]
fld dword [ecx + edx*4 + 8]
fmul dword [ebp + 8]
mov ecx, dword [ebx + 0x18]
fstp dword [ecx + edx*4 + 8]
wait
inc eax
dec dword [ebp - 0x18]
jne 0x566a74
mov eax, dword [ebx + 0x14]
dec eax
test eax, eax
jl 0x566b0c
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
fld dword [ebp + 0x10]
fmul dword [ebp + 0xc]
fmul dword [ebp + 8]
fcomp dword [0x5672a8]
wait
fnstsw ax
sahf
jae 0x566ae8
imul eax, dword [ebp - 8], 0x25
mov edx, dword [ebx + 0x1c]
lea eax, [edx + eax*4]
call fcn.005668bc
imul edi, dword [ebp - 8], 0x25
mov eax, dword [ebx + 0x1c]
lea eax, [eax + edi*4]
mov edx, ebx
call fcn.0056691c
mov eax, dword [ebx + 0x1c]
lea eax, [eax + edi*4]
call fcn.00566984
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x566ac4
inc dword [ebp - 4]
dec dword [ebp - 0x14]
jne 0x566a59
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x56724f
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [esi + 4]
call fcn.0043b514
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov cx, 0x5c
mov eax, esi
call fcn.005648f8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x56723b
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x56722f
push 4
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x1c]
mov cx, 0x2c
mov eax, esi
call fcn.005648f8
mov ebx, eax
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0041493c
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, 0x5672b8
call fcn.00407b38
jne 0x566c5f
lea ecx, [ebp - 0x30]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x5672cc
call fcn.00407934
mov eax, dword [ebp - 0x2c]
mov edx, 0xffffff
call fcn.00415a90
mov edx, dword [esi + 0xc]
mov dword [edx + 0x2c], 0x3f800000
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x34], ecx
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
fstp dword [edx + 0x30]
wait
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x34], ecx
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
fstp dword [edx + 0x34]
wait
and eax, 0xff
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
fstp dword [edx + 0x38]
wait
lea ecx, [ebp - 0x38]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
mov edx, 0x5672dc
call fcn.00407b38
jne 0x566cff
lea ecx, [ebp - 0x40]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x5672cc
call fcn.00407934
mov eax, dword [ebp - 0x3c]
mov edx, 0xffffff
call fcn.00415a90
mov edx, dword [esi + 0xc]
mov dword [edx + 0x48], 0x3f800000
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x34], ecx
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
fstp dword [edx + 0x4c]
wait
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x34], ecx
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
fstp dword [edx + 0x50]
wait
and eax, 0xff
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
fstp dword [edx + 0x54]
wait
lea ecx, [ebp - 0x44]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x44]
mov edx, 0x5672f0
call fcn.00407b38
jne 0x566e1c
push 0
push 0
push 0
lea ecx, [ebp - 0x48]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x48]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x3c]
wait
push 0xbfff
push 0x80000000
push 0
lea ecx, [ebp - 0x4c]
mov edx, 2
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x4c]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x40]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0x50]
mov edx, 3
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x50]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x44]
wait
fld dword [ebp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040f84c
movsx eax, al
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
mov eax, dword [esi + 0xc]
fmul dword [eax + 0x3c]
mov edi, dword [esi + 0xc]
fstp dword [edi + 0x3c]
wait
fld dword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040f84c
movsx eax, al
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [edi + 0x40]
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x40]
wait
fld dword [ebp + 8]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040f84c
movsx eax, al
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
mov eax, dword [esi + 0xc]
fmul dword [eax + 0x44]
mov edi, dword [esi + 0xc]
fstp dword [edi + 0x44]
wait
lea edx, [ebp - 0x5c]
lea eax, [edi + 0x3c]
call fcn.005647d4
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x3c], edx
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x40], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x44], edx
lea ecx, [ebp - 0x60]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x60]
mov edx, 0x567304
call fcn.00407b38
jne 0x566e56
lea ecx, [ebp - 0x64]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x64]
xor edx, edx
call fcn.00415a90
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
lea ecx, [ebp - 0x68]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x68]
mov edx, 0x567318
call fcn.00407b38
jne 0x566e90
lea ecx, [ebp - 0x6c]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x6c]
xor edx, edx
call fcn.00415a90
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
lea ecx, [ebp - 0x70]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
mov edx, 0x56732c
call fcn.00407b38
jne 0x566f29
push 0x400f
push 0xc3500000
push 0
lea ecx, [ebp - 0x74]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x58]
wait
push 0x400f
push 0xc3500000
push 0
lea ecx, [ebp - 0x78]
mov edx, 2
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x78]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x5c]
wait
push 0x3fff
push 0x80000000
push 0
lea ecx, [ebp - 0x7c]
mov edx, 3
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x7c]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x60]
wait
lea ecx, [ebp - 0x80]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x80]
mov edx, 0x567340
call fcn.00407b38
jne 0x567041
push 0
push 0
push 0
lea ecx, [ebp - 0x84]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x84]
call fcn.004183e4
fstp xword [ebp - 0x90]
wait
fld dword [ebp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040f84c
movsx eax, al
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fld xword [ebp - 0x90]
fmulp st(1)
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x74]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0x94]
mov edx, 2
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x94]
call fcn.004183e4
fstp xword [ebp - 0x90]
wait
fld dword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040f84c
movsx eax, al
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fld xword [ebp - 0x90]
fmulp st(1)
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x78]
wait
push 0x3fff
push 0x80000000
push 0
lea ecx, [ebp - 0x98]
mov edx, 3
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x98]
call fcn.004183e4
fstp xword [ebp - 0x90]
wait
fld dword [ebp + 8]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0040f84c
movsx eax, al
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fld xword [ebp - 0x90]
fmulp st(1)
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x7c]
wait
lea ecx, [ebp - 0x9c]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x9c]
mov edx, 0x567358
call fcn.00407b38
jne 0x5670f3
push 0
push 0
push 0
lea ecx, [ebp - 0xa0]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa0]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x80]
wait
push 0
push 0
push 0
lea ecx, [ebp - 0xa4]
mov edx, 2
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa4]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x84]
wait
push 0x3fff
push 0x80000000
push 0
lea ecx, [ebp - 0xa8]
mov edx, 3
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa8]
call fcn.004183e4
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x88]
wait
lea ecx, [ebp - 0xac]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xac]
mov edx, 0x567370
call fcn.00407b38
jne 0x567228
lea ecx, [ebp - 0xb0]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 0xb0], 0
je 0x5671bd
lea ecx, [ebp - 0xb8]
mov edx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, 0x5672cc
call fcn.00407934
mov eax, dword [ebp - 0xb4]
mov edx, 0xffffff
call fcn.00415a90
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp - 0x34], ecx
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
mov edx, dword [esi + 0xc]
fstp dword [edx + 0x68]
wait
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov dword [ebp - 0x34], ecx
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
fstp dword [edx + 0x6c]
wait
and eax, 0xff
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
fstp dword [edx + 0x70]
wait
lea ecx, [ebp - 0xbc]
mov edx, 2
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 0xbc], 0
je 0x567228
lea ecx, [ebp - 0xc4]
mov edx, 2
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov edx, 0x5672cc
call fcn.00407934
mov eax, dword [ebp - 0xc0]
mov edx, 0xff
call fcn.00415a90
and eax, 0xff
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [0x6f6080]
mov eax, dword [esi + 0xc]
fstp dword [eax + 0x64]
wait
mov eax, ebx
call fcn.004056f8
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x566b72
mov eax, dword [ebp - 0x10]
call fcn.004056f8
inc dword [ebp - 4]
dec dword [ebp - 0x14]
jne 0x566b32
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56729e
lea eax, [ebp - 0xc4]
mov edx, 0xd
call fcn.00407458
lea eax, [ebp - 0x84]
mov edx, 0xa
call fcn.00407458
lea eax, [ebp - 0x50]
mov edx, 7
call fcn.00407458
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00407458
ret