Function at 0x140004320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rax, [0x14012e910]
mov qword [0x14017aba0], rax
lea rax, str.Ver.1.11
mov qword [0x14017aba8], rax
lea rax, str.Meiryo
mov qword [0x14017abb0], rax
lea rax, str.Direct3D
mov qword [0x14017abb8], rax
lea rax, str.data.bin
mov qword [0x14017abc0], rax
lea rax, [0x14012ea58]
mov qword [0x14017abc8], rax
lea rax, [0x14012ea98]
mov qword [0x14017abd0], rax
lea rax, [0x14012ead8]
mov qword [0x14017abd8], rax
lea rax, [0x14012eb18]
mov qword [0x14017abe0], rax
lea rax, [0x14012eb58]
mov qword [0x14017abe8], rax
lea rax, [0x14012eb98]
mov qword [0x14017abf0], rax
lea rax, [0x14012ebd8]
mov qword [0x14017abf8], rax
lea rax, [0x14012ec18]
mov qword [0x14017ac00], rax
lea rax, [0x14012ec58]
mov qword [0x14017ac08], rax
lea rax, [0x14012ec98]
mov qword [0x14017ac10], rax
lea rax, [0x14012ecd8]
mov qword [0x14017ac18], rax
lea rax, [0x14012ed08]
mov qword [0x14017ac20], rax
lea rax, [0x14012ed30]
mov qword [0x14017ac28], rax
lea rax, [0x14012ed58]
mov qword [0x14017ac30], rax
lea rax, [0x14012ed78]
mov qword [0x14017ac38], rax
lea rax, [0x14012eda0]
mov qword [0x14017ac40], rax
lea rax, [0x14012edc0]
mov qword [0x14017ac48], rax
lea rax, [0x14012edd0]
mov qword [0x14017ac50], rax
lea rax, str.J0W00D0
mov qword [0x14017ac58], rax
lea rax, [0x14012edf8]
mov qword [0x14017ac60], rax
lea rax, [0x14012ee10]
mov qword [0x14017ac68], rax
lea rax, [0x14012ee30]
mov qword [0x14017ac70], rax
lea rax, str.YM0j0
mov qword [0x14017ac78], rax
lea rax, [0x14012ee68]
mov qword [0x14017ac80], rax
lea rax, [0x14012ee80]
mov qword [0x14017ac88], rax
lea rax, [0x14012eea8]
mov qword [0x14017ac90], rax
lea rax, [0x14012eed0]
mov qword [0x14017ac98], rax
lea rax, [0x14012eee8]
mov qword [0x14017aca0], rax
lea rax, [0x14012ef10]
mov qword [0x14017aca8], rax
lea rax, [0x14012ef60]
mov qword [0x14017acb0], rax
lea rax, [0x14012ef80]
mov qword [0x14017acb8], rax
lea rax, [0x14012efd0]
mov qword [0x14017acc0], rax
lea rax, [0x14012f020]
mov qword [0x14017acc8], rax
lea rax, [0x14012f030]
mov qword [0x14017acd0], rax
lea rax, [0x14012f038]
mov qword [0x14017acd8], rax
lea rax, [0x14012f048]
mov qword [0x14017ace0], rax
mov r9d, 0x3c
lea rax, [0x14012f050]
mov edx, 0x2d0
mov qword [0x14017ace8], rax
mov ecx, 0x500
lea rax, str._fTX0
mov qword [0x14017acf0], rax
lea r8d, [r9 - 0x1c]
lea rax, [0x14012f0a8]
mov qword [0x14017acf8], rax
lea rax, [0x14012f0d8]
mov qword [0x14017ad00], rax
lea rax, [0x14012f0f8]
mov qword [0x14017ad08], rax
lea rax, [0x14012f128]
mov qword [0x14017ad10], rax
lea rax, [0x14012f150]
mov qword [0x14017ad18], rax
lea rax, [0x14012f160]
mov qword [0x14017ad20], rax
lea rax, [0x14012f168]
mov qword [0x14017ad28], rax
lea rax, [0x14012f178]
mov qword [0x14017ad30], rax
lea rax, [0x14012f180]
mov qword [0x14017ad38], rax
lea rax, [0x14012f190]
mov qword [0x14017ad40], rax
lea rax, [0x14012f1a0]
mov qword [0x14017ad48], rax
lea rax, [0x14012f1c8]
mov qword [0x14017ad50], rax
lea rax, [0x14012f1f0]
mov qword [0x14017ad58], rax
lea rax, str._02d
mov qword [0x14017ad60], rax
lea rax, str.Enter
mov qword [0x14017ad68], rax
lea rax, [0x14012f2a0]
mov qword [0x14017ad70], rax
lea rax, [0x14012f2b0]
mov qword [0x14017ad78], rax
lea rax, [0x14012f2b8]
mov qword [0x14017ad80], rax
lea rax, [0x14012f2c8]
mov qword [0x14017ad88], rax
lea rax, [0x14012f2e8]
mov qword [0x14017ad90], rax
lea rax, [0x14012f308]
mov qword [0x14017ad98], rax
call fcn.1400130e0
mov eax, dword [0x14051ed30]
mov dword [0x1401ae494], 0x65
test eax, eax
jne 0x140004703
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x140004703
mov ecx, 1
call rax
cmp qword [0x1401a9ad8], 0
je 0x140004765
mov eax, dword [0x1401ae494]
mov edx, 0x7f00
test eax, eax
je 0x14000471f
movzx edx, ax
mov eax, dword [0x14051ed34]
mov rcx, qword [0x1401a9ad0]
test eax, eax
je 0x140004738
call qword [0x14051f3e0]
jmp 0x14000473e
call qword [0x14051f3d8]
mov rcx, qword [0x1401a9ad8]
mov r8, rax
mov eax, dword [0x14051ed34]
mov edx, 0xfffffff2
test eax, eax
je 0x14000475f
call qword [0x14051f358]
jmp 0x140004765
call qword [0x14051f350]
xor edi, edi
cmp dword [0x1401a9b44], 1
je 0x140004812
mov eax, dword [0x14051ed30]
mov dword [0x1401b7374], 1
mov dword [0x1401a9f80], edi
test eax, eax
jne 0x1400047a4
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x1400047a4
lea ecx, [rdi + 1]
call rax
cmp dword [0x1401ae4bc], 1
mov dword [0x1401a9b44], 1
jne 0x1400047cb
mov rdx, qword [0x1401ae4b0]
mov rcx, qword [0x1401a9ad8]
call qword [0x14051f448]
cmp qword [0x1401a9ad8], rdi
je 0x140004812
cmp dword [0x1401a9b10], 1
je 0x140004812
mov ecx, 1
mov dword [0x1401a9b48], 1
call fcn.14004c550
mov edx, 0xffffffff
mov dword [rsp + 0x20], 0xffffffff
mov ecx, edx
mov r8d, edx
lea r9d, [rdx + 2]
call fcn.1400151d0
mov dword [0x1401a9b48], edi
mov rcx, qword [0x14017aba0]
call fcn.14004d1a0
lea r8, [0x14012e88c]
lea rdx, [0x14012e890]
lea rcx, [rsp + 0x40]
call fcn.14010e164
test eax, eax
je 0x140004865
mov r8, qword [0x14017aba0]
mov r9d, pe_nt_image_headers64
mov rdx, qword [0x14017abc0]
mov rcx, qword [0x1401a9ad8]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0xffffffff
jmp 0x140005613
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x130], rbx
call fcn.14010e010
cmp dword [0x1401a7010], 1
je 0x14000489a
call fcn.140049540
call fcn.14005d980
mov ebx, eax
call fcn.1400498f0
cmp ebx, 0xffffffff
je 0x140005630
mov qword [rsp + 0x140], r12
mov edx, 0xff
mov qword [rsp + 0x110], r13
mov ecx, edx
mov qword [rsp + 0x108], r14
mov r8d, edx
mov qword [rsp + 0x100], r15
call fcn.140070670
mov edx, 0xc8
mov dword [0x140176c94], eax
lea ecx, [rdx - 0x78]
lea r8d, [rdx + 0x37]
call fcn.140070670
mov edx, 0xff
mov dword [0x140176c98], eax
mov ecx, edx
mov r8d, edx
call fcn.140070670
mov dword [0x140176c9c], eax
call fcn.140046cf0
mov r8d, 0x6b
mov dword [rsp + 0x5a], 0x6c0070
mov ecx, edi
mov dword [rsp + 0x5e], 0x55006b
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x62], 0x5b0061
mov dword [rsp + 0x66], 0x5a0050
mov dword [rsp + 0x6a], 0x5e0039
mov dword [rsp + 0x6e], 0x470055
mov dword [rsp + 0x72], 0x4b005a
mov word [rsp + 0x76], di
nop word [rax + rax]
lea eax, [rcx + 1]
inc ecx
add ax, r8w
mov word [rdx], ax
lea rdx, [rsp + 0x58]
movsxd rax, ecx
lea rdx, [rdx + rax*2]
movzx eax, word [rdx]
movzx r8d, ax
test ax, ax
jne 0x140004950
mov qword [rsp + 0x138], rsi
lea rcx, [rsp + 0x58]
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xb0], xmm10
movaps xmmword [rsp + 0xa0], xmm11
movaps xmmword [rsp + 0x90], xmm12
movaps xmmword [rsp + 0x80], xmm13
call fcn.140046d60
mov ecx, 0xfffffffe
call fcn.140012790
xor edx, edx
xor ecx, ecx
mov r9d, 0x2d0
mov r8d, 0x500
call fcn.14000e720
mov rcx, qword [0x14017abb0]
mov edx, 0x60
mov dword [rsp + 0x28], 3
call fcn.14005b560
mov rcx, qword [0x14017abb0]
mov edx, 0x24
mov dword [0x140177794], eax
mov dword [rsp + 0x28], 3
call fcn.14005b560
mov rcx, qword [0x14017abb0]
mov edx, 0x18
mov dword [0x140177798], eax
mov dword [rsp + 0x28], 2
call fcn.14005b560
mov edx, 1
mov dword [0x14017779c], eax
lea rcx, str.data_texture_michako.png
call fcn.14000a7b0
mov edx, 1
lea rcx, str.data_texture_wait.png
mov r13d, eax
call fcn.14000a7b0
mov r12d, eax
mov r14d, edi
mov r15d, edi
cmp r13d, 0xffffffff
je 0x14000562a
cmp eax, 0xffffffff
je 0x14000562a
mov dword [0x140176350], edi
call fcn.140049540
call fcn.14005e5f0
mov ebx, eax
call fcn.1400498f0
test ebx, ebx
jne 0x140005585
movsd xmm8, qword [0x14013bea0]
movsd xmm9, qword [0x14013be80]
movsd xmm10, qword [0x14013c060]
movss xmm13, dword [0x14013bdf0]
movss xmm11, dword [0x14013be44]
movss xmm7, dword [0x14013c010]
movsd xmm12, qword [0x14013bf30]
cmp dword [0x1401a9f8c], 0
lea rbx, [0x140000000]
mov esi, r14d
jne 0x140004b07
cmp dword [0x1401acff8], 0
jne 0x140004b07
call fcn.14004c060
mov eax, dword [0x1401cb140]
test eax, eax
jne 0x140004b20
cmp dword [0x1401a9f78], eax
jne 0x140004b81
call fcn.14005f4d0
jmp 0x140004b81
cmp dword [0x1405b9c58], 1
je 0x140004b43
mov ecx, 1
mov dword [0x1405b9c58], 1
call fcn.1400a9fb0
mov dword [0x1405b9c58], edi
mov rcx, rdi
nop word [rax + rax]
movzx eax, byte [rcx + rbx + 0x1cb14c]
shr al, 7
mov byte [rcx + rbx + 0x176364], al
movzx eax, byte [rcx + rbx + 0x1cb14d]
shr al, 7
mov byte [rcx + rbx + 0x176365], al
add rcx, 2
cmp rcx, 0x100
jl 0x140004b50
call fcn.140012680
cmp byte [0x140176374], 1
jne 0x140004bb3
cmp dword [0x1401764a4], 0
jne 0x140004bb3
mov eax, dword [0x140176c70]
xor eax, 1
mov dword [0x1401764a4], 1
mov dword [0x140176c70], eax
jmp 0x140004bb9
mov eax, dword [0x140176c70]
test eax, eax
jne 0x140004bc3
movaps xmm0, xmm8
jmp 0x140004bc7
movaps xmm0, xmm9
movaps xmm1, xmm10
call fcn.14004d420
mov edx, dword [0x1401777a4]
test edx, edx
je 0x140004c65
cmp dword [0x1401777a8], 0
je 0x140004c65
cmp byte [0x140176382], 1
jne 0x140004c25
mov ecx, dword [0x140176c84]
sub ecx, 1
mov dword [0x140176c84], ecx
jns 0x140004c09
mov ecx, edi
mov dword [0x140176c84], ecx
call fcn.14002eb00
mov edx, dword [0x1401777a8]
mov ecx, dword [0x140176c84]
call fcn.14002eb00
mov edx, dword [0x1401777a4]
cmp byte [0x140176383], 1
jne 0x140004c65
mov ecx, dword [0x140176c84]
inc ecx
mov dword [0x140176c84], ecx
cmp ecx, 0xff
jle 0x140004c4f
mov ecx, 0xff
mov dword [0x140176c84], ecx
call fcn.14002eb00
mov edx, dword [0x1401777a8]
mov ecx, dword [0x140176c84]
call fcn.14002eb00
mov eax, dword [0x1405b9c30]
test eax, eax
jne 0x140004cc7
mov eax, dword [0x14051ed30]
test eax, eax
jne 0x140004c91
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x140004c91
mov ecx, 1
call rax
cmp qword [0x14051ed38], 0
jne 0x140004cb1
call fcn.140085840
cmp qword [0x14051ed38], 0
jne 0x140004cb1
mov eax, 0xffffffff
jmp 0x140004cbb
call qword [0x14051ed60]
btr eax, 0x1f
mov dword [0x1405b9c34], eax
mov eax, dword [0x1405b9c30]
cmp eax, 0x3c
jne 0x140004d22
mov eax, dword [0x14051ed30]
test eax, eax
jne 0x140004cee
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x140004cee
mov ecx, 1
call rax
cmp qword [0x14051ed38], 0
jne 0x140004d0e
call fcn.140085840
cmp qword [0x14051ed38], 0
jne 0x140004d0e
mov ecx, 0xffffffff
jmp 0x140004d1a
call qword [0x14051ed60]
mov ecx, eax
btr ecx, 0x1f
mov eax, edi
mov dword [0x1405b9c34], ecx
mov ecx, dword [0x140176350]
inc eax
mov dword [0x1405b9c30], eax
test ecx, ecx
je 0x14000513c
sub ecx, 1
je 0x140004de9
sub ecx, 1
je 0x140004d54
sub ecx, 1
je 0x140004d63
cmp ecx, 1
jne 0x1400052a5
call fcn.1400066d0
call fcn.140006d10
jmp 0x1400052a5
call section..text
call fcn.140002ce0
mov rcx, qword [0x140176cf8]
movabs rdx, 0x2386f26fc0ffff
cmp rcx, rdx
jle 0x140004d86
mov rcx, rdx
mov rax, qword [0x140176d00]
cmp rax, rdx
jle 0x140004d9c
mov rax, rdx
mov qword [0x140176d00], rdx
cmp rax, rcx
jge 0x140004db0
movsxd rax, dword [0x14017776c]
mov rax, qword [rbx + rax*8 + 0x17a7e0]
mov qword [0x140176cf8], rax
mov eax, dword [0x140176ce4]
test eax, eax
je 0x140004dd9
cmp eax, 1
jne 0x140004ddf
mov eax, dword [0x140176ce8]
inc eax
mov dword [0x140176ce8], eax
cmp eax, 0x3c
jle 0x140004ddf
mov dword [0x140176ce8], edi
call fcn.1400058a0
jmp 0x1400052a5
lea rbx, [0x140177780]
mov ecx, dword [rbx]
call fcn.140073060
cmp eax, 0xffffffff
je 0x14000562a
add rbx, 4
lea rax, [0x140177794]
cmp rbx, rax
jl 0x140004df0
lea rbx, [0x1401777a4]
mov ecx, dword [rbx]
call fcn.140073060
cmp eax, 0xffffffff
je 0x14000563c
add rbx, 4
lea rax, [0x1401777ac]
cmp rbx, rax
jl 0x140004e17
mov rbx, rax
nop word [rax + rax]
mov ecx, dword [rbx]
call fcn.140073060
cmp eax, 0xffffffff
je 0x140005636
add rbx, 4
lea rax, [0x1401777c0]
cmp rbx, rax
jl 0x140004e40
movss xmm6, dword [0x140176c80]
mov eax, 0x2aaaaaab
movss xmm0, dword [0x140176c7c]
mov ecx, r14d
imul r14d
subss xmm0, xmm6
mov dword [rsp + 0x20], r13d
mov eax, edx
mulss xmm0, xmm13
shr eax, 0x1f
add edx, eax
addss xmm6, xmm0
lea eax, [rdx + rdx*2]
xor edx, edx
add eax, eax
sub ecx, eax
movss dword [0x140176c80], xmm6
lea r9d, [rdx + 0x50]
lea r8d, [rdx + 0x28]
lea ecx, [rcx + rcx*4]
shl ecx, 3
call fcn.1400098f0
cvttss2si ecx, xmm6
mov dword [rsp + 0x20], eax
mov edx, 0x288
mov ebx, eax
xorps xmm3, xmm3
movaps xmm2, xmm11
call fcn.14000d950
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.140072cc0
cvttss2si edi, dword [0x140176c80]
xor edx, edx
mov dword [rsp + 0x20], r12d
xor ecx, ecx
lea r9d, [rdx + 0x78]
lea r8d, [r9 + 0x50]
call fcn.1400098f0
xorps xmm3, xmm3
mov dword [rsp + 0x20], eax
movaps xmm2, xmm11
mov edx, 0x21c
mov ecx, edi
mov ebx, eax
call fcn.14000d950
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.140072cc0
mov r8d, 0x4ad
lea rdx, str.D:DocumentsdevelopmentDxLibMakeDxASyncLoad.cpp
lea rcx, [0x140206c98]
call fcn.1400977d0
mov eax, dword [0x14051ed30]
mov ebx, dword [0x140246fd8]
test eax, eax
jne 0x140004f63
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x140004f63
mov ecx, 1
call rax
lea rcx, [0x140206c98]
call qword [0x14051f000]
mov ecx, dword [0x140176c78]
mov eax, ecx
sub eax, ebx
cmp dword [0x14017adb0], 0
movd xmm0, ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm7
movss dword [0x140176c7c], xmm1
je 0x140004fb4
cmp dword [0x14017af0c], 0
jne 0x140004fb4
xor edi, edi
mov r9d, 0xff00ffc0
jmp 0x140005006
xor edi, edi
cmp dword [0x14017aef8], 0x10
mov ecx, edi
setne cl
xor r8d, r8d
xor edx, edx
call fcn.140084a00
mov ecx, 8
mov r9d, 0xff
movzx edx, byte [rax + 9]
sub ecx, edx
movzx edx, byte [rax + 0xa]
sar r9d, cl
movzx ecx, byte [rax + 0xd]
shl r9d, cl
mov ecx, 8
sub ecx, edx
mov edx, 0xc0
sar edx, cl
movzx ecx, byte [rax + 0xe]
shl edx, cl
add r9d, edx
add r9d, dword [rax + 0x20]
cvttss2si r8d, dword [0x140176c80]
mov edx, 0x2b0
mov dword [rsp + 0x20], r9d
xor ecx, ecx
lea r9d, [rdx + 0x20]
call fcn.14000d050
movss xmm0, dword [0x140176c7c]
mov rdx, qword [0x14017ac30]
mov ecx, dword [0x14017779c]
divss xmm0, xmm7
cvtps2pd xmm6, xmm0
mulsd xmm6, xmm12
movaps xmm2, xmm6
movq r8, xmm6
call fcn.14005d190
mov r9d, dword [0x14017779c]
cdq
mov r8d, dword [0x140176c94]
sub eax, edx
sar eax, 1
mov ecx, 0x280
sub ecx, eax
movsd qword [rsp + 0x28], xmm6
mov rax, qword [0x14017ac30]
mov edx, 0x2b2
mov qword [rsp + 0x20], rax
call fcn.14005d7f0
mov eax, r15d
lea ecx, [r15 + 1]
inc r14d
lea rdx, str.D:DocumentsdevelopmentDxLibMakeDxASyncLoad.cpp
cmp r15d, 2
mov r8d, 0x4ad
mov r15d, edi
cmovne r14d, esi
cmp eax, 2
cmovne r15d, ecx
lea rcx, [0x140206c98]
call fcn.1400977d0
mov eax, dword [0x14051ed30]
mov ebx, dword [0x140246fd8]
test eax, eax
jne 0x1400050e5
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x1400050e5
mov ecx, 1
call rax
lea rcx, [0x140206c98]
call qword [0x14051f000]
test ebx, ebx
jne 0x1400052a5
xor ecx, ecx
call fcn.140006470
mov edx, dword [0x1401777a4]
mov ecx, 0x80
mov qword [0x140176350], 2
mov dword [0x140176c84], 0x80
call fcn.14002eb00
mov edx, dword [0x1401777a8]
mov ecx, dword [0x140176c84]
call fcn.14002eb00
jmp 0x1400052a5
mov edx, 1
mov dword [0x1401a702c], 1
lea rcx, str.data_texture_titlelogo.png
call fcn.14000a7b0
mov edx, 1
mov dword [0x140177780], eax
lea rcx, str.data_texture_titlebackground.png
call fcn.14000a7b0
mov edx, 1
mov dword [0x140177784], eax
lea rcx, str.data_texture_frame1.png
call fcn.14000a7b0
mov edx, 1
mov dword [0x140177788], eax
lea rcx, str.data_texture_frame2.png
call fcn.14000a7b0
mov edx, 1
mov dword [0x14017778c], eax
lea rcx, str.data_texture_frame3.png
call fcn.14000a7b0
lea rcx, str.data_bgm_title.mp3
mov dword [0x140177790], eax
call fcn.14002b150
lea rcx, str.data_bgm_gamemain.mp3
mov dword [0x1401777a4], eax
call fcn.14002b150
lea rcx, str.data_se_select1.mp3
mov dword [0x1401777a8], eax
call fcn.14002b150
lea rcx, str.data_se_select2.mp3
mov dword [0x1401777ac], eax
call fcn.14002b150
lea rcx, str.data_se_get.mp3
mov dword [0x1401777b0], eax
call fcn.14002b150
lea rcx, str.data_se_spout.wav
mov dword [0x1401777b4], eax
call fcn.14002b150
lea rcx, str.data_se_gameover.mp3
mov dword [0x1401777b8], eax
call fcn.14002b150
mov r8d, 0x4ad
mov dword [0x1401777bc], eax
lea rdx, str.D:DocumentsdevelopmentDxLibMakeDxASyncLoad.cpp
mov dword [0x1401a702c], edi
lea rcx, [0x140206c98]
call fcn.1400977d0
mov eax, dword [0x14051ed30]
mov ebx, dword [0x140246fd8]
test eax, eax
jne 0x14000527e
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x14000527e
mov ecx, 1
call rax
lea rcx, [0x140206c98]
call qword [0x14051f000]
mov dword [0x140176c78], ebx
mov dword [0x140176c7c], 0
mov dword [0x140176350], 1
mov eax, dword [0x14017635c]
cmp eax, 1
jne 0x1400052dc
mov eax, dword [0x140176360]
add eax, 0xa
mov dword [0x140176360], eax
cmp eax, 0xff
jl 0x1400052ff
mov dword [0x140176360], 0xff
mov dword [0x14017635c], 2
jmp 0x1400052ff
cmp eax, 2
jne 0x140005351
mov eax, dword [0x140176360]
sub eax, 0xa
mov dword [0x140176360], eax
test eax, eax
jg 0x1400052ff
mov qword [0x14017635c], 3
mov edx, 0xffffffff
mov r9d, 0x2d0
mov ecx, edx
mov r8d, 0x500
call fcn.14000e720
mov edx, dword [0x140176360]
mov ecx, 1
call fcn.14000e2b0
mov eax, dword [0x140176c9c]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
mov r9d, 0x2d0
mov r8d, 0x500
call fcn.14000d050
xor edx, edx
xor ecx, ecx
call fcn.14000e2b0
jmp 0x14000535c
cmp eax, 3
jne 0x14000535c
mov dword [0x14017635c], edi
call fcn.140016370
mov eax, dword [0x14051ed30]
test eax, eax
jne 0x140005383
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x140005383
mov ecx, 1
call rax
cmp qword [0x14051ed38], 0
jne 0x1400053a4
call fcn.140085840
cmp qword [0x14051ed38], 0
jne 0x1400053a4
mov r8d, 0xffffffff
jmp 0x1400053b2
call qword [0x14051ed60]
mov r8d, eax
btr r8d, 0x1f
imul ecx, dword [0x1405b9c30], 0x3e8
mov eax, 0x88888889
imul ecx
lea ebx, [rcx + rdx]
sar ebx, 5
mov ecx, ebx
shr ecx, 0x1f
add ebx, ecx
sub ebx, r8d
add ebx, dword [0x1405b9c34]
test ebx, ebx
jle 0x1400054b6
call fcn.14005f220
mov rsi, rax
cmp ebx, 4
jle 0x14000546f
lea ecx, [rbx - 4]
movsxd rcx, ecx
call fcn.14005f2a0
lea rdi, [rsi + rax]
cmp dword [0x1401ad008], 0
je 0x14000541c
lea rcx, [rsp + 0x48]
call qword [0x14051ef20]
mov rcx, qword [rsp + 0x48]
jmp 0x140005432
cmp qword [0x14051ed38], 0
jne 0x14000542a
xor ecx, ecx
jmp 0x140005432
call qword [0x14051ed60]
mov ecx, eax
cmp rdi, rcx
jbe 0x14000546f
call fcn.14005e5f0
test eax, eax
jne 0x1400054b6
mov eax, dword [0x14051ed30]
test eax, eax
jne 0x140005462
call fcn.140085840
mov rax, qword [0x14051f7a8]
test rax, rax
je 0x140005462
mov ecx, 1
call rax
mov ecx, 1
call qword [0x14051efe0]
jmp 0x140005401
movsxd rcx, ebx
call fcn.14005f2a0
lea rbx, [rsi + rax]
nop dword [rax + rax]
cmp dword [0x1401ad008], 0
je 0x14000549b
lea rcx, [rsp + 0x50]
call qword [0x14051ef20]
mov rcx, qword [rsp + 0x50]
jmp 0x1400054b1
cmp qword [0x14051ed38], 0
jne 0x1400054a9
xor ecx, ecx
jmp 0x1400054b1
call qword [0x14051ed60]
mov ecx, eax
cmp rbx, rcx
ja 0x140005480
cmp byte [0x140176365], 1
jne 0x1400054cc
cmp dword [0x140176350], 2
jge 0x140005585
xor edi, edi
lea rcx, [0x140000000]
mov eax, edi
nop word [rax + rax]
movd xmm0, dword [rax + rcx + 0x176364]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movdqu xmmword [rcx + rax*4 + 0x176464], xmm0
movd xmm0, dword [rax + rcx + 0x176368]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movdqu xmmword [rcx + rax*4 + 0x176474], xmm0
movd xmm0, dword [rax + rcx + 0x17636c]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movdqu xmmword [rcx + rax*4 + 0x176484], xmm0
movd xmm0, dword [rax + rcx + 0x176370]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movdqu xmmword [rcx + rax*4 + 0x176494], xmm0
add rax, 0x10
cmp rax, 0x100
jl 0x1400054e0
call fcn.140049540
call fcn.14005e5f0
mov ebx, eax
call fcn.1400498f0
test ebx, ebx
je 0x140004ae6
call fcn.140009d00
call fcn.140024760
xor ecx, ecx
call fcn.140059b60
call fcn.14005f3f0
movaps xmm12, xmmword [rsp + 0x90]
xor eax, eax
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
mov rsi, qword [rsp + 0x138]
movaps xmm13, xmmword [rsp + 0x80]
mov r13, qword [rsp + 0x110]
mov r12, qword [rsp + 0x140]
mov r14, qword [rsp + 0x108]
mov r15, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140107200
add rsp, 0x118
pop rdi
pop rbp
ret
call fcn.1400057e0
int3
call fcn.140005650
int3
call fcn.140005820
int3
call fcn.140005860
int3