Function at 0x10013ae5
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
cmp byte [0x1024a29c], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x100148dd
mov edx, dword [0x102102bc]
mov eax, dword [0x1024a270]
cmp edx, 3
ja case.0x10013ade.0
jmp dword [edx*4 + 0x100148ec]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
setne al
jmp 0x10013b16
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10013b16
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
sete al
test al, al
je 0x100148dd
cmp dword [0x10249c14], 0
je 0x100148dd
mov eax, dword fs:[0x2c]
xorps xmm1, xmm1
mov ecx, dword [0x10213bc0]
movss dword [esp + 0x20], xmm1
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1024ae94]
mov dword [esp + 0x30], ecx
cmp eax, dword [ecx + 4]
jle 0x10013bc0
push 0x1024ae94
call fcn.10177088
add esp, 4
cmp dword [0x1024ae94], 0xffffffff
jne 0x10013bc0
push 0x1017ab30
mov dword [0x1024ae74], 0
mov dword [0x1024ae70], 0
mov dword [0x1024ae6c], 0
mov dword [0x1024ae80], 0
mov dword [0x1024ae7c], 0
mov dword [0x1024ae78], 0
call fcn.10176fec
add esp, 4
push 0x1024ae94
call fcn.10177037
add esp, 4
cmp byte [0x1024a2fc], 0
lea edi, [ebx + 0xc]
movss xmm3, dword [edi]
movss xmm4, dword [edi + 4]
movaps xmm0, xmm3
movss xmm5, dword [edi + 8]
movaps xmm1, xmm4
movss xmm6, dword [ebx + 0x24]
movaps xmm2, xmm5
movss xmm7, dword [ebx + 0x28]
mov eax, dword [ebx + 0x30]
subss xmm0, dword [0x1021223c]
subss xmm1, dword [0x10212240]
subss xmm2, dword [0x10212244]
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm4
movss dword [esp + 0x54], xmm5
movss dword [esp + 0x58], xmm6
movss dword [esp + 0x5c], xmm7
mov dword [esp + 0x3c], eax
jne 0x10013c6f
movss dword [0x1024ae6c], xmm3
movss dword [0x1024ae70], xmm4
movss dword [0x1024ae74], xmm5
movss dword [0x1024ae78], xmm0
movss dword [0x1024ae7c], xmm1
movss dword [0x1024ae80], xmm2
movss dword [0x1024ae84], xmm6
movss dword [0x1024ae88], xmm7
mov dword [0x1024ae8c], eax
cmp dword [0x10249ba8], 0
movss xmm0, dword [0x1024a274]
mulss xmm0, dword [0x1020944c]
mov eax, dword [0x1024a23c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
cvttss2si ecx, xmm0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x34], 0
mov dword [esp + 0x80], eax
movq xmm0, qword [edi]
mov dword [esp + 0x10], ecx
movq qword [esp + 0x78], xmm0
jne 0x10013cf6
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dword [0x10249ba8], eax
mov ecx, dword [0x10213bfc]
lea edx, [esp + 0x78]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [0x10249b98]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp dword [0x10249ba8], 0
jne 0x10013d80
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dword [0x10249ba8], eax
test eax, eax
jne 0x10013d80
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dword [0x10249ba8], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
xor esi, esi
nop dword [eax]
mov dword [esp + 0x18], 0
cmp esi, eax
jge 0x10014435
mov edi, dword [esp + 0x40]
dec edi
mov dword [esp + 0x44], edi
jmp 0x10013db4
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov eax, dword [0x1024aef0]
cmp eax, dword [ecx + 4]
jle 0x10013dfc
push 0x1024aef0
call fcn.10177088
add esp, 4
cmp dword [0x1024aef0], 0xffffffff
jne 0x10013dfc
mov edx, str.55_8B_EC_8B_4D___56_E8_________8B_75
mov ecx, str.client.dll
call fcn.10007a50
push 0x1024aef0
mov dword [0x1024aef4], eax
call fcn.10177037
add esp, 4
push edi
push 0
call dword [0x1024aef4]
mov eax, dword [0x10249c88]
mov edi, dword [0x10249c14]
test eax, eax
jne 0x10013e46
mov edx, 0xe80c2f78
mov ecx, 0x101e7741
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov esi, dword [esp + 0x14]
mov dword [0x10249c88], eax
movss xmm0, dword [eax + edi]
cmp byte [0x1024a2fc], 0
movss dword [0x10212190], xmm0
movss xmm0, dword [eax + edi + 4]
movss dword [0x10212194], xmm0
movss xmm0, dword [eax + edi + 8]
mov eax, dword [esp + 0x18]
cmovne eax, dword [0x1024a334]
movss dword [0x10212198], xmm0
mov dword [esp + 0x18], eax
lea ecx, [eax - 2]
mov dword [esp + 0x38], ecx
cmp eax, 1
je 0x10013e9a
cmp eax, 3
je 0x10013e9a
xor dl, dl
jmp 0x10013e9c
mov dl, 1
mov byte [esp + 0xf], dl
cmp eax, 3
jle 0x10013f21
cmp dword [esp + 0x34], 2
jl 0x1001442a
movd xmm2, dword [esp + 0x24]
movss xmm1, dword [0x1024ae78]
movss xmm3, dword [0x1020922c]
mulss xmm1, xmm3
cvtdq2ps xmm2, xmm2
mulss xmm1, xmm2
addss xmm1, dword [0x1024ae78]
movss dword [0x1024ae78], xmm1
movss xmm1, dword [0x1024ae7c]
mulss xmm1, xmm3
mulss xmm1, xmm2
addss xmm1, dword [0x1024ae7c]
movss dword [0x1024ae7c], xmm1
movss xmm1, dword [0x1024ae80]
mulss xmm1, xmm3
mulss xmm1, xmm2
addss xmm1, dword [0x1024ae80]
movss dword [0x1024ae80], xmm1
movss xmm0, dword [0x1024ae6c]
lea edi, [ebx + 0xc]
movss dword [edi], xmm0
xor eax, eax
movss xmm0, dword [0x1024ae70]
movss dword [edi + 4], xmm0
movss xmm0, dword [0x1024ae74]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
movss dword [edi + 8], xmm0
test eax, eax
jle 0x1001441c
nop dword [eax]
cmp esi, eax
jge 0x1001441c
cmp ecx, 1
jbe 0x10013fc6
cmp byte [0x1024a2de], 0
je 0x10013fc6
movss xmm0, dword [0x1024ae78]
addss xmm0, dword [edi]
movss dword [edi], xmm0
movss xmm0, dword [0x1024ae7c]
addss xmm0, dword [edi + 4]
movss dword [edi + 4], xmm0
movss xmm0, dword [0x1024ae80]
addss xmm0, dword [edi + 8]
movss dword [edi + 8], xmm0
movss xmm0, dword [0x1024ae84]
movss dword [ebx + 0x24], xmm0
movss xmm0, dword [0x1024ae88]
movss dword [ebx + 0x28], xmm0
jmp 0x10013fd4
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov ecx, dword [ebx + 0x30]
mov eax, ecx
or ecx, 4
and eax, 0xfffffffb
test dl, dl
cmove ecx, eax
mov dword [ebx + 0x30], ecx
mov ecx, ebx
call fcn.10023e90
mov ecx, dword [esp + 0x30]
mov eax, dword [0x1024ae90]
cmp eax, dword [ecx + 4]
jle 0x10014037
push 0x1024ae90
call fcn.10177088
add esp, 4
cmp dword [0x1024ae90], 0xffffffff
jne 0x10014037
mov ecx, dword [0x10213bf8]
push str.sv_gravity
mov eax, dword [ecx]
call dword [eax + 0x44]
push 0x1024ae90
mov dword [0x1024ae50], eax
call fcn.10177037
add esp, 4
mov ecx, dword [0x1024ae50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x1c], eax
call dword [esp + 0x1c]
mov eax, dword [0x10249ba0]
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x1020922c]
mulss xmm0, dword [eax + 0x20]
movss dword [esp + 0x1c], xmm0
xorps xmm0, xmmword [0x10209860]
comiss xmm0, dword [0x10212198]
jbe 0x10014115
mov esi, dword [0x10249c88]
mov edi, dword [0x10249c14]
test esi, esi
jne 0x100140c1
mov edx, 0xe80c2f78
mov ecx, 0x101e7741
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov esi, eax
mov dword [0x10249c88], esi
fld dword [esi + edi + 8]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [esp + 0x4c]
fld dword [esp + 0x20]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [esp + 0x4c]
add esp, 4
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
xorps xmm0, xmmword [0x10209860]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001411b
call fcn.1000ae70
cmp eax, 9
je 0x10014115
mov esi, dword [0x10249c88]
mov al, 1
jmp 0x1001411d
mov esi, dword [0x10249c88]
xor al, al
mov edi, dword [0x10249c14]
mov byte [0x1024a2fc], al
test esi, esi
jne 0x10014162
mov edx, 0xe80c2f78
mov ecx, 0x101e7741
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov esi, eax
mov al, byte [0x1024a2fc]
mov dword [0x10249c88], esi
movss xmm0, dword [esi + edi]
movss dword [0x10212190], xmm0
movss xmm0, dword [esi + edi + 4]
movss dword [0x10212194], xmm0
movss xmm0, dword [esi + edi + 8]
movss dword [0x10212198], xmm0
test al, al
je 0x100141f5
mov eax, dword [0x10249ba8]
mov edi, dword [0x10249c14]
test eax, eax
jne 0x100141cc
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dword [0x10249ba8], eax
movss xmm0, dword [eax + edi]
movss dword [0x10212224], xmm0
movss xmm0, dword [eax + edi + 4]
movss dword [0x10212228], xmm0
movss xmm0, dword [eax + edi + 8]
movss dword [0x1021222c], xmm0
call fcn.10024550
inc dword [esp + 0x14]
cmp byte [0x1024a2fc], 0
jne 0x10014265
cmp dword [esp + 0x18], 3
jle 0x10014265
mov eax, dword [0x10249ba8]
mov edi, dword [0x10249c14]
test eax, eax
jne 0x1001424b
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dword [0x10249ba8], eax
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [eax + edi + 8]
jbe 0x1001426a
mov dword [esp + 0x24], 0xffffffff
jmp 0x10014411
mov eax, dword [0x10249ba8]
mov ecx, dword [0x10249c64]
mov edi, dword [0x10249c14]
test ecx, ecx
jne 0x100142b0
mov edx, 0xe80c2f78
mov ecx, 0x101e75b1
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73a9
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov ecx, eax
mov eax, dword [0x10249ba8]
mov dword [0x10249c64], ecx
test byte [ecx + edi], 1
jne 0x100142fc
call fcn.1000ae70
cmp eax, 9
je 0x10014411
mov al, byte [0x1024a2fc]
test al, al
jne 0x10014488
mov eax, dword [esp + 0x28]
lea edi, [ebx + 0xc]
mov esi, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
jge 0x1001441c
mov dl, byte [esp + 0xf]
mov ecx, dword [esp + 0x38]
jmp 0x10013f60
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100143c5
cmp ecx, 2
jne 0x10014365
mov edi, dword [0x10249c14]
test eax, eax
jne 0x10014345
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dword [0x10249ba8], eax
movss xmm1, dword [esp + 0x20]
xor ecx, ecx
comiss xmm1, dword [eax + edi + 8]
setbe cl
lea ecx, [ecx*2 - 1]
mov dword [esp + 0x24], ecx
jmp 0x10014409
cmp ecx, 3
jle 0x10014409
mov edi, dword [0x10249c14]
mov dword [esp + 0x24], 1
test eax, eax
jne 0x100143ae
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dword [0x10249ba8], eax
movss xmm1, dword [esp + 0x20]
comiss xmm1, dword [eax + edi + 8]
jbe 0x100143c5
mov dword [esp + 0x24], 0xffffffff
jmp 0x10014409
mov edi, dword [0x10249c14]
test eax, eax
jne 0x100143fd
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dword [0x10249ba8], eax
movss xmm1, dword [eax + edi + 8]
movss dword [esp + 0x20], xmm1
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0xc]
mov eax, dword [esp + 0x10]
inc dword [esp + 0x18]
cmp esi, eax
jl 0x10013db0
jmp 0x10014431
mov eax, dword [esp + 0x10]
lea edi, [ebx + 0xc]
mov ecx, dword [esp + 0x2c]
sub ecx, 0xffffff80
mov dword [esp + 0x2c], ecx
test ecx, ecx
jle 0x10013d90
movss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [edi + 8], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [ebx + 0x24], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [ebx + 0x28], xmm0
mov dword [ebx + 0x30], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
xor edx, edx
mov edi, dword [0x10249c14]
cmp ecx, 4
cmovge ecx, edx
xor dl, dl
mov dword [0x1024a334], ecx
mov ecx, dword [0x10249ba8]
mov byte [0x1024ae5b], dl
test ecx, ecx
jne 0x100144ee
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov dl, byte [0x1024ae5b]
mov ecx, eax
mov al, byte [0x1024a2fc]
mov dword [0x10249ba8], ecx
movss xmm0, dword [edi + ecx + 8]
subss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x102093c8]
ja 0x1001450b
test dl, dl
jne 0x10014512
test al, al
je 0x10014512
mov byte [0x1024ae5b], 1
cmp dword [esp + 0x38], 1
jbe 0x100145aa
cmp byte [0x1024a2de], 0
je 0x100145aa
movss xmm0, dword [0x1024ae74]
lea edx, [ebx + 0xc]
movss xmm2, dword [0x1024ae6c]
movss xmm1, dword [0x1024ae70]
addss xmm0, dword [0x1024ae80]
addss xmm2, dword [0x1024ae78]
addss xmm1, dword [0x1024ae7c]
movss dword [edx + 8], xmm0
movss dword [edx], xmm2
movss dword [edx + 4], xmm1
cmp byte [0x1024a2de], 0
movss dword [0x1024ae6c], xmm2
movss xmm0, dword [ebx + 0x10]
movss dword [0x1024ae70], xmm0
movss xmm0, dword [ebx + 0x14]
movss dword [0x1024ae74], xmm0
je 0x100145aa
mov ecx, dword [0x10213bfc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x10249ba8]
mov eax, dword [esp + 0x28]
cmp eax, 1
jne 0x100148cf
inc dword [0x1024a310]
mov edi, dword [0x10249c14]
test ecx, ecx
jne 0x100145f8
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov ecx, eax
mov dword [0x10249ba8], ecx
movss xmm0, dword [edi + ecx]
movss dword [0x10212214], xmm0
movss xmm0, dword [edi + ecx + 4]
movss dword [0x10212218], xmm0
movss xmm0, dword [edi + ecx + 8]
mov edi, dword [0x10249c14]
movss dword [0x1021221c], xmm0
test ecx, ecx
jne 0x1001465c
mov edx, 0xe80c2f78
mov ecx, 0x101e73c5
call fcn.10004820
mov edx, 0xc10bf213
mov ecx, 0x101e73d1
mov esi, eax
call fcn.10004820
mov edx, esi
mov ecx, eax
call fcn.10113840
mov ecx, eax
mov dword [0x10249ba8], ecx
lea eax, [edi + ecx]
mov ecx, dword [0x10212234]
cmp ecx, dword [0x10212238]
je 0x10014684
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
add dword [0x10212234], 0xc
jmp 0x10014690
push eax
push ecx
mov ecx, 0x10212230
call fcn.10007140
cmp byte [0x1024a2c8], 0
je 0x10014896
lea ecx, [esp + 0xf8]
mov dword [esp + 0x90], 0x101e7d7c
mov dword [esp + 0xa0], 0x101e7d2c
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x90], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0x8c], eax
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov edx, 0x101e79c4
mov dword [esp + 0xa8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [esp + 0xa0]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
call fcn.10011340
mov edx, 0x101e79d8
mov ecx, eax
call fcn.10011340
mov edx, 0x101e79d4
mov ecx, eax
call fcn.10011340
mov edx, 0x101e79c8
mov ecx, eax
call fcn.10011340
mov edx, 0x101e79c4
mov ecx, eax
call fcn.10011340
mov edx, str._b__edgebugged
mov ecx, eax
call fcn.10011340
movsx edi, byte [0x102100cd]
lea eax, [esp + 0x84]
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
movups xmmword [esp + 0x60], xmm0
mov esi, 0xf
mov byte [esp + 0x60], 0
push eax
lea ecx, [esp + 0xac]
mov dword [esp + 0x78], esi
call fcn.10011260
mov eax, dword [esp + 0x84]
test eax, eax
je 0x100147d4
push dword [esp + 0x88]
lea ecx, [esp + 0x64]
push eax
call fcn.1000be40
mov esi, dword [esp + 0x74]
cmp esi, 0xf
lea eax, [esp + 0x60]
push edi
cmova eax, dword [esp + 0x64]
push eax
push 0
push 0
push dword [0x10249c8c]
call fcn.1000ae20
mov ecx, dword [esp + 0x88]
add esp, 0x14
cmp ecx, 0xf
jbe 0x1001482f
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10014825
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10014825
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10177006
add esp, 8
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x90], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0x8c], eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.10011160
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0xb0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x1024a264]
sub eax, 1
je 0x100148ac
sub eax, 1
jne 0x100148c1
push str.buttons_arena_switch_press_02.wav
jmp 0x100148b1
push str.survival_money_collect_05.wav
mov ecx, dword [0x1024a0a8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x148]
call eax
mov al, 1
mov byte [0x1024ae57], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov byte [0x1024ae57], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov byte [0x1024a2fc], 0
pop ebx
mov esp, ebp
pop ebp
ret