Function at 0x1001d810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f371
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x1004b0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [0x1005ba9c]
lea esi, [eax*8]
sub esi, eax
lea eax, [ebp - 0x58]
push eax
lea esi, [esi*2 + 0x32]
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x58]
push eax
push str.Counter_Strike:_Global_Offensive
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [0x1005b38e], 0
movd xmm1, dword [ebp - 0x58]
movd xmm2, dword [ebp - 0x54]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0xf4], xmm1
movss dword [ebp - 0xf8], xmm2
jne 0x1001d993
cmp byte [0x1005b38d], 0
mov ecx, dword [0x1005b2f4]
je 0x1001d930
mov al, byte [0x1005b38f]
test al, al
jne 0x1001d8ff
mov byte [0x1005b38d], al
jmp 0x1001d930
movd xmm0, dword [0x1005babc]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, dword [0x1005bad4]
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x418], xmm1
movaps xmm1, xmm2
subss xmm1, xmm0
movss dword [ecx + 0x41c], xmm1
cvttss2si eax, dword [ecx + 0x41c]
push 0xf
push 0x96
push eax
cvttss2si eax, dword [ecx + 0x418]
push eax
call fcn.10034820
test al, al
je 0x1001d993
mov ecx, dword [0x1005b2f4]
movss xmm0, dword [ebp - 0xf4]
mov byte [0x1005b38d], 1
subss xmm0, dword [ecx + 0x418]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xf8]
subss xmm0, dword [ecx + 0x41c]
mov dword [0x1005babc], eax
cvttss2si eax, xmm0
mov dword [0x1005bad4], eax
jmp 0x1001d999
mov ecx, dword [0x1005b2f4]
cvttss2si eax, dword [ecx + 0x41c]
push 0xff
push 0x24
push 0x24
push 0x24
cvttss2si edi, dword [ecx + 0x418]
mov ecx, dword [0x1005b350]
mov dword [ebp - 0xf4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [0x1005b350]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
subss xmm0, dword [0x100460ac]
mov edx, dword [eax + 0x40]
cvttss2si eax, xmm0
cvttss2si ecx, xmm0
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf4]
add eax, ecx
mov ecx, dword [0x1005b350]
push eax
lea eax, [edi + 0x92]
push eax
push dword [ebp - 0xf4]
push edi
call edx
mov eax, dword [0x1005b2f4]
push 0xff
push 0x40
push 0x40
movss xmm0, dword [eax + 0x41c]
addss xmm0, dword [0x1004605c]
push 0x40
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x418]
addss xmm0, dword [0x1004605c]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [0x1005b350]
cvttss2si edi, xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [0x1005b350]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
subss xmm0, dword [0x10046064]
mov edx, dword [eax + 0x48]
subss xmm0, dword [0x100460bc]
cvttss2si eax, xmm0
add eax, dword [ebp - 0xf4]
push eax
lea eax, [edi + 0x88]
push eax
push dword [ebp - 0xf4]
push edi
call edx
mov eax, dword [0x1005b2f4]
push 0xff
push 0x2f
push 0x2f
movss xmm0, dword [eax + 0x41c]
addss xmm0, dword [0x10046058]
push 0x2f
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x418]
addss xmm0, dword [0x10046058]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [0x1005b350]
cvttss2si edi, xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [0x1005b350]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
subss xmm0, dword [0x10046058]
subss xmm0, dword [0x100460bc]
cvttss2si eax, xmm0
add eax, dword [ebp - 0xf4]
push eax
lea eax, [edi + 0x8a]
push eax
push dword [ebp - 0xf4]
push edi
call edx
mov eax, dword [0x1005b2f4]
push 0xff
push 0x2f
push 0x2f
movss xmm0, dword [eax + 0x41c]
addss xmm0, dword [0x10046038]
push 0x2f
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x418]
addss xmm0, dword [0x10046038]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [0x1005b350]
cvttss2si edi, xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [0x1005b350]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
subss xmm0, dword [0x10046020]
mov edx, dword [eax + 0x48]
subss xmm0, dword [0x100460bc]
cvttss2si eax, xmm0
add eax, dword [ebp - 0xf4]
push eax
lea eax, [edi + 0x8c]
push eax
push dword [ebp - 0xf4]
push edi
call edx
mov eax, dword [0x1005b2f4]
push 0xff
push 0x2f
push 0x2f
movss xmm0, dword [eax + 0x41c]
addss xmm0, dword [0x10046020]
push 0x2f
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x418]
addss xmm0, dword [0x10046020]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [0x1005b350]
cvttss2si edi, xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [0x1005b350]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
subss xmm0, dword [0x100460bc]
mov edx, dword [eax + 0x48]
cvttss2si eax, xmm0
add eax, dword [ebp - 0xf4]
push eax
lea eax, [edi + 0x8e]
push eax
push dword [ebp - 0xf4]
push edi
call edx
mov eax, dword [0x1005b2f4]
movss xmm0, dword [eax + 0x41c]
addss xmm0, dword [0x10045fe0]
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x418]
addss xmm0, dword [0x10045fe0]
mov dword [ebp - 0xf8], ecx
mov ecx, dword [0x1005b350]
cvttss2si edi, xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
push 0xff
push 0x40
push 0x40
push 0x40
call eax
mov ecx, dword [0x1005b350]
movd xmm0, esi
mov esi, dword [ebp - 0xf8]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
subss xmm0, dword [0x100460b4]
cvttss2si eax, xmm0
add eax, esi
push eax
lea eax, [edi + 0x90]
push eax
push esi
push edi
call edx
mov eax, dword [0x1005b2f4]
mov ecx, dword [0x1005b350]
push 0xff
push 0x19
cvttss2si edi, dword [eax + 0x41c]
push 0x19
push 0x19
cvttss2si esi, dword [eax + 0x418]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [0x1005b350]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0xfc]
add eax, edi
push eax
lea eax, [esi + 0x92]
push eax
push edi
push esi
call edx
mov eax, dword [0x1005b2f4]
movss xmm0, dword [eax + 0x41c]
addss xmm0, dword [0x10046064]
mov ecx, dword [eax + 0x36c]
cvttss2si edx, xmm0
movss xmm0, dword [eax + 0x418]
addss xmm0, dword [0x10046064]
mov dword [ebp - 0xf8], edx
movzx edx, cl
cvttss2si eax, xmm0
mov dword [ebp - 0xf4], eax
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0xfc], eax
mov eax, ecx
push dword [ebp - 0xfc]
shr eax, 0x10
movzx edi, al
mov eax, ecx
mov ecx, dword [0x1005b350]
shr eax, 8
movzx esi, al
push edi
mov eax, dword [ecx]
push esi
push edx
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [0x1005b350]
mov edi, dword [ebp - 0xf8]
mov esi, dword [ebp - 0xf4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
lea eax, [edi + 1]
push eax
lea eax, [esi + 0x86]
push eax
push edi
push esi
call edx
mov eax, dword [0x1005b9d0]
sub esp, 0x18
mov dword [ebp - 0xfc], eax
mov ecx, esp
mov eax, dword [0x1005b2f4]
push 8
push str.keybinds
movss xmm0, dword [eax + 0x41c]
addss xmm0, dword [0x10046088]
cvttss2si edi, xmm0
movss xmm0, dword [eax + 0x418]
addss xmm0, dword [0x1004611c]
cvttss2si esi, xmm0
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100022e0
push 1
push 0xff7d7d7d
push dword [ebp - 0xfc]
push edi
push esi
call fcn.10035250
mov edx, dword [0x1005b2f4]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [edx + 0x2f8], 0
je 0x1001df9a
mov eax, dword [edx + 0x380]
mov ecx, dword [edx + 0x2f4]
sub eax, 0
je 0x1001de62
sub eax, 1
je 0x1001de42
sub eax, 1
jne 0x1001df9a
push ecx
call edi
mov edx, dword [0x1005b2f4]
test ax, ax
setne al
jmp 0x1001de5a
mov eax, dword [0x1005b304]
cmp ecx, 0x100
jae 0x1001e545
mov al, byte [eax + ecx + 0x118]
test al, al
je 0x1001df9a
mov edx, dword [edx + 0x380]
lea ecx, [ebp - 0x140]
call fcn.1001d790
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.thirdperson
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.100022e0
movups xmm1, xmmword [esi]
movq xmm2, qword [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x38], xmm1
movq qword [ebp - 0x28], xmm2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x1001df24
movups xmm0, xmmword [ebp - 0x50]
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x28], 0
movups xmmword [eax], xmm0
mov dword [ebp - 0x24], 0xf
movq xmm0, qword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
movups xmmword [eax + 0x18], xmm1
mov dword [ebp - 0x40], 0
movq qword [eax + 0x28], xmm2
add dword [ebp - 0x1c], 0x30
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x38], 0
jmp 0x1001df31
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1002bab0
lea ecx, [ebp - 0x50]
call fcn.1001e550
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x1001df79
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001df6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001df6f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003d780
add esp, 8
mov edx, dword [0x1005b2f4]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov eax, dword [edx + 0x37c]
mov ecx, dword [edx + 0x370]
sub eax, 0
je 0x1001dfea
sub eax, 1
je 0x1001dfca
sub eax, 1
jne 0x1001e122
push ecx
call edi
mov edx, dword [0x1005b2f4]
test ax, ax
setne al
jmp 0x1001dfe2
mov eax, dword [0x1005b304]
cmp ecx, 0x100
jae 0x1001e545
mov al, byte [eax + ecx + 0x118]
test al, al
je 0x1001e122
mov edx, dword [edx + 0x37c]
lea ecx, [ebp - 0x158]
call fcn.1001d790
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.aa_invert
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.100022e0
movups xmm1, xmmword [esi]
movq xmm2, qword [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x38], xmm1
movq qword [ebp - 0x28], xmm2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x1001e0ac
movups xmm0, xmmword [ebp - 0x50]
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x28], 0
movups xmmword [eax], xmm0
mov dword [ebp - 0x24], 0xf
movq xmm0, qword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
movups xmmword [eax + 0x18], xmm1
mov dword [ebp - 0x40], 0
movq qword [eax + 0x28], xmm2
add dword [ebp - 0x1c], 0x30
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x38], 0
jmp 0x1001e0b9
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1002bab0
lea ecx, [ebp - 0x50]
call fcn.1001e550
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x144]
cmp ecx, 0xf
jbe 0x1001e101
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e0f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e0f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003d780
add esp, 8
mov edx, dword [0x1005b2f4]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp byte [edx + 0x3a4], 0
je 0x1001e296
mov eax, dword [edx + 0x3ac]
mov ecx, dword [edx + 0x3a8]
sub eax, 0
je 0x1001e17f
sub eax, 1
je 0x1001e15f
sub eax, 1
jne 0x1001e296
push ecx
call edi
mov edx, dword [0x1005b2f4]
test ax, ax
setne al
jmp 0x1001e177
mov eax, dword [0x1005b304]
cmp ecx, 0x100
jae 0x1001e545
mov al, byte [eax + ecx + 0x118]
test al, al
je 0x1001e296
mov edx, dword [edx + 0x3ac]
lea ecx, [ebp - 0x170]
call fcn.1001d790
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.fakewalk
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.100022e0
movups xmm1, xmmword [esi]
movq xmm2, qword [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x38], xmm1
movq qword [ebp - 0x28], xmm2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x1001e241
movups xmm0, xmmword [ebp - 0x50]
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x28], 0
movups xmmword [eax], xmm0
mov dword [ebp - 0x24], 0xf
movq xmm0, qword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
movups xmmword [eax + 0x18], xmm1
mov dword [ebp - 0x40], 0
movq qword [eax + 0x28], xmm2
add dword [ebp - 0x1c], 0x30
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x38], 0
jmp 0x1001e24e
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1002bab0
lea ecx, [ebp - 0x50]
call fcn.1001e550
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x1001e296
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e28c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e28c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003d780
add esp, 8
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xf4], 0
cmp esi, edi
je 0x1001e4c6
nop
push esi
lea ecx, [ebp - 0x50]
call fcn.1000a240
lea eax, [esi + 0x18]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x38]
call fcn.1000a240
movd xmm0, dword [ebp - 0xf4]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x24], 0xf
cvtdq2ps xmm0, xmm0
cmova eax, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 0xf
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x50]
cmova eax, dword [ebp - 0x50]
sub esp, 0x18
mov dword [ebp - 0xfc], eax
mov eax, dword [0x1005b9d0]
mov dword [ebp - 0x104], eax
mov eax, dword [0x1005b2f4]
mov dword [ebp - 0x100], esp
push 0x98
push 0
movss xmm1, dword [eax + 0x41c]
addss xmm1, dword [0x100460c0]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x418]
addss xmm0, dword [0x10046080]
cvttss2si ecx, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xf0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.1002a110
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 9
mov dword [ebp - 0x128], eax
mov ecx, 2
mov dword [ebp - 0x124], 2
lea eax, [ebp - 0x118]
nop
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x1001e390
push dword [ebp - 0x124]
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x11c], 0x1002bd40
push dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0xf0]
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x118], 0x1002bd60
mov edx, str._s__s
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], 0x1002bd40
mov dword [ebp - 0x10c], 0x1002bd60
call fcn.1001cb80
add esp, 8
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x100]
call fcn.1002a020
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xec]
call fcn.10029f70
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push 3
push 0xff7d7d7d
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push dword [ebp - 0x54]
call fcn.10035250
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
add dword [ebp - 0xf4], 0xc
imul ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x1005ba9c], eax
call fcn.1001e550
add esi, 0x30
cmp esi, edi
jne 0x1001e2b0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1001e527
cmp esi, edi
je 0x1001e4e1
nop
mov ecx, esi
call fcn.1001e550
add esi, 0x30
cmp esi, edi
jne 0x1001e4d0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x1001e51d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e51d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1003d780
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003d53a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1001b160
int3