Function at 0x433298
Capabilities:
Get common file path
Log keystrokes via polling
Query environment variable
Set current directory

Disassembly:
mov eax, 0x4e542c
call fcn.004afe60
mov eax, 0x41b4
call fcn.004af1d0
push ebx
push esi
mov dword [ebp - 0x3c], ecx
push edi
lea ecx, [ebp + 8]
call fcn.0041d38d
xor esi, esi
mov dword [ebp - 0x18], 1
mov byte [ebp - 0xe], 0
xor bl, bl
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x60], eax
push 4
lea eax, [ebp + 8]
push eax
push str.sys
mov dword [ebp - 0x48], 0x3e8
call fcn.00448570
mov byte [ebp - 0x28], al
push 5
lea eax, [ebp + 8]
push eax
push str.sys0
call fcn.00448570
add esp, 0x18
test al, al
je 0x43330d
mov byte [ebp - 0x28], 0x41
push 7
lea eax, [ebp + 8]
push eax
push str.syscmd
call fcn.00448570
add esp, 0xc
test al, al
je 0x433328
mov byte [ebp - 0x28], 0x10
push 8
lea eax, [ebp + 8]
push eax
push str.sys0cmd
call fcn.00448570
add esp, 0xc
test al, al
je 0x433343
mov byte [ebp - 0x28], 0x50
cmp byte [ebp - 0x28], 0
je 0x43347a
mov ebx, 0x5194ec
push ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
push str.GlobalPECMD:main:lock
call fcn.0041f754
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
and eax, 0x40
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], eax
call fcn.0041f71b
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
pop ecx
pop ecx
push dword [ebp + 8]
mov dword [ebp - 0x20], eax
call edi
mov esi, eax
add esi, 0x10
lea eax, [esi + 0x65]
push eax
lea ecx, [ebp - 0x18]
call fcn.00446280
mov eax, dword [ebp - 0x18]
and word [eax], 0
test byte [ebp - 0x28], 0x10
mov byte [ebp - 4], 2
jne 0x4333c6
push dword [ebp - 0x60]
push str.THREAD_WAIT__cur:_lu
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp - 0x18]
call edi
mov ecx, dword [ebp - 0x18]
inc esi
push esi
push dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov esi, dword [ebp - 0x18]
push esi
call edi
shl eax, 1
push eax
push esi
push 1
push str.HOTKEY9000000
push str.SOFTWAREPELOGON
push SysReAllocStringLen
call fcn.004402a0
add esp, 0x18
cmp dword [ebp - 0x20], 0
jne 0x43341a
push dword [ebp - 0x4c]
push dword [ebp - 0x3c]
call fcn.00426155
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
je 0x43344e
push 0
push 0x895440
push 0x312
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.0043f290
cmp dword [ebp - 0x14], 0
je 0x43346c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x43346c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0043f290
cmp dword [ebp - 0x14], 0
je 0x433469
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x433c6b
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x2d
jne 0x4335da
push 5
lea eax, [ebp + 8]
push eax
push str._cont
call fcn.00448570
add esp, 0xc
test al, al
je 0x4334a7
mov dword [ebp - 0x40], 0x10000
jmp 0x43350b
push 8
lea eax, [ebp + 8]
push eax
push str._scanall
call fcn.00448570
add esp, 0xc
test al, al
je 0x4334c2
mov bl, 1
jmp 0x43350b
push 4
lea eax, [ebp + 8]
push eax
push str._ncd
call fcn.00448570
add esp, 0xc
test al, al
je 0x4334e2
mov dword [ebp - 0x20], 0x40
jmp 0x43350b
push 5
push dword [ebp + 8]
push str._cur:
call fcn.00440450
add esp, 0xc
test al, al
je 0x43351a
add dword [ebp + 8], 0xa
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449a90
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x2d
je 0x433487
jmp 0x43351d
mov ecx, dword [ebp + 8]
test bl, bl
je 0x4335da
lea ecx, [ebp - 0x20]
mov ebx, str.PressKey
call fcn.00446250
mov eax, dword [ebp + 8]
cmp word [eax], si
mov dword [ebp - 4], 3
je 0x433556
push 0x2c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449370
mov ebx, dword [ebp - 0x20]
add esp, 0xc
push 0x3f
xor eax, eax
mov byte [ebp - 0x1bc], 0
pop ecx
lea edi, [ebp - 0x1bb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
xor esi, esi
mov word [ebp - 0x41c0], si
lea edi, [ebp - 0x41c0]
movzx eax, byte [ebp + esi - 0x1bc]
push eax
push 0x4f28cc
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
inc esi
add edi, 0xa
cmp esi, 0x100
jl 0x433589
mov ecx, dword [ebp - 0x3c]
and word [ebp - 0x37c2], 0
lea eax, [ebp - 0x41c0]
push eax
push ebx
call fcn.00444550
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043f290
and dword [ebp - 0x18], 0
jmp 0x433c5e
mov esi, SysReAllocStringLen
mov dword [ebp - 0x1c], esi
cmp word [ecx], 0x2d
jne 0x433610
lea eax, [ecx + 2]
mov dx, word [eax]
or dx, 0x20
cmp dx, 0x63
je 0x433610
cmp dx, 0x64
je 0x433610
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
mov byte [ebp - 0xe], 1
call fcn.0041d38d
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x3d
jne 0x433622
mov al, byte [ecx]
inc ecx
inc ecx
mov byte [ebp - 0xd], al
mov dword [ebp + 8], ecx
jmp 0x433626
mov byte [ebp - 0xd], 0
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.00422795
add esp, 4
test al, al
je 0x43364a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449a90
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push 0x2a
pop edi
cmp word [ecx], di
je 0x433789
cmp dword [ebp - 0x1c], esi
je 0x433789
and word [ebp - 0xba], 0
and word [ebp - 0xbc], 0
lea ecx, [ebp - 0x14]
mov ebx, str.PressKey
call fcn.00446250
mov eax, dword [ebp + 8]
cmp word [eax], 0x2c
mov dword [ebp - 4], 4
jne 0x4336ad
add dword [ebp + 8], 2
push 0x2c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449370
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp word [eax], 0
je 0x4336ad
mov ebx, eax
cmp byte [ebp - 0xe], 0
mov ecx, dword [ebp - 0x1c]
jne 0x433706
test ecx, ecx
je 0x433701
jl 0x43376b
cmp byte [ebp - 0xd], 0
push ecx
je 0x4336f4
and dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
cmp word [eax], 0
jne 0x43376b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043f290
xor eax, eax
jmp 0x433c6b
mov ecx, dword [ebp - 0x3c]
call fcn.0041ecf1
mov dword [ebp - 0x18], eax
jmp 0x433768
push 2
pop eax
jmp 0x433709
xor eax, eax
inc eax
or eax, dword [ebp - 0x40]
push eax
push ecx
call fcn.00428f22
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x18], ecx
je 0x433758
cmp ecx, 0x41
jl 0x433728
cmp ecx, 0x5a
jle 0x433735
push ecx
call fcn.00422795
add esp, 4
test al, al
je 0x433742
movsx ax, cl
mov word [ebp - 0xbc], ax
jmp 0x433758
push ecx
lea eax, [ebp - 0xbc]
push str.0x_X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xbc]
push eax
push ebx
call fcn.00444550
mov dword [ebp - 0x1c], esi
lea ecx, [ebp + 8]
call fcn.0041d38d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0xe], 0
call fcn.0043f290
mov ecx, dword [ebp + 8]
cmp word [ecx], 0
je 0x433c5e
xor ebx, ebx
mov dword [ebp - 0x38], ebx
or esi, 0xffffffff
cmp word [ecx], di
mov byte [ebp - 0x21], bl
jne 0x4337bb
mov eax, dword [ebp - 0x60]
inc ecx
xor esi, esi
inc ecx
inc esi
mov dword [ebp - 0x38], eax
jmp 0x4337b3
inc esi
inc ecx
inc ecx
mov dword [ebp + 8], ecx
cmp word [ecx], di
je 0x4337b0
cmp esi, ebx
jle 0x433815
mov ax, word [ecx]
cmp ax, 0x2d
jne 0x4337d2
inc ecx
inc ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 0x38], ebx
jmp 0x433815
cmp ax, 0x3d
jne 0x4337e1
inc ecx
inc ecx
mov dword [ebp + 8], ecx
mov byte [ebp - 0x21], 1
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.00422795
add esp, 4
test al, al
je 0x433803
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449a90
pop ecx
pop ecx
dec esi
cmp esi, ebx
jle 0x433815
push esi
push dword [ebp - 0x38]
call fcn.0042054b
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
or dword [ebp - 0x44], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041d38d
mov eax, dword [ebp + 8]
cmp word [eax], 0x3d
jne 0x433836
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp - 0xd], cl
mov dword [ebp + 8], eax
jmp 0x43383a
mov byte [ebp - 0xd], 0
movzx eax, word [eax]
push eax
call fcn.00422795
add esp, 4
test al, al
je 0x433859
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449a90
pop ecx
pop ecx
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x38], ebx
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], ebx
je 0x433898
cmp byte [ebp - 0x21], 0
push dword [ebp - 0x38]
push ebx
push 0x100000
je 0x433882
call dword [sym.imp.KERNEL32.dll_OpenThread]
jmp 0x433888
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jne 0x433898
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push 0x209
lea ecx, [ebp - 0x34]
call fcn.00446280
mov eax, dword [ebp - 0x34]
mov word [eax], bx
push dword [ebp - 0x34]
mov esi, 0x208
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.004574a0
push 0x5c
push dword [ebp - 0x50]
mov byte [ebp - 4], 7
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov eax, dword [ebp - 0x34]
push esi
mov word [eax], bx
push dword [ebp - 0x34]
push 0x4ec1e8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp + 8]
call fcn.0041d38d
lea ecx, [ebp - 0x5c]
call fcn.00446550
mov eax, dword [ebp + 8]
cmp word [eax], bx
mov byte [ebp - 4], 8
mov dword [ebp - 0x4c], ebx
je 0x433a5a
push 4
pop edi
cmp byte [0x5152e8], 0
jle 0x433a5a
push 7
lea eax, [ebp + 8]
push eax
push str._delms:
call fcn.00448570
add esp, 0xc
test al, al
je 0x433961
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449a90
cmp dword [ebp - 0x48], ebx
pop ecx
pop ecx
jge 0x433a46
mov dword [ebp - 0x48], ebx
jmp 0x433a46
push edi
lea eax, [ebp + 8]
push eax
push str._del
call fcn.00448570
add esp, 0xc
test al, al
je 0x433a26
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x40], ebx
call fcn.0042723f
add esp, 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], eax
call fcn.00446250
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00446250
push dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004463d0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call fcn.00420bd9
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0043f290
cmp dword [ebp - 0x40], ebx
jle 0x433a10
push edi
call fcn.004c86a5
cmp eax, ebx
pop ecx
je 0x4339f5
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [ebp - 0x14], ebx
mov esi, eax
jmp 0x4339f7
xor esi, esi
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x54]
call fcn.00446500
add esp, 0x10
mov dword [eax], esi
inc dword [ebp - 0x54]
lea ecx, [ebp + 8]
call fcn.0041d38d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0043f290
jmp 0x433a46
push edi
lea eax, [ebp + 8]
push eax
push str._cmd
call fcn.00448570
add esp, 0xc
test al, al
jne 0x433a54
lea eax, [ebp + 8]
push eax
call fcn.00416791
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x43391d
jmp 0x433a5a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
cmp byte [ebp - 0xe], 0
je 0x433a63
neg dword [ebp - 0x1c]
cmp dword [ebp - 0x20], ebx
jne 0x433a76
cmp dword [ebp - 0x30], ebx
je 0x433a76
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edi, eax
add edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x30], 0
je 0x433b26
jmp 0x433b19
cmp dword [ebp - 0x1c], 0
je 0x433b26
mov esi, 0x3e8
jle 0x433ab4
call ebx
mov ecx, edi
sub ecx, eax
mov dword [ebp - 0x1c], ecx
js 0x433b26
cmp ecx, esi
jge 0x433ab4
mov esi, ecx
push 0x4ff
push esi
push 0
lea eax, [ebp - 0x30]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x433b26
cmp byte [0x5152e8], 0
mov dword [ebp - 0x2c], 0x64
jle 0x433b26
xor esi, esi
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x433b19
dec dword [ebp - 0x2c]
je 0x433b19
cmp dword [ebp - 0x78], 0x12
je 0x433b19
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x5152e8], 0
jg 0x433ade
cmp byte [0x5152e8], 0
jg 0x433a92
xor ebx, ebx
cmp dword [ebp - 0x44], ebx
jl 0x433b45
cmp byte [ebp - 0xd], bl
push dword [ebp - 0x44]
je 0x433b3d
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x433b45
mov ecx, dword [ebp - 0x3c]
call fcn.0041ecf1
cmp dword [ebp - 0x54], ebx
jle 0x433c00
cmp byte [0x5152e8], 0
jle 0x433c00
cmp dword [ebp - 0x20], ebx
jne 0x433b69
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
jle 0x433c00
cmp byte [0x5152e8], 0
jle 0x433c00
mov eax, dword [ebp - 0x54]
xor edi, edi
cmp eax, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], eax
jle 0x433c00
cmp byte [0x5152e8], 0
jle 0x433be6
mov eax, dword [ebp - 0x40]
lea esi, [eax + edi*4]
mov eax, dword [esi]
cmp eax, ebx
je 0x433bde
mov eax, dword [eax]
push 0
push eax
call fcn.004324ec
mov eax, dword [esi]
push dword [eax]
call fcn.004abd30
add esp, 0xc
test eax, eax
jne 0x433bd8
mov ebx, dword [esi]
test ebx, ebx
je 0x433bd3
mov ecx, ebx
call fcn.0043f290
push ebx
call fcn.004c86d5
pop ecx
and dword [esi], 0
jmp 0x433bde
lea eax, [edi + 1]
mov dword [ebp - 0x2c], eax
inc edi
xor ebx, ebx
cmp edi, dword [ebp - 0x14]
jl 0x433b90
mov esi, dword [ebp - 0x2c]
cmp esi, ebx
jle 0x433c00
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
call fcn.0041ecf1
mov dword [ebp - 0x54], esi
jmp 0x433b78
cmp dword [ebp - 0x20], ebx
jne 0x433c13
cmp dword [ebp - 0x30], ebx
je 0x433c13
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x433c2e
cmp word [eax], bx
je 0x433c2e
mov ecx, dword [ebp - 0x3c]
push ebx
push ebx
push ebx
push eax
call fcn.00435957
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.0042aaa8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.0043f290
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0043f290
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004151b3
mov ecx, dword [ebp - 0x3c]
push 0
call fcn.00460e70
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4