Function at 0x4658a4
Capabilities:
Check for time delay via gettickcount
Create directory
Delete directory
Get common file path
Get file system object information
Log keystrokes via polling
Move file
Set current directory

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 6
add esp, 0xfffff004
push eax
dec eax
jne 0x4658ad
mov eax, dword [ebp - 4]
add esp, 0xfffff600
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
cmp ecx, 0x4e
jne 0x4665ba
mov ebx, esi
xor eax, eax
mov edx, dword [eax*4 + 0x4a7d44]
cmp edx, dword [ebx + 8]
jne 0x4658f8
push 0
push 0
push 0x400
push dword [0x4c2440]
call sub.USER32.DLL_PostMessageA
jmp 0x4658fe
inc eax
cmp eax, 7
jl 0x4658d6
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffff96
jg 0x465942
je 0x465bee
cmp ecx, 0xffffff8e
jg 0x46592d
je 0x465acd
sub ecx, 0xffffff65
je 0x46596b
sub ecx, 5
je 0x4661cc
jmp 0x4665b6
sub ecx, 0xffffff93
je 0x465b3c
dec ecx
je 0x465b46
jmp 0x4665b6
sub ecx, 0xffffff97
je 0x465b58
sub ecx, 0x5d
je 0x466118
sub ecx, 9
je 0x465b1d
sub ecx, 2
je 0x4660f0
jmp 0x4665b6
mov ebx, esi
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
push 0x12
mov esi, eax
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
push 0x11
mov edi, eax
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
mov dword [ebp - 8], eax
cmp word [ebx + 0xc], 0x79
jne 0x4659bb
test esi, esi
jne 0x4659b3
test edi, edi
je 0x4659bb
mov eax, dword [ebp - 4]
call fcn.00467904
test esi, esi
jne 0x4665b6
test edi, edi
jne 0x4665b6
cmp dword [ebp - 8], 0
jne 0x4665b6
movzx edx, word [ebx + 0xc]
cmp edx, 0x70
jg 0x4659fd
je 0x465a41
sub edx, 9
je 0x465aa0
sub edx, 4
je 0x465a0f
sub edx, 0x13
je 0x465a34
sub edx, 0xd
je 0x465a34
jmp 0x4665b6
sub edx, 0x71
je 0x465a5d
sub edx, 2
je 0x465a6a
dec edx
je 0x465a79
jmp 0x4665b6
call fcn.0049d37c
mov dword [0x4a7d40], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004665d0
call fcn.0049d37c
mov dword [0x4a7d40], eax
jmp 0x4665b6
mov eax, dword [ebp - 4]
call fcn.00467878
jmp 0x4665b6
push 0
push 0xb4
push 0x111
push dword [0x4c2440]
call sub.USER32.DLL_SendMessageA
jmp 0x4665b6
mov eax, dword [ebp - 4]
call fcn.00467f64
jmp 0x4665b6
mov eax, 0x4c29b4
call fcn.0047fc90
jmp 0x4665b6
cmp dword [0x4c4de0], 0
je 0x465a91
mov eax, 0x4c2454
call fcn.00465248
jmp 0x4665b6
mov eax, 0x4c2454
call fcn.004646a0
jmp 0x4665b6
cmp dword [0x4c2444], 0
je 0x4665b6
call sub.USER32.DLL_GetFocus
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jne 0x4665b6
push dword [0x4c2444]
call sub.USER32.DLL_SetFocus
jmp 0x4665b6
mov edx, 0x4a7e9b
mov eax, 0x4a7e03
xor ecx, ecx
call fcn.0046c37c
test eax, eax
je 0x4665b6
mov eax, dword [ebp - 4]
call fcn.00467e18
test eax, eax
je 0x4665b6
call fcn.0049d37c
sub eax, dword [0x4a7d40]
cmp eax, 0x3e8
jle 0x4665b6
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004665d0
jmp 0x4665b6
mov eax, dword [ebp - 4]
call fcn.00467e18
test eax, eax
je 0x465b35
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004665d0
xor eax, eax
jmp 0x4665c5
call fcn.0045b918
jmp 0x4665b6
mov eax, dword [esi + 0x10]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00468218
jmp 0x4665b6
mov eax, 0x4c319c
call fcn.0045e2f0
cmp dword [0x4c4de8], 0
jne 0x465b81
cmp dword [0x4c4de0], 0
je 0x465b8b
test al, 0x40
jne 0x465b8b
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
jne 0x465b8b
mov eax, 1
jmp 0x4665c5
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x465b9d
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1d], 0
jmp 0x465be7
mov eax, esi
mov eax, dword [eax + 0x10]
xor edx, edx
mov dword [ebp - 0x38], edx
lea edx, [ebp - 0x40]
mov dword [ebp - 0x28], 0x400
mov ebx, dword [ebp - 4]
add ebx, 0x1d
mov dword [ebp - 0x2c], ebx
push edx
push eax
push 0x102d
mov eax, dword [ebp - 4]
push dword [eax]
call sub.USER32.DLL_SendMessageA
push 0x4a7e00
push ebx
call fcn.00494f0c
add esp, 8
test eax, eax
jne 0x465be7
mov eax, 1
jmp 0x4665c5
xor eax, eax
jmp 0x4665c5
mov ebx, esi
xor esi, esi
xor edi, edi
mov byte [0x4c91f4], 0
mov byte [ebp - 0x440], 0
cmp dword [ebx + 0x20], 0
jne 0x465c51
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x454], 0x4c91f4
mov dword [ebp - 0x450], 0x400
mov dword [ebp - 0x468], 1
lea ecx, [ebp - 0x468]
push ecx
push 0
push 0x1005
mov eax, dword [ebp - 4]
push dword [eax]
call sub.USER32.DLL_SendMessageA
jmp 0x465cae
push dword [ebx + 0x20]
push 0x4c91f4
call fcn.00494f58
add esp, 8
mov edx, dword [ebx + 0x2c]
cmp edx, dword [0x4c91e8]
jae 0x465cae
lea ecx, [ebp - 0x1098]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c90e4
call fcn.0046ba40
mov edi, dword [ebp - 0x47c]
push 0x3ff
lea eax, [ebp - 0x1098]
push eax
lea edx, [ebp - 0x440]
push edx
call fcn.00495138
add esp, 0xc
lea eax, [ebp - 0x440]
call fcn.0040ba60
mov byte [eax], 0
cmp byte [0x4c91f4], 0
jne 0x465cbe
xor eax, eax
jmp 0x4665c5
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x465e3e
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 0
cmp dword [0x4c4de0], 0
je 0x465df0
lea edx, [ebp - 0x1898]
mov eax, str.Rar_MDXXXXXX
call fcn.0046e83c
test al, al
je 0x4660d2
lea ecx, [ebp - 0x1898]
push ecx
lea eax, [ebp - 0x1498]
push eax
call fcn.00494f58
add esp, 8
lea eax, [ebp - 0x1498]
call fcn.0040bf64
push 0x4c91f4
lea edx, [ebp - 0x1498]
push edx
call fcn.00494e7c
add esp, 8
push 0
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x465dc7
call fcn.004573b4
mov edx, 0x4baeb4
mov eax, 0x4c319c
xor ecx, ecx
call fcn.00462710
lea edx, [ebp - 0x1498]
mov eax, dword [0x4bbab4]
call fcn.0040f77c
mov dword [0x4b9088], 1
mov dword [0x4b9084], 1
mov byte [0x4b90c2], 0
mov edx, 0x4b87d5
mov eax, 0x4c319c
xor ecx, ecx
call fcn.004626e4
mov eax, dword [0x4c33a4]
mov dword [0x4b9a6c], eax
mov eax, 0x4c319c
xor edx, edx
call fcn.0045de80
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
lea eax, [ebp - 0x1898]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
jmp 0x4660d2
lea edx, [ebp - 0x1498]
mov eax, 0x1f7
push edx
call fcn.0041202c
push eax
call fcn.0044e46c
add esp, 8
mov eax, 0x4af120
call fcn.0042d020
jmp 0x4660d2
push 0
push 0x4c91f4
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x465e0a
mov esi, 1
jmp 0x4660d2
cmp byte [0x4c91f4], 0
je 0x4660d2
push 0x4c91f4
mov eax, 0x1f7
call fcn.0041202c
push eax
call fcn.0044e46c
add esp, 8
mov eax, 0x4af120
call fcn.0042d020
jmp 0x4660d2
cmp dword [ebx + 0x20], 0
je 0x4660d2
cmp dword [0x4c4de0], 0
je 0x466093
lea edx, [ebp - 0x24c8]
mov eax, dword [ebp - 4]
call fcn.00468fbc
test al, al
je 0x465e82
push 0x400
lea edx, [ebp - 0x24c8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x1d
push ecx
call fcn.00495138
add esp, 0xc
push 0x4c91f4
call fcn.00494f88
pop ecx
mov ebx, eax
test edi, 4
je 0x465ebc
cmp ebx, 4
jle 0x465ebc
push 0x4a7e30
mov eax, 0x4c91f0
add eax, ebx
push eax
call fcn.00494f0c
add esp, 8
test eax, eax
jne 0x465ebc
mov byte [ebx + 0x4c91f0], 0
test edi, 1
je 0x465ee9
cmp ebx, 2
jle 0x465ee9
push 0x4a7e28
mov edx, 0x4c91f2
add edx, ebx
push edx
call fcn.00494f0c
add esp, 8
test eax, eax
jne 0x465ee9
mov byte [ebx + 0x4c91f2], 0
xor eax, eax
call fcn.00457348
call fcn.00457920
mov ecx, 0x4bb2b4
mov edx, 0x4baeb4
mov eax, 0x4c319c
call fcn.00462710
mov edx, dword [0x4c33a4]
mov eax, 0x4a7e03
mov dword [0x4b9a6c], edx
mov edx, str.FlatView
xor ecx, ecx
call fcn.0046c37c
test eax, eax
setne al
and eax, 1
test al, al
je 0x465f4a
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x28c8]
push ecx
call fcn.00494f58
add esp, 8
jmp 0x465f67
lea edx, [ebp - 0x28c8]
mov eax, 0x4c319c
xor ecx, ecx
call fcn.004626e4
lea eax, [ebp - 0x28c8]
call fcn.0040bf64
mov edx, dword [ebp - 4]
mov eax, dword [0x4bbab4]
add edx, 0x1d
call fcn.0040f77c
lea edx, [ebp - 0x28c8]
push edx
lea ecx, [ebp - 0x2cc8]
push ecx
call fcn.00494f58
add esp, 8
push 0x4c91f4
lea eax, [ebp - 0x2cc8]
push eax
call fcn.00494e7c
add esp, 8
mov eax, dword [0x4bbac4]
call fcn.0040f74c
lea edx, [ebp - 0x2cc8]
mov eax, dword [0x4bbac4]
call fcn.0040f77c
push 0
push 0
lea edx, [ebp - 0x2cc8]
mov eax, 0x4c90e4
xor ecx, ecx
call fcn.0046bb40
test al, al
je 0x466023
lea edx, [ebp - 0x2cc8]
mov ebx, dword [ebp - 4]
add ebx, 0x1d
mov eax, ebx
call fcn.0040ee00
test eax, eax
jne 0x466000
lea edx, [ebp - 0x2cc8]
push edx
push ebx
call fcn.00494f0c
add esp, 8
test eax, eax
jne 0x466023
mov edx, 0x4c91f4
mov eax, dword [ebp - 4]
call fcn.004645bc
mov eax, 0x50d
call fcn.0041202c
push eax
call fcn.0044e46c
pop ecx
jmp 0x4660d2
mov byte [ebp - 9], 1
mov ebx, 0x4c91f4
jmp 0x46606a
and eax, 0xff
push eax
push dword [0x4a7d60]
call fcn.00495025
add esp, 8
test eax, eax
je 0x46604c
mov byte [ebp - 9], 0
jmp 0x466070
mov edi, ebx
cmp byte [0x4b106c], 0
je 0x466065
mov eax, 0x4b0f6c
mov edx, edi
call fcn.00410690
jmp 0x466068
lea eax, [edi + 1]
mov ebx, eax
mov al, byte [ebx]
test al, al
jne 0x46602e
cmp byte [ebp - 9], 0
je 0x4660d2
lea eax, [ebp - 0x28c8]
xor edx, edx
call fcn.0040bed4
test al, al
jne 0x4660d2
mov eax, 0x4c319c
call fcn.0045e32c
jmp 0x4660d2
push 0x4c91f4
mov ebx, dword [ebp - 4]
add ebx, 0x1d
push ebx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
je 0x4660af
mov esi, 1
jmp 0x4660d2
push 0x4c91f4
push ebx
mov eax, 0x207
call fcn.0041202c
push eax
call fcn.0044e46c
add esp, 0xc
mov eax, 0x4af120
call fcn.0042d020
push 0x4c91f4
push 0
push 0x402
push dword [0x4c2440]
call sub.USER32.DLL_PostMessageA
mov eax, esi
jmp 0x4665c5
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x1f4
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
jmp 0x4665b6
mov ebx, esi
mov eax, dword [ebx + 0xc]
dec eax
je 0x46612c
sub eax, 0x10000
je 0x466146
jmp 0x4665b6
cmp byte [0x4c2978], 0
jne 0x46613c
xor eax, eax
jmp 0x4665c5
mov eax, 0x20
jmp 0x4665c5
cmp dword [0x4a7d64], 0xffffffff
jne 0x466181
mov edx, str.AltColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xff0000
call fcn.0046c37c
mov dword [0x4a7d64], eax
mov edx, str.AltEncryptionColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xd9213
call fcn.0046c37c
mov dword [0x4c95f4], eax
lea ecx, [ebp - 0x38f8]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c90e4
call fcn.0046ba40
lea eax, [ebp - 0x38f8]
mov edx, dword [eax + 0xc10]
mov dword [ebp - 0x10], edx
test byte [ebp - 0xf], 8
je 0x4661b2
mov ecx, dword [0x4a7d64]
mov dword [ebx + 0x30], ecx
test byte [ebp - 0xf], 0x40
je 0x4661c0
mov eax, dword [0x4c95f4]
mov dword [ebx + 0x30], eax
xor eax, eax
jmp 0x4665c5
mov eax, esi
lea ebx, [eax + 0xc]
test byte [ebx], 2
je 0x4665b6
lea ecx, [ebp - 0x4528]
mov edx, dword [ebx + 0x20]
mov eax, 0x4c90e4
call fcn.0046ba40
cmp dword [0x4a7d68], 0
jne 0x466210
mov dword [0x4a7d68], 0x4401
call fcn.0046ee30
test al, al
jne 0x466210
or dword [0x4a7d68], 0x10
call fcn.0040ffc8
test eax, eax
je 0x466350
cmp word [ebp - 0x4128], 0
je 0x466350
lea eax, [ebp - 0x4fdc]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryW
cmp dword [0x4a7d6c], 0
jne 0x46626a
push 0x4a7f0e
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46626a
push str.SHGetFileInfoW
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a7d6c], eax
cmp dword [0x4a7d6c], 0
je 0x466315
push dword [0x4a7d68]
lea edx, [ebp - 0x47dc]
push 0x2b4
push edx
lea ecx, [ebp - 0x4128]
push dword [ebp - 0x3918]
push ecx
call dword [0x4a7d6c]
test eax, eax
je 0x466315
lea edx, [ebp - 0x50a4]
lea eax, [ebp - 0x45c8]
mov ecx, 0x10000000
call fcn.0041001c
cmp byte [ebp - 0x50a4], 0
jne 0x4662d3
lea ecx, [ebp - 0x50a4]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00467f98
mov eax, dword [0x4c4de0]
lea edx, [ebp - 0x50a4]
add eax, 2
lea ecx, [ebp - 0x50cc]
mov dword [ebp - 0x50c4], eax
mov dword [ebp - 0x50b8], edx
push ecx
push dword [ebx + 4]
push 0x102e
mov eax, dword [ebp - 4]
push dword [eax]
call sub.USER32.DLL_SendMessageA
or dword [ebx], 0x1000
mov edx, dword [ebp - 0x47d8]
mov dword [ebx + 0x1c], edx
lea ecx, [ebp - 0x58cc]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryW
lea edx, [ebp - 0x58cc]
lea eax, [ebp - 0x4fdc]
call fcn.0041028c
test eax, eax
je 0x466420
lea ecx, [ebp - 0x4fdc]
push ecx
call sub.KERNEL32.DLL_SetCurrentDirectoryW
jmp 0x466420
lea eax, [ebp - 0x5e2c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push dword [0x4a7d68]
lea edx, [ebp - 0x5a2c]
push 0x160
push edx
lea ecx, [ebp - 0x4528]
push dword [ebp - 0x3918]
push ecx
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x4663e8
cmp byte [ebp - 0x591c], 0
jne 0x4663a6
lea ecx, [ebp - 0x591c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00467f98
mov eax, dword [0x4c4de0]
lea edx, [ebp - 0x591c]
add eax, 2
lea ecx, [ebp - 0x5e54]
mov dword [ebp - 0x5e4c], eax
mov dword [ebp - 0x5e40], edx
push ecx
push dword [ebx + 4]
push 0x102e
mov eax, dword [ebp - 4]
push dword [eax]
call sub.USER32.DLL_SendMessageA
or dword [ebx], 0x1000
mov edx, dword [ebp - 0x5a28]
mov dword [ebx + 0x1c], edx
lea ecx, [ebp - 0x6254]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x6254]
push eax
lea edx, [ebp - 0x5e2c]
push edx
call fcn.00494f0c
add esp, 8
test eax, eax
je 0x466420
lea ecx, [ebp - 0x5e2c]
push ecx
call fcn.004968ec
pop ecx
test byte [ebx + 1], 0x10
jne 0x4665b6
lea ecx, [ebp - 0x631c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00467f98
mov eax, dword [0x4c4de0]
lea edx, [ebp - 0x631c]
add eax, 2
lea ecx, [ebp - 0x6344]
mov dword [ebp - 0x633c], eax
mov dword [ebp - 0x6330], edx
push ecx
push dword [ebx + 4]
push 0x102e
mov eax, dword [ebp - 4]
push dword [eax]
call sub.USER32.DLL_SendMessageA
lea edx, [ebp - 0x4128]
lea eax, [ebp - 0x4528]
call fcn.0040a938
mov esi, eax
lea eax, [ebp - 0x6744]
mov edx, 0x400
call fcn.0046ec68
lea eax, [ebp - 0x6744]
call fcn.0040bf64
push str._rar_icon_
lea edx, [ebp - 0x6744]
push edx
call fcn.00494e7c
add esp, 8
mov eax, esi
call fcn.0040a67c
test al, al
je 0x466534
cmp dword [0x4a7d70], 0xffffffff
jne 0x466514
push 0
lea edx, [ebp - 0x6744]
push edx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x466508
push 0x4001
lea ecx, [ebp - 0x68a4]
push 0x160
push ecx
lea eax, [ebp - 0x6744]
push 0
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x466508
mov edx, dword [ebp - 0x68a0]
mov dword [0x4a7d70], edx
lea ecx, [ebp - 0x6744]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
cmp dword [0x4a7d70], 0xffffffff
je 0x4665b6
or dword [ebx], 0x1000
mov eax, dword [0x4a7d70]
mov dword [ebx + 0x1c], eax
jmp 0x4665b6
cmp dword [0x4a7d74], 0xffffffff
jne 0x46659f
push 0x4a7f34
lea edx, [ebp - 0x6744]
push edx
call fcn.00496e90
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x466592
push dword [ebp - 0x18]
call fcn.00496994
pop ecx
push 0x4001
lea ecx, [ebp - 0x6a04]
push 0x160
push ecx
lea eax, [ebp - 0x6744]
push 0
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x466592
mov edx, dword [ebp - 0x6a00]
mov dword [0x4a7d74], edx
lea ecx, [ebp - 0x6744]
push ecx
call fcn.00497b1c
pop ecx
cmp dword [0x4a7d74], 0xffffffff
je 0x4665b6
or dword [ebx], 0x1000
mov eax, dword [0x4a7d74]
mov dword [ebx + 0x1c], eax
xor eax, eax
jmp 0x4665c5
push esi
push dword [ebp + 0xc]
push ecx
push edx
call sub.USER32.DLL_DefWindowProcA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8