Function at 0x140036234
Capabilities:
Check for time delay via gettickcount
Get common file path
Log keystrokes via polling
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x4288
call fcn.1400eb3f0
sub rsp, rax
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
xor ebx, ebx
mov r13d, 1
mov eax, r13d
mov byte [rsp + 0x42e0], bl
mov r12b, bl
mov byte [rsp + 0x42e8], bl
mov dil, bl
mov r14d, ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x44], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x42d8]
mov dword [rsp + 0x5c], eax
lea r11d, [r13 + 0x2c]
mov dword [rsp + 0x40], 0x3e8
cmp r11w, word [rcx]
mov dl, byte [rcx]
lea r10d, [r13 + 0x29]
mov bpl, bl
mov r15b, bl
movzx esi, r10b
lea eax, [rbx + 0x41]
lea r9d, [r13 + 0x27]
cmove esi, r11d
lea r8d, [r13 + 8]
mov dword [rsp + 0xc0], 4
cmp sil, dl
jne 0x14003661e
lea r8, [rcx + 2]
cmp word [r8], ax
jb 0x1400365ef
cmp r10w, word [r8]
je 0x1400365ef
mov eax, 0x30
cmp word [r8], ax
jb 0x140036312
cmp word [r8], 0x39
jbe 0x1400365ef
cmp r9w, word [r8]
je 0x1400365ef
cmp dl, r11b
jne 0x140036337
mov al, byte [r8]
or al, 0x20
cmp al, 0x63
jne 0x140036337
mov al, byte [rcx + 4]
or al, 0x20
cmp al, 0x6d
je 0x1400365ef
cmp dl, r10b
jne 0x14003636b
cmp word [r8], bx
je 0x1400365ef
mov eax, 9
cmp ax, word [r8]
ja 0x14003635c
cmp word [r8], 0xd
jbe 0x1400365ef
mov eax, 0x20
cmp ax, word [r8]
je 0x1400365ef
mov qword [rsp + 0x42d8], r8
lea rdx, [rsp + 0x42d8]
lea rcx, [0x1400f356c]
mov r8d, 3
call fcn.14005992c
cmp al, bl
je 0x140036399
mov r15b, r13b
jmp 0x1400365c8
lea rdx, [rsp + 0x42d8]
lea rcx, str.InitSys
mov r8d, 8
call fcn.14005992c
cmp al, bl
je 0x1400363c4
mov byte [rsp + 0x42e8], r13b
jmp 0x1400365c8
lea rdx, [rsp + 0x42d8]
lea rcx, [0x1400ef67c]
mov r8d, 3
call fcn.14005992c
cmp al, bl
je 0x1400363ea
mov bpl, r13b
jmp 0x1400365c8
lea rdx, [rsp + 0x42d8]
lea rcx, str.sys0
mov r8d, 4
call fcn.14005992c
cmp al, bl
je 0x140036415
mov eax, 0x41
mov bpl, al
jmp 0x1400365cd
lea rdx, [rsp + 0x42d8]
lea rcx, str.syscmd
mov r8d, 6
call fcn.14005992c
cmp al, bl
je 0x14003643b
mov bpl, 0x10
jmp 0x1400365c8
lea rdx, [rsp + 0x42d8]
lea rcx, str.sys0cmd
mov r8d, 7
call fcn.14005992c
cmp al, bl
je 0x140036461
mov bpl, 0x50
jmp 0x1400365c8
lea rdx, [rsp + 0x42d8]
lea rcx, str.cont
mov r8d, 4
call fcn.14005992c
cmp al, bl
je 0x14003648a
mov r14d, 0x10000
jmp 0x1400365c8
lea rdx, [rsp + 0x42d8]
lea rcx, str.scanall
mov r8d, 7
call fcn.14005992c
cmp al, bl
je 0x1400364b0
mov r12b, r13b
jmp 0x1400365c8
lea rdx, [rsp + 0x42d8]
lea rcx, [0x1400f2f3c]
mov r8d, 3
call fcn.14005992c
cmp al, bl
je 0x1400364db
mov dword [rsp + 0x44], 0x40
jmp 0x1400365c8
lea rdx, [rsp + 0x42d8]
lea rcx, str.freemem
mov r8d, 7
call fcn.14005992c
cmp al, bl
je 0x14003651c
mov cl, r13b
call fcn.140051728
mov rcx, qword [rsp + 0x42d8]
cmp word [rcx], bx
je 0x140036bd8
mov eax, 0x41
jmp 0x1400365d5
lea rdx, [rsp + 0x42d8]
lea rcx, str.thread
mov r8d, 6
call fcn.14005992c
cmp al, bl
je 0x140036542
mov dil, r13b
jmp 0x1400365c8
mov rdx, qword [rsp + 0x42d8]
lea rcx, str.cur:
mov r8d, 4
call fcn.140050a6c
cmp al, bl
je 0x14003657d
add qword [rsp + 0x42d8], 8
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x42d8]
call fcn.14006556c
jmp 0x1400365c8
mov rcx, qword [rsp + 0x42d8]
movzx eax, word [rcx]
cmp ax, bx
je 0x1400365bb
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x1400365a1
cmp ax, 0xd
jbe 0x1400365bb
cmp r8w, ax
je 0x1400365bb
add rcx, 2
mov qword [rsp + 0x42d8], rcx
mov ax, word [rcx]
cmp ax, bx
jne 0x140036596
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
mov eax, 0x41
mov rcx, qword [rsp + 0x42d8]
mov dl, byte [rcx]
mov r9d, 0x28
lea r11d, [r9 + 5]
cmp sil, dl
jne 0x1400365ef
lea r10d, [r9 + 2]
jmp 0x1400362e4
cmp dil, bl
je 0x140036618
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [0x14010c524]
cmp eax, dword [0x14010bbb8]
setne bl
mov edx, ebx
call fcn.140018d88
cdqe
jmp 0x1400374d2
mov r8d, 9
cmp byte [rcx], r11b
jne 0x14003668b
cmp byte [rcx + 2], r11b
jne 0x14003668b
movzx eax, word [rcx + 4]
cmp ax, bx
je 0x14003664a
cmp r8w, ax
ja 0x14003663e
cmp ax, 0xd
jbe 0x14003664a
mov edx, 0x20
cmp dx, ax
jne 0x14003668b
jmp 0x14003666e
mov edx, 0x20
jmp 0x14003666e
cmp r8w, ax
ja 0x14003665d
cmp ax, 0xd
jbe 0x140036676
cmp dx, ax
je 0x140036676
add rcx, 2
mov qword [rsp + 0x42d8], rcx
movzx eax, word [rcx]
cmp ax, bx
jne 0x140036651
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
mov rcx, qword [rsp + 0x42d8]
cmp bpl, bl
je 0x1400367f3
lea rcx, [0x14010ce50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, str.GlobalPECMD:main:lock
lea rcx, [rsp + 0xf0]
call fcn.1400151ec
movzx edi, bpl
and edi, 0x40
mov ecx, edi
call fcn.140017e98
mov rsi, rax
cmp rax, rbx
jne 0x1400366dd
mov rcx, qword [rsp + 0x42d0]
mov edx, edi
call fcn.1400223c8
mov rsi, rax
cmp rsi, rbx
je 0x1400367ce
mov rcx, qword [rsp + 0x42d8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x50]
movsxd rdi, eax
lea rdx, [rdi + 0x75]
call fcn.1400571c8
mov rax, qword [rsp + 0x50]
mov word [rax], bx
test bpl, 0x10
jne 0x14003672a
mov r8d, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x50]
lea rdx, str.THREAD_WAIT__cur:_lu
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, qword [rsp + 0x42d8]
lea r8d, [rdi + 0x11]
movsxd rcx, eax
mov rax, qword [rsp + 0x50]
lea rcx, [rax + rcx*2]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rbx, 0xffffffff80000002
lea r8, str.HOTKEY9000000
movsxd rcx, eax
lea rdx, str.SOFTWAREPELOGONRAMDATAHOTKEY
mov r9d, r13d
lea eax, [rcx + rcx]
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [0x14010c168]
xor r9d, r9d
mov edx, 0x312
mov r8d, 0x895440
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, str.HOTKEY9000000
lea rdx, str.SOFTWAREPELOGONRAMDATAHOTKEY
mov rcx, rbx
mov r13d, eax
call qword [0x14010c170]
lea rcx, [rsp + 0x50]
call fcn.14004f564
lea rcx, [rsp + 0xf0]
movsxd rbx, r13d
call fcn.140015210
lea rcx, [0x14010ce50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rbx
jmp 0x1400374d2
cmp r12b, bl
je 0x1400368e0
lea rcx, [rsp + 0xa8]
lea r12, str.PressKey
call fcn.140057154
mov r11, qword [rsp + 0x42d8]
cmp word [r11], bx
je 0x140036841
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x42d8]
mov r8d, 0x2c
call fcn.14005aa6c
mov r12, qword [rsp + 0xa8]
lea rcx, [rsp + 0x171]
xor edx, edx
mov r8d, 0xff
mov byte [rsp + 0x170], bl
call fcn.1400d1fa0
lea rcx, [rsp + 0x170]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov word [rsp + 0x270], bx
lea rdi, [rsp + 0x170]
lea rsi, [rsp + 0x270]
mov ebp, 0x100
movzx r8d, byte [rdi]
lea rdx, str.0x_02X
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
add rsi, 0xa
add rdi, r13
sub rbp, r13
jne 0x140036888
mov rdi, qword [rsp + 0x42d0]
lea r8, [rsp + 0x270]
mov rdx, r12
mov rcx, rdi
mov word [rsp + 0xc6e], bx
call fcn.140056790
lea rcx, [rsp + 0xa8]
call fcn.14004f564
mov r15d, ebx
jmp 0x14003749d
mov esi, 0x80000000
mov edi, 0xfffffc18
mov r8d, 0x64
cmp r11w, word [rcx]
jne 0x140036932
lea rdx, [rcx + 2]
movzx eax, word [rdx]
or ax, 0x20
cmp ax, 0x63
je 0x140036932
cmp ax, r8w
je 0x140036932
lea rcx, [rsp + 0x42d8]
mov qword [rsp + 0x42d8], rdx
mov byte [rsp + 0x42e0], r13b
call fcn.140014c28
mov rcx, qword [rsp + 0x42d8]
mov eax, 0x3d
cmp ax, word [rcx]
jne 0x14003694d
mov bpl, byte [rcx]
add rcx, 2
mov qword [rsp + 0x42d8], rcx
jmp 0x140036950
mov bpl, bl
movzx eax, word [rcx]
mov r12d, 9
sub ax, 0x30
cmp ax, r12w
ja 0x140036a76
movsd xmm0, qword [0x1400f34b8]
mov qword [rsp + 0x98], rcx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x98]
mov dword [rsp + 0x58], esi
movsd qword [rsp + 0xe0], xmm0
call fcn.14006556c
mov r11, qword [rsp + 0x42d8]
cmp r11, qword [rsp + 0x98]
jae 0x1400369d6
lea eax, [r12 + 0x17]
cmp r12w, word [r11]
ja 0x1400369ba
cmp word [r11], 0xd
jbe 0x1400369d6
cmp ax, word [r11]
je 0x1400369d6
add r11, 2
mov qword [rsp + 0x42d8], r11
cmp r11, qword [rsp + 0x98]
jb 0x1400369ad
cmp dword [rsp + 0x58], ebx
jl 0x140036a30
mov esi, dword [rsp + 0x58]
mov eax, 0x2e
cmp ax, word [r11]
jne 0x140036a30
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x42d8]
call fcn.14005ae30
movsd xmm5, qword [rsp + 0xe0]
comisd xmm5, xmmword [0x1400f34b0]
jb 0x140036b03
addsd xmm5, qword [0x1400f34a8]
mulsd xmm5, qword [0x1400f34a0]
cvttsd2si edi, xmm5
jmp 0x140036b03
movzx eax, word [r11]
cmp ax, bx
je 0x140036a64
mov ecx, 0x20
cmp r12w, ax
ja 0x140036a4a
cmp ax, 0xd
jbe 0x140036a64
cmp cx, ax
je 0x140036a64
add r11, 2
mov qword [rsp + 0x42d8], r11
mov ax, word [r11]
cmp ax, bx
jne 0x140036a3e
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
jmp 0x140036b03
cmp r9w, word [rcx]
jne 0x140036b0b
movsd xmm0, qword [0x1400f34b8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x42d8]
movsd qword [rsp + 0xd0], xmm0
call fcn.1400a8f44
cmp eax, ebx
jle 0x140036b03
movsd xmm1, qword [rsp + 0xd0]
xorpd xmm2, xmm2
comisd xmm1, xmm2
jb 0x140036b03
addsd xmm1, qword [0x1400f34a8]
pxor xmm0, xmm0
cvttsd2si rax, xmm1
cvttsd2si esi, xmm1
cvtsi2sd xmm0, rax
subsd xmm2, xmm0
addsd xmm1, xmm2
comisd xmm1, xmmword [0x1400f3498]
jbe 0x140036b03
movsd xmm0, qword [0x1400f3490]
comisd xmm0, xmm1
jbe 0x140036b03
mulsd xmm1, qword [0x1400f34a0]
cvttsd2si edi, xmm1
mov rcx, qword [rsp + 0x42d8]
mov eax, 0x2a
cmp ax, word [rcx]
je 0x140036d19
cmp esi, 0x80000000
jne 0x140036b29
cmp edi, ebx
jl 0x140036d19
lea rcx, [rsp + 0x68]
mov word [rsp + 0x102], bx
mov word [rsp + 0x100], bx
lea r12, str.PressKey
call fcn.140057154
mov rax, qword [rsp + 0x42d8]
mov r8d, 0x2c
cmp r8w, word [rax]
jne 0x140036b88
add rax, 2
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x42d8]
mov qword [rsp + 0x42d8], rax
call fcn.14005aa6c
mov rax, qword [rsp + 0x68]
cmp word [rax], bx
cmovne r12, rax
cmp byte [rsp + 0x42e0], bl
jne 0x140036c0a
cmp esi, ebx
jne 0x140036ba2
cmp edi, ebx
jg 0x140036ba0
mov edx, 2
jmp 0x140036c0d
cmp esi, ebx
jl 0x140036ce9
mov eax, ebx
cmp bpl, bl
je 0x140036bdf
mov ecx, esi
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rsp + 0x42d8]
cmp word [r11], bx
jne 0x140036ce9
lea rcx, [rsp + 0x68]
call fcn.14004f564
xor eax, eax
jmp 0x1400374d2
mov rcx, qword [rsp + 0x42d0]
cmp edi, ebx
mov r8d, ebx
cmovg r8d, edi
cmp esi, ebx
cmovg eax, esi
xor r9d, r9d
movsxd rdx, eax
call fcn.14001bffc
mov qword [rsp + 0x30], rax
jmp 0x140036ce9
mov edx, r13d
or edx, r14d
mov ecx, esi
call fcn.1400262b4
mov ebp, 9
mov r13d, eax
lea esi, [rbp + 0x27]
mov qword [rsp + 0x30], r13
cmp r15b, bl
jne 0x140036c3b
add eax, 0xffffffa0
cmp eax, ebp
ja 0x140036c3b
sub r13d, esi
mov qword [rsp + 0x30], r13
cmp r13d, ebx
jle 0x140036c58
lea rdx, str.0x_X
lea rcx, [rsp + 0x100]
mov r8d, r13d
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdi, qword [rsp + 0x42d0]
lea rax, [0x1400f3488]
lea r8, [rsp + 0x100]
cmp r13d, ebx
lea rdx, str.PressKey.Hex
mov rcx, rdi
cmovle r8, rax
call fcn.140056790
cmp r13d, ebx
jle 0x140036cd0
cmp r13d, 0x41
jl 0x140036c96
cmp r13d, 0x5a
jle 0x140036ca2
movzx eax, r13w
sub ax, si
cmp ax, bp
ja 0x140036cb8
movsx eax, r13b
mov word [rsp + 0x102], bx
mov word [rsp + 0x100], ax
jmp 0x140036cd0
lea rdx, str.0x_X
lea rcx, [rsp + 0x100]
mov r8d, r13d
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x100]
mov rdx, r12
mov rcx, rdi
call fcn.140056790
mov r13d, 1
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
lea rcx, [rsp + 0x68]
mov esi, 0x80000000
mov byte [rsp + 0x42e0], bl
call fcn.14004f564
mov rcx, qword [rsp + 0x42d8]
mov eax, 0x2a
cmp word [rcx], bx
je 0x140037490
mov qword [rsp + 0x38], rbx
or edi, 0xffffffff
mov r8, rbx
mov r12b, bl
mov bpl, bl
cmp ax, word [rcx]
jne 0x140036d5b
movsxd r8, dword [rsp + 0x5c]
mov edi, r13d
mov qword [rsp + 0x38], r8
jmp 0x140036d4a
add edi, r13d
add rcx, 2
mov qword [rsp + 0x42d8], rcx
cmp ax, word [rcx]
je 0x140036d47
cmp edi, ebx
mov r14d, 0x3d
jle 0x140036d82
lea eax, [r14 - 0x10]
cmp ax, word [rcx]
jne 0x140036dc0
add rcx, 2
mov r8, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x42d8], rcx
mov r15d, 0x30
or dword [rsp + 0x60], 0xffffffff
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
mov rax, qword [rsp + 0x42d8]
cmp r14w, word [rax]
jne 0x140036e44
mov r13b, byte [rax]
add rax, 2
mov qword [rsp + 0x42d8], rax
jmp 0x140036e47
cmp r14w, word [rcx]
jne 0x140036dcb
mov r12b, r13b
jmp 0x140036dd8
mov eax, 0x24
cmp ax, word [rcx]
jne 0x140036dec
mov bpl, 2
add rcx, 2
mov qword [rsp + 0x38], rbx
mov r8, rbx
mov qword [rsp + 0x42d8], rcx
movzx eax, word [rcx]
mov r15d, 0x30
lea ecx, [r15 - 0x27]
sub ax, r15w
cmp ax, cx
ja 0x140036e1c
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x42d8]
call fcn.140065394
mov r8, qword [rsp + 0x38]
sub edi, r13d
cmp edi, ebx
jle 0x140036d88
cmp bpl, bl
jne 0x140036d88
mov edx, edi
mov ecx, r8d
call fcn.140018c30
mov r8d, eax
mov qword [rsp + 0x38], r8
jmp 0x140036d88
mov r13b, bl
movzx eax, word [rax]
mov ecx, 9
sub ax, r15w
cmp ax, cx
ja 0x140036e6f
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x42d8]
call fcn.14006556c
mov r8, qword [rsp + 0x38]
cmp bpl, bl
lea r14, [rsp + 0xb0]
lea rax, [rsp + 0x38]
cmovne r14, rax
mov r15d, ebx
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0x30], r15
cmp bpl, bl
jne 0x140036eb0
cmp r8, rbx
jne 0x140036eba
mov r15d, 0x80070057
mov qword [rsp + 0x30], r15
cmp r8, rbx
je 0x140036eea
cmp bpl, bl
jne 0x140036eea
xor edx, edx
mov ecx, 0x100000
cmp r12b, bl
je 0x140036ece
call qword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x140036ed4
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [r14], rax
cmp rax, rbx
jne 0x140036eea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x48]
mov edx, 0x209
call fcn.1400571c8
mov rax, qword [rsp + 0x48]
mov edi, 0x208
mov word [rax], bx
mov rdx, qword [rsp + 0x48]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14006166c
mov rcx, qword [rsp + 0x70]
mov edx, 0x5c
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rax, qword [rsp + 0x48]
lea rcx, str.SystemRoot
mov word [rax], bx
mov rdx, qword [rsp + 0x48]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
lea rcx, [rsp + 0x80]
call fcn.140057618
mov rax, qword [rsp + 0x42d8]
mov qword [rsp + 0xc8], rbx
cmp word [rax], bx
je 0x140037193
mov ebp, 1
mov al, byte [0x14010921f]
cmp al, bl
jle 0x140037193
lea rdx, [rsp + 0x42d8]
lea rcx, str._delms:
mov r8d, 7
call fcn.14005992c
cmp al, bl
je 0x140036fe3
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x42d8]
call fcn.14006556c
cmp dword [rsp + 0x40], ebx
jge 0x140037170
mov dword [rsp + 0x40], ebx
jmp 0x140037170
mov edi, dword [rsp + 0xc0]
lea rdx, [rsp + 0x42d8]
lea rcx, str._del
mov r8d, edi
call fcn.14005992c
cmp al, bl
je 0x14003710a
mov rax, qword [rsp + 0x42d8]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xd8]
mov r8d, ebp
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xd8], rax
call fcn.140023d48
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x42d8], rax
call fcn.140057154
lea rcx, [rsp + 0xb8]
call fcn.140057154
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xb8]
call fcn.1400573bc
mov rcx, qword [rsp + 0xb8]
lea rdx, [rsp + 0x78]
call fcn.140019400
lea rcx, [rsp + 0xb8]
call fcn.14004f564
cmp qword [rsp + 0xa0], rbx
jle 0x1400370f1
mov r12d, 8
mov rcx, r12
call fcn.1400d2278
mov rdi, rax
cmp rax, rbx
je 0x1400370c3
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov qword [rsp + 0x78], rbx
jmp 0x1400370c6
mov rdi, rbx
mov rcx, qword [rsp + 0x90]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov r9d, r12d
call fcn.1400575b4
mov qword [rax], rdi
add qword [rsp + 0x90], rbp
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
lea rcx, [rsp + 0x78]
call fcn.14004f564
jmp 0x140037170
lea rdx, [rsp + 0x42d8]
lea rcx, str._cmd
mov r8d, edi
call fcn.14005992c
cmp al, bl
jne 0x140037183
mov rcx, qword [rsp + 0x42d8]
movzx eax, word [rcx]
cmp ax, bx
je 0x140037163
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x140037149
cmp ax, 0xd
jbe 0x140037163
cmp r8w, ax
je 0x140037163
add rcx, 2
mov qword [rsp + 0x42d8], rcx
mov ax, word [rcx]
cmp ax, bx
jne 0x14003713e
lea rcx, [rsp + 0x42d8]
call fcn.140014c28
mov rax, qword [rsp + 0x42d8]
cmp word [rax], bx
jne 0x140036f92
jmp 0x140037193
mov r11, qword [rsp + 0x42d8]
mov qword [rsp + 0xc8], r11
cmp byte [rsp + 0x42e0], bl
je 0x14003719e
neg esi
mov edi, dword [rsp + 0x44]
cmp edi, ebx
jne 0x1400371b5
cmp qword [r14], rbx
je 0x1400371b5
mov rcx, qword [rsp + 0x48]
call fcn.1400177e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebp, [rsi + rax]
cmp qword [r14], rbx
je 0x1400372a4
mov cl, byte [0x14010921f]
cmp cl, bl
jle 0x1400372a4
mov r15, qword [rsp + 0x42d0]
mov r12d, 1
cmp esi, ebx
je 0x14003729b
mov edi, 0x3e8
jle 0x140037207
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ebp
sub esi, eax
js 0x14003729b
cmp esi, edi
cmovl edi, esi
xor r9d, r9d
mov r8, r14
mov edx, r12d
mov rcx, r15
mov dword [rsp + 0x28], 0x4ff
mov dword [rsp + 0x20], edi
call fcn.140018d58
cmp eax, ebx
je 0x14003729b
mov al, byte [0x14010921f]
mov edi, 0x64
cmp al, bl
jle 0x14003728d
lea rcx, [rsp + 0x140]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, ebx
je 0x14003728d
sub edi, r12d
je 0x14003728d
cmp dword [rsp + 0x148], 0x12
je 0x14003728d
lea rcx, [rsp + 0x140]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x140]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov r11b, byte [0x14010921f]
cmp r11b, bl
jg 0x140037237
mov al, byte [0x14010921f]
cmp al, bl
jg 0x1400371e3
mov r15, qword [rsp + 0x30]
mov edi, dword [rsp + 0x44]
movsxd rax, dword [rsp + 0x60]
cmp eax, ebx
jl 0x1400372be
cmp r13b, bl
je 0x140037389
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rsp + 0x42d0]
cmp qword [rsp + 0x90], rbx
jle 0x140037406
mov al, byte [0x14010921f]
cmp al, bl
jle 0x140037406
cmp edi, ebx
jne 0x1400372f0
mov rcx, qword [rsp + 0x48]
call fcn.1400177e0
cmp qword [rsp + 0x90], rbx
mov rsi, qword [rsp + 0x80]
jle 0x140037406
mov r14d, 1
mov al, byte [0x14010921f]
cmp al, bl
jle 0x1400373f5
cmp dword [rsp + 0x90], ebx
mov r13d, ebx
mov rdi, rbx
jle 0x1400373f5
movsxd r15, dword [rsp + 0x90]
mov r12d, r14d
mov al, byte [0x14010921f]
cmp al, bl
jle 0x1400373c1
mov rdx, qword [rsi + rdi*8]
cmp rdx, rbx
je 0x1400373aa
mov rdx, qword [rdx]
xor r8d, r8d
mov rcx, rbp
call fcn.14001dd68
mov r11, qword [rsi + rdi*8]
mov rcx, qword [r11]
call fcn.1400d1524
cmp rax, rbx
jg 0x1400373a7
mov rbp, qword [rsi + rdi*8]
cmp rbp, rbx
je 0x140037383
mov rcx, rbp
call fcn.14004f564
mov rcx, rbp
call fcn.1400d208c
mov qword [rsi + rdi*8], rbx
jmp 0x1400373aa
mov rbp, qword [rsp + 0x42d0]
mov rdx, rax
xor r9d, r9d
mov rcx, rbp
xor r8d, r8d
call fcn.14001bffc
jmp 0x1400372c6
mov r13d, r12d
mov rbp, qword [rsp + 0x42d0]
add rdi, r14
add r12d, r14d
cmp rdi, r15
jl 0x140037338
cmp r13d, ebx
jle 0x1400373f5
mov rbp, qword [rsp + 0x42d0]
movsxd rdx, dword [rsp + 0x40]
xor r9d, r9d
mov rcx, rbp
xor r8d, r8d
call fcn.14001bffc
movsxd r11, r13d
cmp r11, rbx
mov qword [rsp + 0x90], r11
jg 0x14003730c
mov r14, qword [rsp + 0xe8]
mov r15, qword [rsp + 0x30]
mov edi, dword [rsp + 0x44]
cmp edi, ebx
jne 0x140037419
cmp qword [r14], rbx
je 0x140037419
mov rcx, qword [rsp + 0x70]
call fcn.1400177e0
mov rax, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0x42d0]
cmp rax, rbx
je 0x14003744c
cmp word [rax], bx
je 0x14003744c
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call fcn.1400400e4
mov r15d, eax
lea rcx, [rsp + 0x80]
call fcn.140028ab8
lea rcx, [rsp + 0x70]
call fcn.14004f564
lea rcx, [rsp + 0x48]
call fcn.14004f564
mov rcx, qword [rsp + 0xb0]
cmp rcx, rbx
je 0x140037486
cmp rcx, 0xffffffffffffffff
je 0x140037486
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0xb0], rbx
jmp 0x14003749d
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x42d0]
cmp byte [rsp + 0x42e8], bl
je 0x1400374c5
call fcn.1400240dc
cmp eax, ebx
je 0x1400374be
lea rdx, str.exec
mov rcx, rdi
call fcn.1400241a0
xor ecx, ecx
call fcn.14002d004
xor edx, edx
mov rcx, rdi
call fcn.140081ed8
movsxd rax, r15d
add rsp, 0x4288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret