Function at 0x563d10
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0xb4]
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xa0]
mov eax, dword [esi + 0x2ac]
mov ebp, dword [esi + 0x2b0]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx]
test eax, eax
jne 0x563e0c
cmp edi, 3
je 0x563d52
cmp edi, 0xc
je 0x563d52
push 0x3c
jmp 0x563d54
push 0x64
mov ecx, 0x7507f8
call fcn.00473750
push 0xff
mov ecx, 0x7507f8
call fcn.00473cf0
cmp edi, 3
je 0x563d80
cmp edi, 0xc
je 0x563d80
cmp edi, 4
je 0x563d80
test edi, edi
jne 0x563dc8
mov eax, dword [esp + 0x6c]
xor ebx, ebx
test eax, eax
jle 0x563dc8
xor edi, edi
test ebp, ebp
jle 0x563dbf
cmp ebx, 5
jl 0x563dac
mov ecx, dword [esp + 0x6c]
lea eax, [ecx - 5]
cmp ebx, eax
jg 0x563dac
cmp edi, 5
jl 0x563dac
lea eax, [ebp - 5]
cmp edi, eax
jle 0x563dba
push 0x3c
push edi
push ebx
mov ecx, 0x7507f8
call fcn.00473b80
inc edi
cmp edi, ebp
jl 0x563d90
mov eax, dword [esp + 0x6c]
inc ebx
cmp ebx, eax
jl 0x563d8a
mov ebx, dword [esp + 0xc0]
mov dword [ebx], 1
mov dword [ebx + 4], 0xffffffff
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
sub eax, edx
cmp eax, ecx
jb 0x563e05
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 0x24
mov edi, dword [esp + 0xa0]
cmp dword [ebx], 1
jne 0x564704
mov ecx, dword [ebx + 4]
or eax, 0xffffffff
cmp ecx, eax
jne 0x563e36
cmp edi, 1
jne 0x563e2b
mov ecx, esi
call fcn.00567d10
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], eax
cmp dword [ebx + 4], 4
jge 0x5646ac
mov ebp, 0xf
mov ecx, dword [ebx + 4]
cmp ecx, 1
jne 0x563e64
cmp edi, 2
je 0x563e64
cmp edi, ecx
je 0x563e64
cmp edi, 0xb
je 0x563e64
cmp edi, 9
jne 0x564693
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + ecx*4 + 0x115c]
cmp edx, eax
jge 0x564693
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + ecx*4 + 0x114c]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp byte [eax + 0xd], 1
je 0x56466a
mov edx, dword [eax]
mov ecx, dword [esi + 0x100]
push edx
call fcn.00410f00
mov edi, eax
test edi, edi
je 0x56466a
mov eax, dword [edi + 8]
fld dword [eax + 0x34]
mov ecx, dword [eax + 0x38]
fsubr dword [edi + 0x38]
mov dword [esp + 0x28], ecx
fsub dword [0x61b588]
call fcn.005faa4c
mov dword [esp + 0x10], eax
fld dword [edi + 0x3c]
fsub dword [esp + 0x28]
fsub dword [0x61b588]
call fcn.005faa4c
lea edx, [esp + 0x10]
mov ecx, esi
push edx
mov dword [esp + 0x18], eax
call fcn.00565760
fld dword [esp + 0x28]
fadd dword [edi + 0x38]
fadd dword [0x61b588]
call fcn.005faa4c
fld dword [esp + 0x28]
mov dword [esp + 0x18], eax
fadd dword [edi + 0x3c]
fadd dword [0x61b588]
call fcn.005faa4c
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00565760
fld dword [edi + 0x38]
call fcn.005faa4c
mov dword [esp + 0x20], eax
fld dword [edi + 0x3c]
call fcn.005faa4c
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push ecx
mov ecx, esi
call fcn.00565760
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0xff
push edx
push eax
mov ecx, 0x7507f8
call fcn.00473910
mov eax, dword [esp + 0xa0]
cmp eax, 1
jne 0x564144
mov ecx, dword [edi + 8]
mov cx, word [ecx + 0x16]
movsx eax, cx
add eax, 0xfffffff9
cmp eax, 0x19
ja case.0x5643f2.10
xor edx, edx
mov dl, byte [eax + 0x5656ac]
jmp dword [edx*4 + 0x56569c]
mov eax, dword [esp + 0xc0]
mov edi, 3
mov bl, 1
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x563fae
cmp cx, 0x20
je 0x563fb9
cmp eax, 2
jne 0x563fbb
cmp cx, 8
jne 0x563fbb
mov bl, 2
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
dec edx
dec ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.00565760
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc edx
inc ecx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.00565760
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov al, bl
shl al, 3
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
mov ecx, 0x7507f8
call fcn.00473a70
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub edx, edi
sub ecx, edi
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], ecx
push edx
mov ecx, esi
call fcn.00565760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, edi
add ecx, edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
mov ecx, esi
call fcn.00565760
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov cl, bl
shl cl, 2
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, 5
sub eax, edi
sub ecx, edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
push eax
mov ecx, esi
call fcn.00565760
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ecx, edi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
add eax, edi
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00565760
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
shl bl, 1
push ebx
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
jmp case.0x5643f2.10
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec edi
lea eax, [esp + 0x10]
dec edx
push eax
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
call fcn.00565760
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
inc ebx
inc edi
push ecx
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call fcn.00565760
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0x80
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
jmp 0x564646
mov ebx, 2
cmp eax, ebx
jne 0x5643ce
mov edi, dword [edi + 8]
movsx eax, word [edi + 0x16]
add eax, 0xfffffff9
cmp eax, 0x1a
ja case.0x5643f2.10
xor ecx, ecx
mov cl, byte [eax + 0x5656e0]
jmp dword [ecx*4 + 0x5656c8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, 3
sub edx, edi
sub ecx, edi
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], ecx
push edx
mov ecx, esi
call fcn.00565760
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
add ebx, edi
add edx, edi
push eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
call fcn.00565760
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0x80
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
jmp 0x564646
mov edx, dword [esi + 0x100]
mov eax, dword [edx + 0xf0]
cmp word [eax + 0x9fc], 0
jle case.0x5643f2.10
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edi, 5
lea ecx, [esp + 0x10]
sub eax, edi
sub ebx, edi
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.00565760
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ecx, edi
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
add eax, edi
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00565760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, 0x7507f8
call fcn.00473a70
jmp case.0x5643f2.10
mov di, word [edi + 0x10]
cmp di, 0x7e
je case.0x5643f2.10
cmp di, 0x59
je case.0x5643f2.10
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edi, 3
lea ecx, [esp + 0x10]
sub eax, edi
sub ebx, edi
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.00565760
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
add eax, edi
add ebx, edi
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.00565760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebp
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, 0x7507f8
call fcn.00473a70
jmp case.0x5643f2.10
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
dec eax
dec edi
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
call fcn.00565760
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
inc eax
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00565760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebp
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, 0x7507f8
call fcn.00473a70
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
sub eax, ebx
sub edi, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
call fcn.00565760
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ecx, ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
add eax, ebx
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00565760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebp
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, 0x7507f8
call fcn.00473a70
jmp case.0x5643f2.10
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
dec ebx
dec edi
push ecx
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
call fcn.00565760
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
inc ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
jmp 0x564624
cmp eax, 0xb
jne 0x5645e7
mov ecx, dword [edi + 8]
movsx eax, word [ecx + 0x16]
add eax, 0xfffffff9
cmp eax, 0x19
ja case.0x5643f2.10
xor edx, edx
mov dl, byte [eax + 0x56570c]
jmp dword [edx*4 + 0x5656fc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, 3
lea eax, [esp + 0x10]
sub ebx, edi
sub edx, edi
push eax
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.00565760
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
add eax, edi
add ebx, edi
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.00565760
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0x80
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
jmp 0x564646
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, 5
lea eax, [esp + 0x10]
sub ebx, edi
sub edx, edi
push eax
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.00565760
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
add eax, edi
add ebx, edi
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.00565760
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0x80
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
jmp 0x564646
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec edi
lea eax, [esp + 0x10]
dec edx
push eax
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
call fcn.00565760
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
inc ebx
inc edi
push ecx
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call fcn.00565760
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0xc
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, 3
lea eax, [esp + 0x10]
sub ebx, edi
sub edx, edi
push eax
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.00565760
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
add eax, edi
add ebx, edi
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.00565760
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 4
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, 5
lea eax, [esp + 0x10]
sub ebx, edi
sub edx, edi
push eax
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.00565760
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add eax, edi
add ebx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00565760
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 1
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
jmp case.0x5643f2.10
mov eax, dword [edi + 8]
cmp word [eax + 0x16], bp
je 0x564630
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub ecx, ebx
sub eax, ebx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.00565760
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add edx, ebx
add ecx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.00565760
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 5
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, 0x7507f8
call fcn.00473bf0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
sub eax, edx
cmp eax, ecx
jae 0x5646e7
mov ebx, dword [esp + 0xc0]
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
inc edi
mov dword [ebx + 0xc], edi
mov edx, dword [esi + ecx*4 + 0x115c]
mov eax, edi
cmp eax, edx
jl 0x563e76
mov edi, dword [esp + 0xa0]
mov edx, dword [ebx + 4]
mov dword [ebx + 0xc], 0
inc edx
mov eax, edx
mov dword [ebx + 4], edx
cmp eax, 4
jl 0x563e45
mov ecx, dword [esp + 0xac]
mov dword [ebx], 2
mov edx, dword [ecx]
mov dword [ebx + 4], edx
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
sub eax, edx
cmp eax, ecx
jb 0x564704
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 0x24
mov eax, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov ecx, dword [eax + 0xc]
pop ebx
inc ecx
mov dword [eax + 0xc], ecx
xor eax, eax
add esp, 0x8c
ret 0x24
cmp dword [ebx], 2
jne 0x564a19
mov eax, dword [esi + 0x100]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx + 0x8c]
mov ecx, dword [ebx + 4]
mov eax, dword [edx + 0x34]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
cmp ecx, dword [edx]
jg 0x5648aa
mov ebp, dword [esp + 0xc0]
mov ebx, edx
mov eax, dword [esp + 0xac]
mov edi, dword [eax + 4]
mov eax, dword [ebx + 4]
cmp edi, eax
jg 0x564879
mov cx, word [ebp + 4]
push edi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004819a0
mov edx, dword [0x66c984]
mov bl, al
mov eax, dword [ebp + 4]
mov ecx, dword [edx + 0x1c]
mov edx, dword [ecx + edi*4]
test dword [edx + eax*4], 0x4003
je 0x564790
push 0xff
push edi
push eax
mov ecx, 0x7507f8
call fcn.00473910
mov eax, dword [esp + 0xa0]
cmp eax, 2
je 0x564833
cmp eax, 3
je 0x56483c
cmp eax, 7
je 0x564833
cmp bl, 1
je 0x5647c1
cmp bl, 0x15
jbe 0x564833
cmp bl, 0x17
ja 0x564833
mov eax, dword [ebp + 4]
lea edx, [edi - 3]
mov dword [esp + 0x30], edx
lea ecx, [eax - 3]
add eax, 3
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [edi + 3]
push ecx
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.00565760
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.00565760
mov eax, dword [ebp + 4]
push 0xff
push edi
push eax
mov ecx, 0x7507f8
call fcn.00473910
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
push 0xa
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, 0x7507f8
call fcn.00473bf0
mov eax, dword [esp + 0xa0]
cmp eax, 3
je 0x56483c
test eax, eax
jne 0x564866
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 4]
mov ecx, dword [edx + 0x8e8c]
lea edx, [eax*8]
sub edx, eax
mov ecx, dword [ecx + edi*4]
mov dl, byte [ecx + edx*4 + 6]
mov ecx, 0x7507f8
push edx
push edi
push eax
call fcn.004739f0
mov eax, dword [esp + 0xb0]
inc edi
cmp edi, dword [eax + 4]
jle 0x564756
mov ebx, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
sub eax, edx
cmp eax, ecx
jae 0x564994
mov edx, dword [ebp + 4]
inc edx
mov dword [ebp + 4], edx
mov ecx, dword [ebx]
mov eax, edx
cmp eax, ecx
jle 0x564741
mov eax, dword [esi + 0xf78]
xor ebx, ebx
test eax, eax
jle 0x5649dc
xor edi, edi
mov ecx, dword [esi + 0xf7c]
lea eax, [edi + ecx]
mov ecx, dword [edi + ecx]
cmp ecx, 0xffffffff
je 0x5649ca
mov ecx, dword [esi + 0x100]
xor edx, edx
mov dl, byte [eax + 0xa]
mov ecx, dword [ecx + 0xf0]
cmp edx, dword [ecx + 0x9c]
jne 0x5649ca
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 5]
sub edx, 4
mov dword [esp + 0x2c], edx
mov cl, byte [eax + 6]
sub ecx, 4
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push edx
mov ecx, esi
call fcn.00565760
mov eax, dword [esi + 0xf7c]
xor ecx, ecx
add eax, edi
xor edx, edx
mov cl, byte [eax + 7]
add ecx, 4
mov dword [esp + 0x20], ecx
mov dl, byte [eax + 8]
lea eax, [esp + 0x20]
add edx, 4
push eax
mov ecx, esi
mov dword [esp + 0x28], edx
call fcn.00565760
mov eax, dword [esp + 0xa0]
cmp eax, 3
je 0x5649aa
cmp eax, 4
je 0x5649aa
mov edx, dword [0x6633d4]
mov ecx, dword [esi + 0xf7c]
mov eax, dword [edx + 0x420]
mov ebp, dword [edi + ecx + 0x10]
mov edx, dword [eax + 0x10]
sub edx, ebp
cmp edx, 0x493e0
jae 0x5649ca
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push 0x10
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov ecx, 0x7507f8
call fcn.00473bf0
jmp 0x5649ca
mov eax, dword [ebp + 4]
pop edi
inc eax
pop esi
mov dword [ebp + 4], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 0x24
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
push 1
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, 0x7507f8
call fcn.00473a70
mov eax, dword [esi + 0xf78]
inc ebx
add edi, 0x18
cmp ebx, eax
jl 0x5648bc
mov ebx, dword [esp + 0xc0]
mov dword [ebx], 3
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
sub eax, edx
cmp eax, ecx
jb 0x564a12
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 0x24
mov edi, dword [esp + 0xa0]
cmp dword [ebx], 3
jne 0x565330
cmp edi, 1
je 0x564a61
cmp edi, 2
je 0x564a61
cmp edi, 0xb
je 0x564a61
cmp edi, 0xc
je 0x564a61
cmp edi, 3
je 0x564a61
cmp edi, 4
je 0x564a61
test edi, edi
je 0x564a61
cmp edi, 5
je 0x564a61
cmp edi, 6
je 0x564a61
cmp edi, 0xa
je 0x564a61
cmp edi, 8
je 0x564a61
cmp edi, 9
jne 0x565301
mov eax, dword [esi + 0x33c]
test eax, eax
jle 0x565301
mov ecx, 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x344]
lea edi, [ecx - 1]
lea edx, [eax - 1]
cmp edi, edx
jle 0x564af7
cmp ecx, eax
jl 0x564a9b
lea ebx, [eax + 0x20]
cmp ebx, ecx
jg 0x564a9d
mov ebx, ecx
lea eax, [ebx*4]
push eax
call fcn.005faa3d
mov edi, eax
add esp, 4
test edi, edi
je 0x564af7
mov ecx, dword [esi + 0x344]
xor eax, eax
test ecx, ecx
jle 0x564adc
cmp eax, ebx
jge 0x564adc
mov ecx, dword [esi + 0x338]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edi + eax*4 - 4], edx
mov ecx, dword [esi + 0x344]
cmp eax, ecx
jl 0x564abf
mov eax, dword [esi + 0x338]
push eax
call fcn.005faa32
add esp, 4
mov dword [esi + 0x338], edi
mov dword [esi + 0x344], ebx
mov ecx, dword [esi + 0x338]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx]
mov ecx, dword [esi + 0x100]
push eax
call fcn.00410f00
mov edi, eax
test edi, edi
je 0x5652ce
mov ecx, dword [edi + 8]
movsx edx, word [ecx + 0x10]
push edx
mov ecx, esi
call fcn.005658a0
mov ebp, dword [esp + 0xa0]
mov ebx, eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x34]
push eax
push ecx
push ebp
push ebx
push edi
mov ecx, esi
call fcn.00568000
cmp ebx, 9
jne 0x564b82
cmp ebp, 8
je 0x564b82
cmp ebp, 6
je 0x564b82
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov eax, 3
sub edx, eax
sub ecx, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x40]
add edx, eax
add ecx, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x34]
mov ecx, esi
push edx
call fcn.00565760
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.00565760
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push 0xff
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
mov ecx, 0x7507f8
call fcn.00473960
cmp ebp, 3
je 0x565137
cmp ebp, 0xc
je 0x565137
test ebp, ebp
je 0x565137
cmp ebp, 1
je 0x565095
cmp ebp, 2
je 0x565095
cmp ebp, 0xb
je 0x565095
cmp ebp, 9
jne 0x564caa
mov edx, dword [edi + 8]
fld dword [edx + 0x2c]
fcom dword [0x61d6a0]
fnstsw ax
test ah, 1
jne 0x564c16
fstp st(0)
fld dword [0x61d6a0]
cmp ebx, 1
je 0x564c25
cmp ebx, 2
je 0x564c25
cmp ebx, 0xb
jne 0x564c2d
fstp st(0)
fld dword [0x61b5a0]
call fcn.005faa4c
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x34]
sub ecx, edi
lea edx, [esp + 0x7c]
sub eax, edi
mov dword [esp + 0x80], ecx
push edx
mov ecx, esi
mov dword [esp + 0x80], eax
call fcn.00565760
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea ecx, [edi + eax]
lea eax, [esp + 0x84]
mov dword [esp + 0x84], ecx
add edi, edx
push eax
mov ecx, esi
mov dword [esp + 0x8c], edi
call fcn.00565760
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push 0xa
push ecx
mov ecx, dword [esp + 0x84]
push edx
push eax
jmp 0x5652c3
cmp ebp, 5
jne 0x564d5b
mov edx, dword [edi + 8]
fld dword [edx + 0x2c]
fcom dword [0x61d6a0]
fnstsw ax
test ah, 1
jne 0x564cce
fstp st(0)
fld dword [0x61d6a0]
cmp ebx, 9
jne 0x564cd9
fmul dword [0x61b944]
call fcn.005faa4c
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x8c]
shl edi, 1
sub ecx, edi
sub eax, edi
mov dword [esp + 0x90], ecx
push edx
mov ecx, esi
mov dword [esp + 0x90], eax
call fcn.00565760
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea ecx, [edi + eax]
lea eax, [esp + 0x94]
mov dword [esp + 0x94], ecx
add edi, edx
push eax
mov ecx, esi
mov dword [esp + 0x9c], edi
call fcn.00565760
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push 0x3c
push ecx
mov ecx, dword [esp + 0x94]
push edx
push eax
jmp 0x5652c3
cmp ebp, 8
jne 0x564f00
cmp ebx, 9
je 0x564d76
cmp ebx, 2
je 0x564d76
cmp ebx, ebp
jne 0x5652ce
mov edx, dword [edi + 8]
fld dword [edx + 0x2c]
fcom dword [0x61d6a0]
fnstsw ax
test ah, 1
jne 0x564d91
fstp st(0)
fld dword [0x61d6a0]
sub ebx, 2
mov byte [esp + 0x48], 0x3c
je 0x564db1
sub ebx, 6
je 0x564daa
dec ebx
jne 0x564db6
mov byte [esp + 0x48], 0xf0
jmp 0x564db6
mov byte [esp + 0x48], 0x3c
jmp 0x564db6
mov byte [esp + 0x48], 0x78
call fcn.005faa4c
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x34]
sub ecx, edi
lea edx, [esp + 0x64]
sub eax, edi
mov dword [esp + 0x68], ecx
push edx
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00565760
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea ecx, [edi + eax]
lea eax, [edi + edx]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.00565760
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
push ebp
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
mov eax, edi
mov ecx, dword [esp + 0x38]
cdq
sub eax, edx
lea edx, [esp + 0x64]
mov ebx, eax
mov eax, dword [esp + 0x34]
sar ebx, 1
sub ecx, ebx
sub eax, ebx
mov dword [esp + 0x68], ecx
push edx
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00565760
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea ecx, [ebx + eax]
lea eax, [esp + 0x54]
mov dword [esp + 0x54], ecx
add ebx, edx
push eax
mov ecx, esi
mov dword [esp + 0x5c], ebx
call fcn.00565760
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x68]
push ebp
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
mov ecx, 0x7507f8
call fcn.00473a70
mov eax, 0x55555556
mov ecx, dword [esp + 0x34]
imul edi
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov edx, dword [esp + 0x38]
sub ecx, edi
sub edx, edi
mov dword [esp + 0x64], ecx
lea eax, [esp + 0x64]
mov ecx, esi
push eax
mov dword [esp + 0x6c], edx
call fcn.00565760
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea edx, [edi + ecx]
lea ecx, [esp + 0x54]
add edi, eax
push ecx
mov ecx, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edi
call fcn.00565760
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
push ebp
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
jmp 0x5652ce
cmp ebp, 6
jne 0x5652ce
mov eax, dword [edi + 8]
fld dword [eax + 0x2c]
fcom dword [0x61d6a0]
fnstsw ax
test ah, 1
jne 0x564f24
fstp st(0)
fld dword [0x61d6a0]
lea eax, [ebx - 2]
mov byte [esp + 0x28], 0x3c
cmp eax, 0xa
ja case.0x564f31.4
jmp dword [eax*4 + 0x565728]
mov byte [esp + 0x28], 0xf0
jmp case.0x564f31.4
mov byte [esp + 0x28], 0xb4
jmp case.0x564f31.4
mov byte [esp + 0x28], 0x78
call fcn.005faa4c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, eax
lea eax, [esp + 0x5c]
sub ecx, edi
sub edx, edi
mov dword [esp + 0x5c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x64], edx
call fcn.00565760
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea edx, [edi + ecx]
lea ecx, [edi + eax]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x50], ecx
push edx
mov ecx, esi
call fcn.00565760
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
push ebp
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
mov ecx, 0x7507f8
call fcn.00473a70
mov eax, edi
mov ecx, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
mov ebx, eax
lea eax, [esp + 0x5c]
sar ebx, 1
sub ecx, ebx
sub edx, ebx
mov dword [esp + 0x5c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x64], edx
call fcn.00565760
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea edx, [ebx + ecx]
lea ecx, [esp + 0x4c]
add ebx, eax
push ecx
mov ecx, esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
call fcn.00565760
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
push ebp
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
mov eax, 0x55555556
mov ecx, dword [esp + 0x34]
imul edi
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov edx, dword [esp + 0x38]
sub ecx, edi
sub edx, edi
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
mov dword [esp + 0x64], edx
call fcn.00565760
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea edx, [edi + ecx]
lea ecx, [esp + 0x4c]
add edi, eax
push ecx
mov ecx, esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edi
call fcn.00565760
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
push ebp
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473a70
jmp 0x5652ce
mov eax, dword [edi + 8]
fld dword [eax + 0x2c]
fcom dword [0x61d6a0]
fnstsw ax
test ah, 1
jne 0x5650b0
fstp st(0)
fld dword [0x61d6a0]
cmp ebx, 9
jne 0x5650bd
fmul dword [0x61b588]
jmp 0x5650d4
cmp ebx, 1
je 0x5650cc
cmp ebx, 2
je 0x5650cc
cmp ebx, 0xb
jne 0x5650d4
fstp st(0)
fld dword [0x61b5a0]
call fcn.005faa4c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov edi, eax
lea eax, [esp + 0x6c]
sub ecx, edi
sub edx, edi
mov dword [esp + 0x6c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x74], edx
call fcn.00565760
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea edx, [edi + ecx]
lea ecx, [esp + 0x74]
add edi, eax
push ecx
mov ecx, esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edi
call fcn.00565760
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push 0xa
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
jmp 0x5652c4
cmp ebx, 3
jne 0x56514c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x128]
fstp dword [esp + 0x44]
jmp 0x565156
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x44], edx
cmp ebp, 3
je 0x56516e
cmp ebp, 0xc
je 0x56516e
fld dword [esp + 0x44]
fmul dword [0x61b588]
fstp dword [esp + 0x44]
cmp ebx, 9
jne 0x565183
fld dword [esp + 0x44]
fmul dword [0x61b588]
fstp dword [esp + 0x44]
jmp 0x565188
cmp ebx, 3
je 0x5651a6
cmp ebp, 0xc
je 0x5651a6
fld dword [esp + 0x44]
fcomp dword [0x61d6a0]
fnstsw ax
test ah, 1
jne 0x5651a6
mov dword [esp + 0x44], 0x40c00000
fld dword [esp + 0x44]
call fcn.005faa4c
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x34]
sub ecx, edi
lea edx, [esp + 0x20]
sub eax, edi
mov dword [esp + 0x24], ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.00565760
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea ecx, [edi + eax]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
add edi, edx
push eax
mov ecx, esi
mov dword [esp + 0x34], edi
call fcn.00565760
test ebp, ebp
jne 0x565224
cmp ebx, 3
jne 0x5652ae
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push 0xa
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, 0x7507f8
call fcn.00473a70
jmp 0x5652ce
cmp ebp, 3
jne 0x565291
cmp ebx, ebp
jne 0x5652ce
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push 0xa
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, 0x7507f8
call fcn.00473bf0
fld dword [esp + 0x44]
fmul dword [0x61b588]
fild dword [esp + 0x30]
push 0xa
fsub st(1)
call fcn.005faa4c
fild dword [esp + 0x30]
push eax
fsub st(1)
call fcn.005faa4c
fild dword [esp + 0x2c]
push eax
fadd st(1)
call fcn.005faa4c
fild dword [esp + 0x2c]
push eax
fadd st(1)
call fcn.005faa4c
fstp st(0)
push eax
jmp 0x5652c4
cmp ebp, 0xc
jne 0x5652ae
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push 0x14
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
jmp 0x5652c4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push 0xa
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, 0x7507f8
call fcn.00473bf0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x33c]
inc ecx
add edx, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
lea edx, [ecx - 1]
cmp edx, eax
jl 0x564a80
mov edi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xc0]
mov dword [ebx], 4
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
sub eax, edx
cmp eax, ecx
jb 0x565330
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 0x24
cmp dword [ebx], 4
jne 0x565568
mov eax, dword [esi + 0x2b8]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x565539
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x2bc]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + eax]
cmp eax, 0xffffffff
je 0x565509
mov ecx, dword [esi + 0x100]
push eax
call fcn.00410f00
mov edi, eax
test edi, edi
je 0x565509
cmp byte [edi + 0x48], 2
ja 0x565509
push edi
mov ecx, esi
call fcn.00560ef0
test eax, eax
je 0x565509
mov edx, dword [esi + 0x100]
mov ebp, dword [esp + 0x28]
xor ebx, ebx
mov ecx, dword [edx + 0xf0]
mov edx, dword [esi + 0x2bc]
mov bl, byte [edx + ebp + 0xb]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
mov ebp, eax
mov eax, dword [edi + 8]
movsx ecx, word [eax + 0x10]
push ecx
mov ecx, esi
call fcn.005658a0
mov ebx, eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
push eax
push 0xffffffffffffffff
push ebx
push edi
mov ecx, esi
call fcn.00568000
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x56546e
test ebp, ebp
jne 0x5654e6
mov ecx, dword [edi + 8]
fld dword [ecx + 0x2c]
call fcn.005faa4c
mov edx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x30]
sub edx, edi
sub eax, edi
lea ecx, [esp + 0x74]
sub edx, 2
sub eax, 2
push ecx
mov ecx, esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.00565760
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea eax, [edx + edi + 2]
lea edx, [ecx + edi + 2]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
mov dword [esp + 0x74], edx
call fcn.00565760
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x78]
push 0xff
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
jmp 0x5654fe
test ebp, ebp
jne 0x5654e6
cmp ebx, 3
je 0x565486
cmp ebx, 9
je 0x565486
mov edx, dword [edi + 8]
cmp word [edx + 0x10], 0x52
jne 0x5654e6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x128]
fild dword [esp + 0x2c]
fsub st(1)
fadd dword [0x61b588]
call fcn.005faa4c
fild dword [esp + 0x30]
mov dword [esp + 0x2c], eax
fsub st(1)
fadd dword [0x61b588]
call fcn.005faa4c
fild dword [esp + 0x20]
mov dword [esp + 0x30], eax
fadd st(1)
fadd dword [0x61b588]
call fcn.005faa4c
fild dword [esp + 0x24]
mov dword [esp + 0x20], eax
fadd st(1)
fadd dword [0x61b588]
call fcn.005faa4c
fstp st(0)
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
push 0xff
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, 0x7507f8
call fcn.00473960
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x2b8]
inc eax
add edx, 0x2c
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
jl 0x565357
mov edi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xc0]
mov dword [ebx], 5
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
sub eax, edx
cmp eax, ecx
jb 0x565568
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret 0x24
cmp dword [ebx], 5
jne 0x565689
test edi, edi
je 0x565666
add esi, 0xf24
mov dword [esp + 0x48], 2
mov dword [esp + 0x28], esi
mov eax, dword [esi - 4]
test eax, eax
je 0x56564e
mov eax, dword [esi]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x56564e
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x24]
add ebx, ecx
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp edi, esi
je 0x565613
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x24]
cmp eax, ecx
je 0x565613
xor edx, edx
cmp edi, esi
setge dl
dec edx
and edx, 2
dec edx
mov ebp, edx
xor edx, edx
cmp eax, ecx
setge dl
dec edx
sub edi, ebp
and edx, 2
dec edx
mov ecx, edx
sub eax, ecx
mov dword [esp + 0x44], ecx
mov esi, eax
mov ecx, dword [esp + 0x44]
add edi, ebp
add esi, ecx
push 0xff
push esi
push edi
mov ecx, 0x7507f8
call fcn.00473910
cmp edi, dword [ebx + 0x20]
jne 0x5655f3
jmp 0x56562c
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
push 0xff
push eax
push esi
push ecx
push edi
mov ecx, 0x7507f8
call fcn.00473960
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edx, 0x28
inc eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov esi, edx
cmp eax, dword [edx]
jl 0x5655b0
mov eax, dword [esp + 0x48]
add esi, 0x2c
dec eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x48], eax
jne 0x56558b
jmp 0x56567c
mov ecx, dword [esi + 0x100]
push 0x7507f8
add ecx, 0x40e4
call fcn.00580d00
mov eax, dword [esp + 0xc0]
mov dword [eax], 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8c
ret 0x24