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

Disassembly:
push 0xffffffffffffffff
push 0x60cb08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
mov ebx, ecx
push ebp
push esi
mov esi, dword [ebx + 0x100]
push edi
add esi, 0x40e4
mov dword [esp + 0x20], ebx
mov eax, dword [esi + 0xfc]
test eax, eax
jle 0x561d5e
mov eax, dword [esi + 0x104]
lea ecx, [eax - 1]
test ecx, ecx
jge 0x561d38
cmp eax, 1
jg 0x561cd9
lea ebp, [eax + 0x20]
cmp ebp, 1
jg 0x561cde
mov ebp, 1
lea edx, [ebp*4]
push edx
call fcn.005faa3d
mov edi, eax
add esp, 4
test edi, edi
je 0x561d38
mov ecx, dword [esi + 0x104]
xor eax, eax
test ecx, ecx
jle 0x561d1d
cmp eax, ebp
jge 0x561d1d
mov ecx, dword [esi + 0xf8]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edi + eax*4 - 4], edx
mov ecx, dword [esi + 0x104]
cmp eax, ecx
jl 0x561d00
mov eax, dword [esi + 0xf8]
push eax
call fcn.005faa32
add esp, 4
mov dword [esi + 0xf8], edi
mov dword [esi + 0x104], ebp
mov eax, dword [esi + 0xf8]
mov eax, dword [eax]
test eax, eax
jl 0x561d5e
mov ecx, dword [0x6633d4]
push eax
mov ecx, dword [ecx + 0x420]
call fcn.005ebae0
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x561d76
mov edx, dword [esp + 0x1b4]
xor eax, eax
mov dword [edx + 0x10c], 0
jmp 0x562dd6
mov esi, dword [esp + 0x1b4]
mov eax, dword [esi + 0x10c]
test eax, eax
jne 0x561d8d
mov dword [esi + 0x158], eax
mov ebp, dword [esp + 0x190]
cmp eax, 1
jne 0x561db9
mov edi, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
push 0xff
lea edx, [esp + 0x84]
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x48], eax
push edx
jmp 0x561e0f
test ebp, ebp
je 0x561de4
mov ecx, ebp
call fcn.004ab260
mov edi, eax
mov ecx, ebp
mov dword [esp + 0x2c], edi
call fcn.0040a0d0
fstp dword [esp + 0x40]
push 0xff
mov ecx, ebp
call fcn.0040a090
push eax
jmp 0x561e07
mov edi, dword [esp + 0x198]
mov ecx, dword [esp + 0x19c]
mov edx, dword [esp + 0x1a0]
push 0xff
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], ecx
push edx
lea eax, [esp + 0x88]
push eax
call fcn.005fac20
fld dword [esp + 0x4c]
add esp, 0xc
call fcn.005faa4c
mov ecx, eax
mov dword [esp + 0x34], eax
and ecx, reloc.DPLAYX.dll_Ordinal_1
jns 0x561e33
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
mov edx, dword [ebx + 0x100]
sete byte [esp + 0x27]
imul eax, eax
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x7c], eax
mov eax, dword [edx + 0xf0]
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx + edi*4]
test eax, eax
mov dword [esp + 0x70], eax
jne 0x561e70
mov dword [esi + 0x10c], eax
jmp 0x562dd6
push edi
mov ecx, ebx
call fcn.005658a0
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
jne 0x561e92
mov dword [esi + 0x10c], 0
xor eax, eax
jmp 0x562dd6
test ebp, ebp
mov dword [esp + 0x18], 0
je 0x561ea8
mov edx, dword [ebp + 0xb0]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x10c]
test eax, eax
jne 0x562330
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [esi + 0x128], 0xffffffff
mov ecx, dword [edi + 0x100]
push 0x6d
push 0xffffffffffffffff
call fcn.00410f20
mov ecx, dword [edi + 0x100]
mov ebx, eax
mov eax, dword [esi + 0x108]
mov dword [esp + 0x5c], ebx
push eax
call fcn.00410f00
test ebx, ebx
mov edi, eax
je 0x561f14
fld dword [ebx + 0x38]
call fcn.005faa4c
fld dword [ebx + 0x3c]
mov ebp, eax
mov dword [esp + 0x38], ebp
jmp 0x561f2d
test edi, edi
jne 0x561f1c
mov edi, dword [esp + 0x4c]
fld dword [edi + 0x38]
call fcn.005faa4c
fld dword [edi + 0x3c]
mov ebp, eax
mov dword [esp + 0x38], ebp
call fcn.005faa4c
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x561f9b
mov ecx, dword [esp + 0x190]
test ecx, ecx
jne 0x561f6e
cmp dword [esi + 0x10c], 1
je 0x561f6e
mov ecx, dword [esp + 0x1ac]
mov edx, dword [esp + 0x1b0]
mov dword [esi + 0x130], ecx
mov dword [esi + 0x134], edx
jmp 0x561f7a
mov dword [esi + 0x130], ebp
mov dword [esi + 0x134], eax
test ebx, ebx
je 0x561f95
mov ecx, ebx
call fcn.0052c670
and eax, 0xff
mov dword [esi + 0x12c], eax
jmp 0x56215b
mov ecx, dword [esp + 0x4c]
jmp 0x561f80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x100]
add ecx, 0x1348
call fcn.0040cfc0
test eax, eax
mov dword [esi + 0x128], eax
jge 0x561fcb
mov dword [esi + 0x10c], 0
xor eax, eax
jmp 0x562dd6
mov ecx, dword [esp + 0x20]
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x14], 0x7f7fffff
mov eax, dword [ecx + 0x2b8]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jle 0x5620af
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x2bc]
lea ecx, [eax + ebp]
mov eax, dword [eax + ebp]
cmp eax, 0xffffffff
je 0x562087
xor edx, edx
mov dl, byte [ecx + 0xb]
mov ecx, dword [esi + 0x128]
cmp edx, ecx
jne 0x562087
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x100]
call fcn.00410f00
mov edi, eax
test edi, edi
je 0x562087
cmp byte [edi + 0x48], 2
ja 0x562087
mov ecx, dword [esp + 0x20]
push edi
call fcn.00560ef0
test eax, eax
je 0x562087
fild dword [esp + 0x38]
fsubr dword [edi + 0x38]
fild dword [esp + 0x3c]
fsubr dword [edi + 0x3c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fcom dword [0x6288d4]
fnstsw ax
test ah, 1
jne 0x562085
mov ecx, dword [edi + 8]
cmp word [ecx + 0x10], 0x6d
je 0x5620a7
fcom dword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x562085
fstp dword [esp + 0x14]
mov ebx, edi
jmp 0x562087
fstp st(0)
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc eax
add ebp, 0x2c
mov ecx, dword [edx + 0x2b8]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x561fed
jmp 0x5620ab
fstp st(0)
mov ebx, edi
test ebx, ebx
jne 0x5620c0
mov dword [esi + 0x10c], 0
xor eax, eax
jmp 0x562dd6
mov ecx, ebx
call fcn.0052c670
mov ecx, dword [esp + 0x5c]
and eax, 0xff
test ecx, ecx
mov dword [esi + 0x12c], eax
je 0x56213f
call fcn.0052c670
mov ecx, dword [esi + 0x12c]
and eax, 0xff
cmp eax, ecx
jne 0x56213f
fild dword [esp + 0x38]
fsubr dword [ebx + 0x38]
fild dword [esp + 0x3c]
fsubr dword [ebx + 0x3c]
fst dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fdivr dword [0x6288d0]
fst dword [esp + 0x14]
fmulp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [ebx + 0x38]
fsub st(1)
call fcn.005faa4c
fstp st(0)
mov dword [esi + 0x130], eax
fld dword [ebx + 0x3c]
fsub dword [esp + 0x1c]
jmp 0x562150
fld dword [ebx + 0x38]
call fcn.005faa4c
mov dword [esi + 0x130], eax
fld dword [ebx + 0x3c]
call fcn.005faa4c
mov dword [esi + 0x134], eax
mov eax, dword [esp + 0x190]
test eax, eax
jne 0x5621a3
cmp dword [esi + 0x10c], 1
je 0x5621a3
mov eax, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x1ac]
mov ebp, dword [esp + 0x1a4]
mov edi, dword [esp + 0x1a8]
push eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.0052c580
and eax, 0xff
mov dword [esi + 0x12c], eax
jmp 0x5621ec
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x562286
mov edx, dword [esp + 0x30]
lea eax, [edx - 1]
cmp eax, 0xb
ja case.0x5621c7.5
xor ecx, ecx
mov cl, byte [eax + 0x562e08]
jmp dword [ecx*4 + 0x562df4]
mov edx, dword [esp + 0x20]
mov ebp, 7
push 0x56
mov ecx, dword [edx + 0x100]
add ecx, 0x40e4
call fcn.0057a080
mov edi, eax
cmp ebp, edi
jl 0x56228d
mov dword [esi + 0x10c], 0
xor eax, eax
jmp 0x562dd6
mov eax, dword [esp + 0x20]
mov ebp, 4
push 0x57
mov ecx, dword [eax + 0x100]
jmp 0x5621df
mov edi, dword [esp + 0x20]
push 0x4a
mov ecx, dword [edi + 0x100]
add ecx, 0x40e4
call fcn.0057a080
mov ecx, dword [edi + 0x100]
push 0x4a
add ecx, 0x40e4
mov ebp, eax
call fcn.0057a080
mov edi, eax
shl edi, 1
jmp 0x5621ec
mov edi, dword [esp + 0x20]
push 0x49
mov ecx, dword [edi + 0x100]
add ecx, 0x40e4
call fcn.0057a080
mov ecx, dword [edi + 0x100]
mov ebp, eax
push 0x4a
jmp 0x5621df
mov ecx, dword [esp + 0x20]
mov ebp, 4
push 0x4a
mov ecx, dword [ecx + 0x100]
jmp 0x5621df
xor ebp, ebp
mov edi, 0x14
mov ecx, dword [esi + 0x134]
mov edx, dword [esi + 0x130]
mov ebx, dword [esp + 0x20]
sub ecx, edi
lea eax, [esi + 0x138]
sub edx, edi
mov dword [esi + 0x13c], ecx
push eax
mov ecx, ebx
mov dword [eax], edx
call fcn.00565760
mov ecx, dword [esi + 0x134]
mov edx, dword [esi + 0x130]
add ecx, edi
lea eax, [esi + 0x140]
add edx, edi
mov dword [esi + 0x144], ecx
push eax
mov ecx, ebx
mov dword [eax], edx
call fcn.00565760
mov ecx, dword [esi + 0x134]
mov edx, dword [esi + 0x130]
sub ecx, ebp
lea eax, [esi + 0x148]
sub edx, ebp
mov dword [esi + 0x14c], ecx
push eax
mov ecx, ebx
mov dword [eax], edx
call fcn.00565760
mov ecx, dword [esi + 0x134]
mov edx, dword [esi + 0x130]
add ecx, ebp
lea eax, [esi + 0x150]
add edx, ebp
mov dword [esi + 0x154], ecx
push eax
mov ecx, ebx
mov dword [eax], edx
call fcn.00565760
mov ebp, dword [esp + 0x190]
test ebp, ebp
je 0x562485
mov eax, dword [esi + 0x10c]
test eax, eax
jne 0x562485
mov ebp, dword [esp + 0x2c]
mov ecx, ebx
push ebp
call fcn.00565c90
mov edi, eax
test edi, edi
je 0x562485
cmp dword [esp + 0x30], 4
jne 0x562391
mov edx, dword [ebx + 0xf04]
mov eax, dword [ebx + 0xf08]
xor ecx, ecx
mov dword [ebx + 0xf0c], edx
mov dword [ebx + 0xf10], eax
mov cl, byte [edi + 5]
xor edx, edx
mov dword [ebx + 0xf04], ecx
mov dl, byte [edi + 6]
mov dword [ebx + 0xf08], edx
mov al, byte [esp + 0x27]
push 0x80
test al, al
je 0x562414
call fcn.005faa3d
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
mov dword [esp + 0x188], 0
je 0x56247a
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x80]
push ecx
push ebp
push 0x3f800000
push edx
push edx
xor edx, edx
mov dl, byte [edi + 6]
push 0x3f800000
mov dword [esp + 0x4c], edx
push ecx
fild dword [esp + 0x50]
xor ecx, ecx
mov cl, byte [edi + 5]
fadd dword [0x61b588]
mov dword [esp + 0x50], ecx
fstp dword [esp]
fild dword [esp + 0x50]
push ecx
mov ecx, eax
fadd dword [0x61b588]
fstp dword [esp]
call fcn.0040b530
mov byte [edi + 4], 1
jmp 0x562dcc
call fcn.005faa3d
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
mov dword [esp + 0x188], 1
je 0x56247a
lea edx, [esp + 0x80]
xor ecx, ecx
mov cl, byte [edi + 6]
push edx
mov edx, dword [esp + 0x44]
push ebp
push 0x3f800000
push edx
mov dword [esp + 0x44], ecx
push edx
fild dword [esp + 0x48]
push 0x3f800000
xor edx, edx
mov dl, byte [edi + 5]
push ecx
mov dword [esp + 0x50], edx
fstp dword [esp]
fild dword [esp + 0x50]
push ecx
mov ecx, eax
fstp dword [esp]
call fcn.0040b530
mov byte [edi + 4], 1
jmp 0x562dcc
xor eax, eax
mov byte [edi + 4], 1
jmp 0x562dcc
mov eax, dword [ebx + 0x100]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx + 0x8c]
mov ecx, dword [edx + 0x118]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x10c]
test ecx, ecx
jne 0x5624f2
push 0xa8
lea ecx, [eax + 0x40e4]
call fcn.0057a080
mov edi, eax
test edi, edi
jle 0x5624cf
call fcn.005faa7d
cdq
idiv edi
mov dword [esp + 0x4c], edx
jmp 0x5624d7
mov dword [esp + 0x4c], 0
mov ebp, dword [esi + 0x138]
or ecx, 0xffffffff
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ecx
jmp 0x562527
mov edx, dword [esi + 0x120]
mov ecx, dword [esi + 0x114]
mov eax, dword [esi + 0x110]
mov ebp, dword [esi + 0x11c]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x118]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ebp
or ecx, 0xffffffff
mov eax, dword [esi + 0x158]
lea edi, [esi + 0x158]
cmp eax, 8
je 0x562643
mov ecx, dword [esi + 0x13c]
mov eax, dword [esi + 0x138]
sub ecx, 2
lea edx, [esp + 0x64]
sub eax, 2
mov dword [esp + 0x68], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x68], eax
call fcn.00565760
mov ecx, dword [esi + 0x144]
mov eax, dword [esi + 0x140]
add ecx, 2
lea edx, [esp + 0x5c]
add eax, 2
mov dword [esp + 0x60], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x60], eax
call fcn.00565760
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1b8]
mov edx, dword [esp + 0x18]
push edi
push eax
push ecx
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x74]
push eax
mov eax, dword [esp + 0x40]
lea edx, [esi + 0x130]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00563d10
test eax, eax
jne 0x562640
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x80]
push 0xff
lea ecx, [esi + 8]
push eax
push ecx
mov dword [esi], edx
call fcn.005fac20
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x50]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x110], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x114], edx
mov edx, dword [esp + 0x19c]
add esp, 0xc
mov dword [esi + 0x118], eax
mov dword [esi + 0x10c], 1
mov dword [esi + 0x11c], ebp
mov dword [esi + 0x120], ecx
mov dword [esi + 0x124], edx
xor eax, eax
jmp 0x562dd6
or ecx, 0xffffffff
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], 0
cmp eax, 4
je 0x56265e
cmp eax, 3
je 0x56265e
cmp eax, 0xc
jne 0x562666
mov dword [esp + 0x5c], 1
mov edx, dword [esi + 0x140]
mov dword [esp + 0x64], 1
cmp ebp, edx
jg 0x562be1
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x5626a1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x6c]
sub eax, edx
cmp eax, ecx
jae 0x562c25
jmp 0x5626a9
mov dword [esp + 0x64], 0
mov edi, dword [esi + 0x13c]
mov eax, dword [esi + 0x144]
cmp edi, eax
mov dword [esp + 0x18], edi
jg 0x562bc7
jmp 0x5626cb
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
cmp dword [esp + 0x5c], 1
jne 0x5626fe
cmp dword [esi + 0x148], ebp
jg 0x5626fe
cmp ebp, dword [esi + 0x150]
jg 0x5626fe
cmp dword [esi + 0x14c], edi
jg 0x5626fe
cmp edi, dword [esi + 0x154]
jle 0x562bac
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov cl, byte [esp + 0x27]
cdq
sub eax, edx
sar eax, 1
test cl, cl
mov ecx, dword [esp + 0x30]
je 0x56275f
add ecx, 0xfffffffc
cmp ecx, 8
ja case.0x56271b.5
jmp dword [ecx*4 + 0x562e14]
mov edx, ebp
mov ecx, edi
sub edx, eax
sub ecx, eax
mov dword [esp + 0x38], edx
lea edx, [eax + ebp]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edx
jmp 0x5627a5
mov ecx, ebp
mov edx, edi
sub ecx, eax
sub edx, eax
dec ecx
dec edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [eax + ebp + 1]
lea edx, [eax + edi + 1]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jmp 0x5627ab
add ecx, 0xfffffffc
cmp ecx, 8
ja case.0x562767.5
jmp dword [ecx*4 + 0x562e38]
mov edx, ebp
mov ecx, edi
sub edx, eax
sub ecx, eax
mov dword [esp + 0x38], edx
lea edx, [eax + ebp - 1]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edx
lea eax, [eax + edi - 1]
jmp 0x5627a7
mov ecx, ebp
mov edx, edi
sub ecx, eax
sub edx, eax
dec ecx
dec edx
mov dword [esp + 0x38], ecx
lea ecx, [eax + ebp]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], ecx
add eax, edi
mov dword [esp + 0x54], eax
lea edx, [esp + 0x38]
mov ecx, ebx
push edx
call fcn.00565760
cmp eax, 1
je 0x562bac
lea eax, [esp + 0x50]
mov ecx, ebx
push eax
call fcn.00565760
cmp eax, 1
je 0x562bac
mov ecx, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
cmp eax, ecx
mov ebp, eax
jg 0x56284c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x56283b
mov edi, dword [esp + 0x3c]
cmp edi, eax
jg 0x562832
mov ebx, ecx
test ebx, ebx
jne 0x562832
push edi
push ebp
mov ecx, 0x7507f8
call fcn.004738e0
cmp eax, 0xff
jne 0x562825
mov ebx, 1
mov dword [esp + 0x14], ebx
jmp 0x562829
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
inc edi
cmp edi, eax
jle 0x562803
mov ecx, dword [esp + 0x50]
inc ebp
cmp ebp, ecx
jle 0x5627f1
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp eax, 1
je 0x562bac
mov eax, dword [esp + 0x30]
cmp eax, 4
jne 0x56294e
mov eax, dword [ebx + 0xf04]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
lea edi, [ebx + 0xf04]
cmp eax, 0xffffffff
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
je 0x56289a
lea eax, [esp + 0x74]
push 0
push eax
push edi
mov ecx, ebx
call fcn.005657e0
test eax, eax
jne 0x56289a
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x74]
push ecx
push edi
mov ecx, ebx
call fcn.00565830
mov ebp, eax
mov edx, ebp
and edx, reloc.DPLAYX.dll_Ordinal_1
jns 0x5628b8
dec edx
or edx, 0xfffffffe
inc edx
cmp edx, 1
jne 0x5628c8
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*2]
mov dword [esp + 0x10], eax
lea ecx, [ebx + 0xf0c]
push edi
push ecx
mov ecx, ebx
call fcn.00565830
cmp eax, ebp
jne 0x5628e6
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*2]
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0xf08]
mov ecx, dword [esi + 0x134]
mov edi, dword [edi]
mov edx, dword [esi + 0x130]
sub eax, ecx
sub edi, edx
cdq
mov ecx, eax
mov eax, edi
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jge 0x56292a
cmp ebp, 1
je 0x56291e
cmp ebp, 5
jne 0x562a4a
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*2]
jmp 0x562a46
jle 0x562a4a
cmp ebp, 3
je 0x56293e
cmp ebp, 7
jne 0x562a4a
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2]
mov dword [esp + 0x10], ecx
jmp 0x562a4a
cmp eax, 1
je 0x5629a5
cmp eax, 2
je 0x5629a5
cmp eax, 0xb
je 0x5629a5
cmp eax, 6
je 0x5629d9
mov eax, dword [esp + 0x30]
cmp eax, 0xa
je 0x5629d9
cmp eax, 8
je 0x5629d9
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00565d20
cmp eax, 1
jne 0x5629d9
mov eax, 0x66666667
imul dword [esp + 0x10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
jmp 0x5629d5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push 0xa
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00565d20
cmp eax, 1
jne 0x5629d9
mov eax, 0x66666667
imul dword [esp + 0x10]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x5629ec
cmp eax, 2
je 0x5629ec
cmp eax, 0xb
jne 0x562a4a
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x130]
mov ebp, dword [esi + 0x134]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, ebp
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fsqrt
call fcn.005faa4c
mov ecx, eax
sub ecx, 0xa
test ecx, ecx
jle 0x562a4a
mov eax, 0x66666667
imul ecx
sar edx, 1
mov ecx, dword [esp + 0x7c]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
sub eax, edx
cmp eax, ecx
jle 0x562a4a
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
xor dl, dl
cmp ecx, eax
jne 0x562b09
mov eax, dword [esi + 0x130]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x134]
fild dword [esp + 0x14]
mov edi, ecx
sub edi, ebp
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x44]
fild dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
sub ecx, eax
faddp st(1)
fstp st(2)
fstp st(0)
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fxch st(1)
fsub st(1)
fxch st(1)
fstp st(0)
fcom dword [0x61bcb0]
fnstsw ax
test ah, 0x41
jne 0x562afa
fcom dword [0x61c244]
fnstsw ax
test ah, 1
je 0x562afa
fstp st(0)
call fcn.005faa7d
and eax, reloc.DPLAYX.dll_Ordinal_1
jns 0x562af5
dec eax
or eax, 0xfffffffe
inc eax
setne dl
jmp 0x562b09
fcomp dword [0x61b584]
fnstsw ax
test ah, 1
je 0x562b09
mov dl, 1
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x562b28
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jl 0x562b28
jne 0x562bac
test dl, dl
je 0x562bac
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00565cd0
test eax, eax
jne 0x562bac
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
push eax
push eax
push 1
fadd dword [0x61b588]
push 1
push 1
push 1
push 1
lea eax, [esp + 0x74]
push 1
push eax
push ecx
mov eax, dword [ebx + 0x100]
mov edx, dword [ecx]
fstp dword [esp]
fild dword [esp + 0x50]
push ecx
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [eax + 0xf0]
fadd dword [0x61b588]
fstp dword [esp]
push eax
call dword [edx + 0x24]
test al, al
jne 0x562bac
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x144]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jle 0x5626c3
mov ebp, dword [esp + 0x28]
mov eax, dword [esi + 0x140]
inc ebp
cmp ebp, eax
mov dword [esp + 0x28], ebp
jle 0x56267c
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
cmp dword [esp + 0x1c], ecx
jne 0x562ca4
cmp eax, 4
jne 0x562c14
mov edx, dword [ebx + 0xf04]
mov eax, dword [ebx + 0xf08]
mov dword [ebx + 0xf0c], edx
mov dword [ebx + 0xf10], eax
mov dword [ebx + 0xf04], ecx
mov dword [ebx + 0xf08], ecx
mov dword [esi + 0x10c], 0
xor eax, eax
jmp 0x562dd6
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x80]
push 0xff
lea eax, [esi + 8]
push edx
push eax
mov dword [esi], ecx
call fcn.005fac20
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x1a0]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x110], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x108], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x114], ecx
mov ecx, dword [esp + 0x19c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov dword [esi + 0x10c], 1
mov dword [esi + 0x118], edx
mov dword [esi + 0x11c], ebp
mov dword [esi + 0x124], ecx
xor eax, eax
jmp 0x562dd6
cmp eax, 4
jne 0x562cd5
mov ecx, dword [ebx + 0xf04]
mov edx, dword [ebx + 0xf08]
mov eax, dword [esp + 0x44]
mov dword [ebx + 0xf0c], ecx
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0xf10], edx
mov dword [ebx + 0xf04], eax
mov dword [ebx + 0xf08], ecx
mov eax, dword [esp + 0x190]
test eax, eax
jne 0x562d0b
cmp dword [esi + 0x10c], 1
je 0x562d0b
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
push 0
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00565a40
mov eax, 1
jmp 0x562dcc
mov al, byte [esp + 0x27]
push 0x80
test al, al
je 0x562d79
call fcn.005faa3d
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
mov dword [esp + 0x188], 2
je 0x562dca
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x80]
fild dword [esp + 0x48]
push edx
push ecx
mov ecx, dword [esp + 0x48]
push 0x3f800000
fadd dword [0x61b588]
push ecx
push ecx
push 0x3f800000
push ecx
fstp dword [esp]
fild dword [esp + 0x60]
push ecx
mov ecx, eax
fadd dword [0x61b588]
fstp dword [esp]
call fcn.0040b530
jmp 0x562dcc
call fcn.005faa3d
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
mov dword [esp + 0x188], 3
je 0x562dca
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x80]
fild dword [esp + 0x48]
push edx
push ecx
mov ecx, dword [esp + 0x48]
push 0x3f800000
push ecx
push ecx
push 0x3f800000
push ecx
fstp dword [esp]
fild dword [esp + 0x60]
push ecx
mov ecx, eax
fstp dword [esp]
call fcn.0040b530
jmp 0x562dcc
xor eax, eax
mov dword [esi + 0x10c], 0
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x17c
ret 0x2c