Function at 0x4258c6
Capabilities:
Get common file path
Log keystrokes via polling
Query environment variable

Disassembly:
push ebp
mov eax, 0x41bc
lea ebp, [esp - 0x74]
call fcn.0048fb80
push ebx
push esi
mov dword [ebp + 0x68], ecx
push edi
lea ecx, [ebp + 0x7c]
call fcn.0040de83
and dword [ebp + 0x4c], 0
and dword [ebp + 0x44], 0
xor edi, edi
inc edi
mov dword [ebp + 0x5c], edi
mov byte [ebp + 0x71], 0
mov byte [ebp + 0x73], 0
mov byte [ebp + 0x56], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x34], 0x3e8
cmp word [eax], 0x2d
mov byte [ebp + 0x6c], 0
mov byte [ebp + 0x72], 0
mov bl, 0x2a
jne 0x425b29
add bl, 3
jmp 0x425b29
mov esi, dword [ebp + 0x7c]
add esi, 2
mov ax, word [esi]
cmp ax, 0x41
jb 0x425b33
cmp ax, 0x2a
je 0x425b33
cmp ax, 0x30
jb 0x425959
cmp ax, 0x39
jbe 0x425b33
cmp ax, 0x28
je 0x425b33
cmp cl, 0x2d
jne 0x425984
mov dl, al
or dl, 0x20
cmp dl, 0x63
jne 0x425984
mov edx, dword [ebp + 0x7c]
mov dl, byte [edx + 4]
or dl, 0x20
cmp dl, 0x6d
je 0x425b33
cmp cl, 0x2a
jne 0x42599f
test ax, ax
je 0x425b33
call fcn.00482120
test al, al
jne 0x425b33
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4a86f8
mov dword [ebp + 0x7c], esi
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x4259c2
mov byte [ebp + 0x72], 1
jmp 0x425b26
push 8
lea eax, [ebp + 0x7c]
push eax
push str.InitSys
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x4259e2
mov byte [ebp + 0x56], 1
jmp 0x425b26
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4a4ac8
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x425a02
mov byte [ebp + 0x6c], 1
jmp 0x425b26
push 4
lea eax, [ebp + 0x7c]
push eax
push str.sys0
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x425a22
mov byte [ebp + 0x6c], 0x41
jmp 0x425b26
push 6
lea eax, [ebp + 0x7c]
push eax
push str.syscmd
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x425a42
mov byte [ebp + 0x6c], 0x10
jmp 0x425b26
push 7
lea eax, [ebp + 0x7c]
push eax
push str.sys0cmd
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x425a62
mov byte [ebp + 0x6c], 0x50
jmp 0x425b26
push 4
lea eax, [ebp + 0x7c]
push eax
push str.cont
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x425a85
mov dword [ebp + 0x4c], 0x10000
jmp 0x425b26
push 7
lea eax, [ebp + 0x7c]
push eax
push str.scanall
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x425aa5
mov byte [ebp + 0x73], 1
jmp 0x425b26
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4a8074
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x425ac5
mov dword [ebp + 0x44], 0x40
jmp 0x425b26
push 7
lea eax, [ebp + 0x7c]
push eax
push str.freemem
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x425af2
push edi
call fcn.00439473
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0
pop ecx
je 0x425f3b
jmp 0x425b26
push 4
push dword [ebp + 0x7c]
push str.cur:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x425b1c
add dword [ebp + 0x7c], 8
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.004488bd
pop ecx
jmp 0x425b25
lea eax, [ebp + 0x7c]
push eax
call fcn.0040507c
pop ecx
mov eax, dword [ebp + 0x7c]
mov cl, byte [eax]
cmp bl, cl
je 0x42592c
mov eax, dword [ebp + 0x7c]
cmp byte [eax], 0x2d
jne 0x425b5d
cmp byte [eax + 2], 0x2d
jne 0x425b5d
movzx eax, word [eax + 4]
test ax, ax
je 0x425b53
call fcn.00482120
test al, al
je 0x425b5d
lea eax, [ebp + 0x7c]
push eax
call fcn.0040507c
pop ecx
cmp byte [ebp + 0x6c], 0
je 0x425c71
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push str.GlobalPECMD:main:lock
lea ecx, [ebp + 0x60]
call fcn.0040e2dc
mov esi, dword [ebp + 0x6c]
and esi, 0x40
push esi
call fcn.0041052e
test eax, eax
pop ecx
mov dword [ebp + 0x4c], eax
jne 0x425ba1
push esi
push dword [ebp + 0x68]
call fcn.00417b29
pop ecx
pop ecx
mov dword [ebp + 0x4c], eax
test eax, eax
mov dword [ebp + 0x5c], edi
je 0x425c52
push dword [ebp + 0x7c]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
call esi
mov edi, eax
add edi, 0x10
lea eax, [edi + 0x65]
push eax
lea ecx, [ebp + 0x68]
call fcn.0043d49b
mov eax, dword [ebp + 0x68]
and word [eax], 0
test byte [ebp + 0x6c], 0x10
jne 0x425be9
push dword [ebp + 0x1c]
push str.THREAD_WAIT__cur:_lu
push dword [ebp + 0x68]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp + 0x68]
call esi
mov ecx, dword [ebp + 0x68]
inc edi
push edi
push dword [ebp + 0x7c]
lea eax, [ecx + eax*2]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
push dword [ebp + 0x68]
call esi
add eax, eax
push eax
push dword [ebp + 0x68]
mov ebx, str.HOTKEY9000000
push 1
push ebx
mov edi, str.SOFTWAREPELOGONRAMDATAHOTKEY
push edi
mov esi, 0x80000002
push esi
call fcn.00438a61
add esp, 0x18
push 0
push 0x895440
push 0x312
push dword [ebp + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push edi
push esi
mov dword [ebp + 0x5c], eax
call fcn.00438aad
add esp, 0xc
lea ecx, [ebp + 0x68]
call fcn.00437960
cmp dword [ebp + 0x60], 0
je 0x425c61
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x42653a
cmp byte [ebp + 0x73], 0
je 0x425d26
lea ecx, [ebp + 0x44]
mov ebx, str.PressKey
call fcn.0043d47d
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0
je 0x425ca6
push 0x2c
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.0043fe29
mov ebx, dword [ebp + 0x44]
add esp, 0xc
push 0x3f
xor eax, eax
mov byte [ebp - 0x144], 0
pop ecx
lea edi, [ebp - 0x143]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
xor esi, esi
mov word [ebp - 0x4148], si
lea edi, [ebp - 0x4148]
movzx eax, byte [ebp + esi - 0x144]
push eax
push str.0x_02X
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
inc esi
add edi, 0xa
cmp esi, 0x100
jl 0x425cd9
mov ecx, dword [ebp + 0x68]
and word [ebp - 0x374a], 0
lea eax, [ebp - 0x4148]
push eax
push ebx
call fcn.0043cd78
lea ecx, [ebp + 0x44]
call fcn.00437960
and dword [ebp + 0x5c], 0
jmp 0x42650a
mov edx, dword [ebp + 0x7c]
cmp word [edx], 0x2d
mov esi, 0x80000000
mov edi, esi
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x50], 0xfffffc18
jne 0x425d68
lea eax, [edx + 2]
mov cx, word [eax]
or cx, 0x20
cmp cx, 0x63
je 0x425d68
cmp cx, 0x64
je 0x425d68
lea ecx, [ebp + 0x7c]
mov dword [ebp + 0x7c], eax
mov byte [ebp + 0x71], 1
call fcn.0040de83
mov edx, dword [ebp + 0x7c]
cmp word [edx], 0x3d
jne 0x425d77
mov bl, byte [edx]
inc edx
inc edx
mov dword [ebp + 0x7c], edx
jmp 0x425d79
xor bl, bl
xor ecx, ecx
mov cx, word [edx]
push ecx
call fcn.0041270e
add esp, 4
test al, al
je 0x425e28
mov eax, dword [ebp + 0x7c]
fld qword [0x4a8650]
mov dword [ebp + 0x64], eax
fstp qword [ebp + 0x3c]
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x64]
push eax
mov dword [ebp + 0x60], esi
call fcn.004488bd
pop ecx
pop ecx
mov ecx, dword [ebp + 0x7c]
jmp 0x425dc6
mov ax, word [ecx]
call fcn.00482120
test al, al
jne 0x425dcb
inc ecx
inc ecx
mov dword [ebp + 0x7c], ecx
cmp ecx, dword [ebp + 0x64]
jb 0x425db5
cmp dword [ebp + 0x60], 0
jl 0x425e1c
cmp word [ecx], 0x2e
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x6c], edi
jne 0x425e1c
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.004400a6
fld qword [ebp + 0x3c]
fcomp qword [0x4a8648]
pop ecx
pop ecx
fnstsw ax
test ah, 1
jne 0x425ea1
fld qword [ebp + 0x3c]
fadd qword [0x4a8640]
fmul qword [0x4a8638]
call fcn.0048feb4
mov dword [ebp + 0x50], eax
jmp 0x425ea1
lea eax, [ebp + 0x7c]
push eax
call fcn.0040507c
pop ecx
jmp 0x425ea1
cmp cx, 0x28
jne 0x425ea1
fld qword [0x4a8650]
lea eax, [ebp + 0x3c]
push eax
fstp qword [ebp + 0x3c]
lea eax, [ebp + 0x7c]
push eax
call fcn.0047e056
test eax, eax
pop ecx
pop ecx
jle 0x425ea1
fld qword [ebp + 0x3c]
fcomp qword [0x4a8648]
fnstsw ax
test ah, 1
jne 0x425ea1
fld qword [ebp + 0x3c]
fadd qword [0x4a8640]
fld st(0)
call fcn.0048feb4
fld st(0)
mov edi, eax
mov dword [ebp + 0x6c], edi
call fcn.0048feb4
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], edx
fild qword [ebp + 0x3c]
fsubp st(1)
fcom qword [0x4a8630]
fnstsw ax
test ah, 0x41
jne 0x425e9f
fcom qword [0x4a8628]
fnstsw ax
test ah, 5
jnp 0x425e09
fstp st(0)
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2a
je 0x42602a
cmp edi, esi
jne 0x425ebc
cmp dword [ebp + 0x50], 0
jl 0x42602a
and word [ebp - 0x42], 0
and word [ebp - 0x44], 0
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x60], str.PressKey
call fcn.0043d47d
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2c
jne 0x425f00
add dword [ebp + 0x7c], 2
push 0x2c
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.0043fe29
mov eax, dword [ebp + 0x64]
add esp, 0xc
cmp word [eax], 0
je 0x425f00
mov dword [ebp + 0x60], eax
cmp byte [ebp + 0x71], 0
jne 0x425f6e
test edi, edi
jne 0x425f11
cmp dword [ebp + 0x50], edi
jle 0x425f69
test edi, edi
jl 0x426013
test bl, bl
je 0x425f42
and dword [ebp + 0x5c], 0
push edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0
jne 0x426013
lea ecx, [ebp + 0x64]
call fcn.00437960
xor eax, eax
jmp 0x42653d
mov ecx, dword [ebp + 0x50]
test ecx, ecx
jg 0x425f4b
xor ecx, ecx
test edi, edi
jle 0x425f53
mov eax, edi
jmp 0x425f55
xor eax, eax
push 0
push ecx
mov ecx, dword [ebp + 0x68]
push eax
call fcn.00413857
mov dword [ebp + 0x5c], eax
jmp 0x426013
push 2
pop eax
jmp 0x425f71
xor eax, eax
inc eax
or eax, dword [ebp + 0x4c]
push eax
push edi
call fcn.0041a907
cmp byte [ebp + 0x72], 0
pop ecx
mov ebx, eax
pop ecx
mov dword [ebp + 0x5c], ebx
jne 0x425f98
cmp ebx, 0x60
jl 0x425f98
cmp ebx, 0x69
jg 0x425f98
sub ebx, 0x30
mov dword [ebp + 0x5c], ebx
test ebx, ebx
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov edi, str.0x_X
jle 0x425fb7
push ebx
lea eax, [ebp - 0x44]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x44]
jmp 0x425fbc
mov eax, 0x4a8620
mov ecx, dword [ebp + 0x68]
push eax
push str.PressKey.Hex
call fcn.0043cd78
test ebx, ebx
jle 0x425fff
cmp ebx, 0x41
jl 0x425fd8
cmp ebx, 0x5a
jle 0x425fe5
push ebx
call fcn.0041270e
add esp, 4
test al, al
je 0x425ff4
and word [ebp - 0x42], 0
movsx ax, bl
mov word [ebp - 0x44], ax
jmp 0x425fff
push ebx
lea eax, [ebp - 0x44]
push edi
push eax
call esi
add esp, 0xc
mov ecx, dword [ebp + 0x68]
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x60]
call fcn.0043cd78
mov esi, 0x80000000
lea ecx, [ebp + 0x7c]
call fcn.0040de83
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x6c], esi
mov byte [ebp + 0x71], 0
call fcn.00437960
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0
je 0x42650a
xor edi, edi
mov ecx, eax
mov dword [ebp + 0x58], edi
or esi, 0xffffffff
cmp word [ecx], 0x2a
mov byte [ebp + 0x72], 0
mov byte [ebp + 0x73], 0
jne 0x426068
mov eax, dword [ebp + 0x1c]
inc ecx
xor esi, esi
inc ecx
inc esi
mov dword [ebp + 0x58], eax
jmp 0x42605f
inc esi
inc ecx
inc ecx
mov dword [ebp + 0x7c], ecx
cmp word [ecx], 0x2a
je 0x42605c
cmp esi, edi
jle 0x4260d7
mov ax, word [ecx]
cmp ax, 0x2d
jne 0x42607f
inc ecx
inc ecx
mov dword [ebp + 0x7c], ecx
mov dword [ebp + 0x58], edi
jmp 0x4260d7
cmp ax, 0x3d
jne 0x42608b
mov byte [ebp + 0x72], 1
jmp 0x426095
cmp ax, 0x24
jne 0x42609d
mov byte [ebp + 0x73], 2
inc ecx
inc ecx
mov dword [ebp + 0x7c], ecx
mov dword [ebp + 0x58], edi
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.0041270e
add esp, 4
test al, al
je 0x4260bf
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.004488bd
pop ecx
pop ecx
dec esi
cmp esi, edi
jle 0x4260d7
cmp byte [ebp + 0x73], 0
jne 0x4260d7
push esi
push dword [ebp + 0x58]
call fcn.00410f1b
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
or dword [ebp + 0x2c], 0xffffffff
lea ecx, [ebp + 0x7c]
call fcn.0040de83
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x3d
jne 0x4260f8
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp + 0x57], cl
mov dword [ebp + 0x7c], eax
jmp 0x4260fc
mov byte [ebp + 0x57], 0
movzx eax, word [eax]
push eax
call fcn.0041270e
add esp, 4
test al, al
je 0x42611b
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.004488bd
pop ecx
pop ecx
cmp byte [ebp + 0x73], 0
mov dword [ebp + 0x18], edi
lea edi, [ebp + 0x18]
je 0x42612a
lea edi, [ebp + 0x58]
xor ebx, ebx
cmp byte [ebp + 0x73], bl
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x5c], ebx
jne 0x426143
cmp dword [ebp + 0x58], ebx
jne 0x42614e
mov dword [ebp + 0x5c], 0x80070057
cmp dword [ebp + 0x58], ebx
je 0x42617a
cmp byte [ebp + 0x73], 0
jne 0x42617a
cmp byte [ebp + 0x72], 0
push dword [ebp + 0x58]
push ebx
push 0x100000
je 0x426165
call dword [sym.imp.KERNEL32.DLL_OpenThread]
jmp 0x42616b
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, ebx
mov dword [edi], eax
jne 0x42617a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0x5c], eax
push 0x209
lea ecx, [ebp + 0x48]
call fcn.0043d49b
mov eax, dword [ebp + 0x48]
mov word [eax], bx
push dword [ebp + 0x48]
mov esi, 0x208
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp + 0x30]
call fcn.00445835
push 0x5c
push dword [ebp + 0x30]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov eax, dword [ebp + 0x48]
push esi
mov word [eax], bx
push dword [ebp + 0x48]
push str.SystemRoot
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [ebp + 0x7c]
call fcn.0040de83
lea ecx, [ebp + 0x20]
call fcn.0043d6eb
mov dword [ebp + 0x40], ebx
jmp 0x426306
cmp byte [0x4bc2c0], 0
jle 0x42631a
push 7
lea eax, [ebp + 0x7c]
push eax
push str._delms:
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x42622d
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x7c]
push eax
call fcn.004488bd
cmp dword [ebp + 0x34], ebx
pop ecx
pop ecx
jge 0x426306
mov dword [ebp + 0x34], ebx
jmp 0x426306
push 4
lea eax, [ebp + 0x7c]
push eax
push str._del
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x4262e5
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x38], eax
push 1
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x38]
push eax
mov dword [ebp + 0x50], ebx
call fcn.00418d74
add esp, 0xc
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x7c], eax
call fcn.0043d47d
lea ecx, [ebp + 0x60]
call fcn.0043d47d
push dword [ebp + 0x50]
lea ecx, [ebp + 0x60]
push dword [ebp + 0x38]
call fcn.0043d5a1
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x60]
call fcn.004114d4
pop ecx
pop ecx
lea ecx, [ebp + 0x60]
call fcn.00437960
cmp dword [ebp + 0x50], ebx
jle 0x4262d3
push 4
call fcn.0048f9e8
cmp eax, ebx
pop ecx
je 0x4262b7
mov ecx, dword [ebp + 0x64]
mov dword [eax], ecx
mov dword [ebp + 0x64], ebx
mov esi, eax
jmp 0x4262b9
xor esi, esi
push 4
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x28]
call fcn.0043d6ae
add esp, 0x10
mov dword [eax], esi
inc dword [ebp + 0x28]
lea ecx, [ebp + 0x7c]
call fcn.0040de83
lea ecx, [ebp + 0x64]
call fcn.00437960
jmp 0x426306
push 4
lea eax, [ebp + 0x7c]
push eax
push str._cmd
call fcn.0043f1bd
add esp, 0xc
test al, al
jne 0x426314
lea eax, [ebp + 0x7c]
push eax
call fcn.0040507c
pop ecx
mov eax, dword [ebp + 0x7c]
cmp word [eax], bx
jne 0x4261e9
jmp 0x42631a
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x40], eax
cmp byte [ebp + 0x71], 0
je 0x426323
neg dword [ebp + 0x6c]
cmp dword [ebp + 0x44], ebx
jne 0x426335
cmp dword [edi], ebx
je 0x426335
push dword [ebp + 0x48]
call fcn.004100d7
pop ecx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
mov esi, eax
add esi, dword [ebp + 0x6c]
cmp dword [edi], 0
je 0x4263cb
jmp 0x4263c2
cmp dword [ebp + 0x6c], 0
je 0x4263cb
mov edi, 0x3e8
jle 0x42636b
call ebx
mov ecx, esi
sub ecx, eax
mov dword [ebp + 0x6c], ecx
js 0x4263cb
cmp ecx, edi
jge 0x42636b
mov edi, ecx
push 0x4ff
push edi
push 0
push dword [ebp + 0x4c]
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x4263cb
push 0x64
pop edi
jmp 0x4263b9
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4263c2
dec edi
je 0x4263c2
cmp dword [ebp], 0x12
je 0x4263c2
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x4bc2c0], 0
jg 0x426387
cmp byte [0x4bc2c0], 0
jg 0x42634d
xor esi, esi
cmp dword [ebp + 0x2c], esi
jl 0x4263f0
cmp byte [ebp + 0x57], 0
je 0x4263e3
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x4263f0
mov ecx, dword [ebp + 0x68]
push esi
push esi
push dword [ebp + 0x2c]
call fcn.00413857
cmp dword [ebp + 0x28], esi
jle 0x4264b8
cmp byte [0x4bc2c0], 0
jle 0x4264b8
cmp dword [ebp + 0x44], 0
jne 0x426415
push dword [ebp + 0x48]
call fcn.004100d7
pop ecx
cmp dword [ebp + 0x28], 0
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x60], eax
jle 0x4264b8
cmp byte [0x4bc2c0], 0
jle 0x4264b8
mov eax, dword [ebp + 0x28]
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x64], eax
jle 0x4264b8
cmp byte [0x4bc2c0], 0
jle 0x42649a
mov eax, dword [ebp + 0x60]
lea esi, [eax + edi*4]
mov eax, dword [esi]
test eax, eax
je 0x426494
push 0
push dword [eax]
call fcn.00414c9e
mov eax, dword [esi]
push dword [eax]
call fcn.0048efcc
add esp, 0xc
test edx, edx
jg 0x42648e
jl 0x426475
test eax, eax
ja 0x42648e
mov ebx, dword [esi]
test ebx, ebx
je 0x426489
mov ecx, ebx
call fcn.00437960
push ebx
call fcn.0048f8e4
pop ecx
and dword [esi], 0
jmp 0x426494
lea eax, [edi + 1]
mov dword [ebp + 0x38], eax
inc edi
cmp edi, dword [ebp + 0x64]
jl 0x426441
mov esi, dword [ebp + 0x38]
test esi, esi
jle 0x4264b8
mov ecx, dword [ebp + 0x68]
push 0
push 0
push dword [ebp + 0x34]
call fcn.00413857
mov dword [ebp + 0x28], esi
jmp 0x426425
xor esi, esi
cmp dword [ebp + 0x44], esi
jne 0x4264cf
mov eax, dword [ebp + 0x4c]
cmp dword [eax], esi
je 0x4264cf
push dword [ebp + 0x30]
call fcn.004100d7
pop ecx
mov eax, dword [ebp + 0x40]
cmp eax, esi
je 0x4264ea
cmp word [eax], si
je 0x4264ea
mov ecx, dword [ebp + 0x68]
push esi
push esi
push esi
push eax
call fcn.0042cba1
mov dword [ebp + 0x5c], eax
lea ecx, [ebp + 0x20]
call fcn.0041c815
lea ecx, [ebp + 0x30]
call fcn.00437960
lea ecx, [ebp + 0x48]
call fcn.00437960
lea ecx, [ebp + 0x18]
call fcn.00402b5a
cmp byte [ebp + 0x56], 0
je 0x426530
call fcn.00419017
test eax, eax
je 0x426528
push str.exec
push dword [ebp + 0x68]
call fcn.004190b8
pop ecx
pop ecx
push 0
call fcn.00414442
pop ecx
mov ecx, dword [ebp + 0x68]
push 0
call fcn.0045fd6c
mov eax, dword [ebp + 0x5c]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4