Function at 0x460228
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 0x460231
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 0x460f3b
mov ebx, esi
xor eax, eax
mov edx, dword [eax*4 + 0x49f7fc]
cmp edx, dword [ebx + 8]
jne 0x46027c
push 0
push 0
push 0x400
push dword [0x4b9890]
call sub.USER32.DLL_PostMessageA
jmp 0x460282
inc eax
cmp eax, 7
jl 0x46025a
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffff96
jg 0x4602c6
je 0x46057b
cmp ecx, 0xffffff8e
jg 0x4602b1
je 0x460451
sub ecx, 0xffffff65
je 0x4602ef
sub ecx, 5
je 0x460b4d
jmp 0x460f37
sub ecx, 0xffffff93
je 0x4604c0
dec ecx
je 0x4604ca
jmp 0x460f37
sub ecx, 0xffffff97
je 0x4604dc
sub ecx, 0x5d
je 0x460a99
sub ecx, 9
je 0x4604a1
sub ecx, 2
je 0x460a71
jmp 0x460f37
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 0x46033f
test esi, esi
jne 0x460337
test edi, edi
je 0x46033f
mov eax, dword [ebp - 4]
call fcn.00462270
test esi, esi
jne 0x460f37
test edi, edi
jne 0x460f37
cmp dword [ebp - 8], 0
jne 0x460f37
movzx edx, word [ebx + 0xc]
cmp edx, 0x70
jg 0x460381
je 0x4603c5
sub edx, 9
je 0x460424
sub edx, 4
je 0x460393
sub edx, 0x13
je 0x4603b8
sub edx, 0xd
je 0x4603b8
jmp 0x460f37
sub edx, 0x71
je 0x4603e1
sub edx, 2
je 0x4603ee
dec edx
je 0x4603fd
jmp 0x460f37
call fcn.00495d7c
mov dword [0x49f7f8], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00460f50
call fcn.00495d7c
mov dword [0x49f7f8], eax
jmp 0x460f37
mov eax, dword [ebp - 4]
call fcn.004621e4
jmp 0x460f37
push 0
push 0xb4
push 0x111
push dword [0x4b9890]
call sub.USER32.DLL_SendMessageA
jmp 0x460f37
mov eax, dword [ebp - 4]
call fcn.004628d8
jmp 0x460f37
mov eax, 0x4b9dec
call fcn.00478b80
jmp 0x460f37
cmp dword [0x4bc218], 0
je 0x460415
mov eax, 0x4b98a4
call fcn.0045fbcc
jmp 0x460f37
mov eax, 0x4b98a4
call fcn.0045f058
jmp 0x460f37
cmp dword [0x4b9894], 0
je 0x460f37
call sub.USER32.DLL_GetFocus
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jne 0x460f37
push dword [0x4b9894]
call sub.USER32.DLL_SetFocus
jmp 0x460f37
mov edx, 0x49f953
mov eax, 0x49f8bb
xor ecx, ecx
call fcn.00465b48
test eax, eax
je 0x460f37
mov eax, dword [ebp - 4]
call fcn.0046278c
test eax, eax
je 0x460f37
call fcn.00495d7c
sub eax, dword [0x49f7f8]
cmp eax, 0x3e8
jle 0x460f37
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00460f50
jmp 0x460f37
mov eax, dword [ebp - 4]
call fcn.0046278c
test eax, eax
je 0x4604b9
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00460f50
xor eax, eax
jmp 0x460f46
call fcn.00456b7c
jmp 0x460f37
mov eax, dword [esi + 0x10]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00462b8c
jmp 0x460f37
mov eax, 0x4ba5d4
call fcn.0045901c
cmp dword [0x4bc220], 0
jne 0x46050e
cmp dword [0x4bc218], 0
je 0x460518
cmp dword [0x4ba7dc], 0
jne 0x460505
test al, 0x40
jne 0x460518
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
jne 0x460518
mov eax, 1
jmp 0x460f46
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x46052a
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1d], 0
jmp 0x460574
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 0x49f8b8
push ebx
call fcn.0048d89c
add esp, 8
test eax, eax
jne 0x460574
mov eax, 1
jmp 0x460f46
xor eax, eax
jmp 0x460f46
mov ebx, esi
xor esi, esi
xor edi, edi
mov byte [0x4c05cc], 0
mov byte [ebp - 0x440], 0
cmp dword [ebx + 0x20], 0
jne 0x4605de
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x454], 0x4c05cc
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 0x46063b
push dword [ebx + 0x20]
push 0x4c05cc
call fcn.0048d8e8
add esp, 8
mov edx, dword [ebx + 0x2c]
cmp edx, dword [0x4c05c0]
jae 0x46063b
lea ecx, [ebp - 0x1098]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c04bc
call fcn.00465240
mov edi, dword [ebp - 0x47c]
push 0x3ff
lea eax, [ebp - 0x1098]
push eax
lea edx, [ebp - 0x440]
push edx
call fcn.0048db38
add esp, 0xc
lea eax, [ebp - 0x440]
call fcn.0040b578
mov byte [eax], 0
cmp byte [0x4c05cc], 0
jne 0x46064b
xor eax, eax
jmp 0x460f46
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x4607cb
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 0
cmp dword [0x4bc218], 0
je 0x46077d
lea edx, [ebp - 0x1898]
mov eax, str.Rar_MDXXXXXX
call fcn.00467e64
test al, al
je 0x460a53
lea ecx, [ebp - 0x1898]
push ecx
lea eax, [ebp - 0x1498]
push eax
call fcn.0048d8e8
add esp, 8
lea eax, [ebp - 0x1498]
call fcn.0040ba60
push 0x4c05cc
lea edx, [ebp - 0x1498]
push edx
call fcn.0048d80c
add esp, 8
push 0
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x460754
call fcn.00452b78
mov edx, 0x4b2734
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d270
lea edx, [ebp - 0x1498]
mov eax, dword [0x4b3334]
call fcn.0040efd4
mov dword [0x4b0920], 1
mov dword [0x4b091c], 1
mov byte [0x4b095a], 0
mov edx, 0x4b006c
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d244
mov eax, dword [0x4ba7dc]
mov dword [0x4b12ec], eax
mov eax, 0x4ba5d4
xor edx, edx
call fcn.00458c00
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
lea eax, [ebp - 0x1898]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
jmp 0x460a53
lea edx, [ebp - 0x1498]
mov eax, 0x1f7
push edx
call fcn.004116e8
push eax
call fcn.0044a224
add esp, 8
mov eax, 0x4a69f4
call fcn.00429838
jmp 0x460a53
push 0
push 0x4c05cc
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x460797
mov esi, 1
jmp 0x460a53
cmp byte [0x4c05cc], 0
je 0x460a53
push 0x4c05cc
mov eax, 0x1f7
call fcn.004116e8
push eax
call fcn.0044a224
add esp, 8
mov eax, 0x4a69f4
call fcn.00429838
jmp 0x460a53
cmp dword [ebx + 0x20], 0
je 0x460a53
cmp dword [0x4bc218], 0
je 0x460a14
lea edx, [ebp - 0x24c8]
mov eax, dword [ebp - 4]
call fcn.00463930
test al, al
je 0x46080f
push 0x400
lea edx, [ebp - 0x24c8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x1d
push ecx
call fcn.0048db38
add esp, 0xc
push 0x4c05cc
call fcn.0048d918
pop ecx
mov ebx, eax
test edi, 4
je 0x460849
cmp ebx, 4
jle 0x460849
push 0x49f8e8
mov eax, 0x4c05c8
add eax, ebx
push eax
call fcn.0048d89c
add esp, 8
test eax, eax
jne 0x460849
mov byte [ebx + 0x4c05c8], 0
test edi, 1
je 0x460876
cmp ebx, 2
jle 0x460876
push 0x49f8e0
mov edx, 0x4c05ca
add edx, ebx
push edx
call fcn.0048d89c
add esp, 8
test eax, eax
jne 0x460876
mov byte [ebx + 0x4c05ca], 0
xor eax, eax
call fcn.00452b10
call fcn.004530d4
mov ecx, 0x4b2b34
mov edx, 0x4b2734
mov eax, 0x4ba5d4
call fcn.0045d270
mov edx, dword [0x4ba7dc]
mov eax, 0x49f8bb
mov dword [0x4b12ec], edx
mov edx, str.FlatView
xor ecx, ecx
call fcn.00465b48
test eax, eax
setne al
and eax, 1
test al, al
je 0x4608d7
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x28c8]
push ecx
call fcn.0048d8e8
add esp, 8
jmp 0x4608f4
lea edx, [ebp - 0x28c8]
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d244
lea eax, [ebp - 0x28c8]
call fcn.0040ba60
mov edx, dword [ebp - 4]
mov eax, dword [0x4b3334]
add edx, 0x1d
call fcn.0040efd4
lea edx, [ebp - 0x28c8]
push edx
lea ecx, [ebp - 0x2cc8]
push ecx
call fcn.0048d8e8
add esp, 8
push 0x4c05cc
lea eax, [ebp - 0x2cc8]
push eax
call fcn.0048d80c
add esp, 8
lea edx, [ebp - 0x2cc8]
mov eax, dword [0x4b3334]
call fcn.0040efd4
push 0
lea edx, [ebp - 0x2cc8]
mov eax, 0x4c04bc
xor ecx, ecx
call fcn.00465340
test al, al
je 0x4609a4
lea edx, [ebp - 0x2cc8]
mov ebx, dword [ebp - 4]
add ebx, 0x1d
mov eax, ebx
call fcn.0040e624
test eax, eax
jne 0x460981
lea edx, [ebp - 0x2cc8]
push edx
push ebx
call fcn.0048d89c
add esp, 8
test eax, eax
jne 0x4609a4
mov edx, 0x4c05cc
mov eax, dword [ebp - 4]
call fcn.0045ef74
mov eax, 0x50d
call fcn.004116e8
push eax
call fcn.0044a224
pop ecx
jmp 0x460a53
mov byte [ebp - 9], 1
mov ebx, 0x4c05cc
jmp 0x4609eb
and eax, 0xff
push eax
push dword [0x49f818]
call fcn.0048da25
add esp, 8
test eax, eax
je 0x4609cd
mov byte [ebp - 9], 0
jmp 0x4609f1
mov edi, ebx
cmp byte [0x4a8940], 0
je 0x4609e6
mov eax, 0x4a8840
mov edx, edi
call fcn.0040fd7c
jmp 0x4609e9
lea eax, [edi + 1]
mov ebx, eax
mov al, byte [ebx]
test al, al
jne 0x4609af
cmp byte [ebp - 9], 0
je 0x460a53
lea eax, [ebp - 0x28c8]
xor edx, edx
call fcn.0040b9d0
test al, al
jne 0x460a53
mov eax, 0x4ba5d4
call fcn.00459058
jmp 0x460a53
push 0x4c05cc
mov ebx, dword [ebp - 4]
add ebx, 0x1d
push ebx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
je 0x460a30
mov esi, 1
jmp 0x460a53
push 0x4c05cc
push ebx
mov eax, 0x207
call fcn.004116e8
push eax
call fcn.0044a224
add esp, 0xc
mov eax, 0x4a69f4
call fcn.00429838
push 0x4c05cc
push 0
push 0x402
push dword [0x4b9890]
call sub.USER32.DLL_PostMessageA
mov eax, esi
jmp 0x460f46
push 0x30
mov eax, 0x65
call fcn.004116e8
push eax
mov eax, 0x1f4
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
jmp 0x460f37
mov ebx, esi
mov eax, dword [ebx + 0xc]
dec eax
je 0x460aad
sub eax, 0x10000
je 0x460ac7
jmp 0x460f37
cmp byte [0x4b9dc8], 0
jne 0x460abd
xor eax, eax
jmp 0x460f46
mov eax, 0x20
jmp 0x460f46
cmp dword [0x49f81c], 0xffffffff
jne 0x460b02
mov edx, str.AltColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xff0000
call fcn.00465b48
mov dword [0x49f81c], eax
mov edx, str.AltEncryptionColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xd9213
call fcn.00465b48
mov dword [0x4c09cc], eax
lea ecx, [ebp - 0x38f8]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c04bc
call fcn.00465240
lea eax, [ebp - 0x38f8]
mov edx, dword [eax + 0xc10]
mov dword [ebp - 0x10], edx
test byte [ebp - 0xf], 8
je 0x460b33
mov ecx, dword [0x49f81c]
mov dword [ebx + 0x30], ecx
test byte [ebp - 0xf], 0x40
je 0x460b41
mov eax, dword [0x4c09cc]
mov dword [ebx + 0x30], eax
xor eax, eax
jmp 0x460f46
mov eax, esi
lea ebx, [eax + 0xc]
test byte [ebx], 2
je 0x460f37
lea ecx, [ebp - 0x4528]
mov edx, dword [ebx + 0x20]
mov eax, 0x4c04bc
call fcn.00465240
cmp dword [0x49f820], 0
jne 0x460b91
mov dword [0x49f820], 0x4401
call fcn.00468418
test al, al
jne 0x460b91
or dword [0x49f820], 0x10
call fcn.0040f820
test eax, eax
je 0x460cd1
cmp word [ebp - 0x4128], 0
je 0x460cd1
lea eax, [ebp - 0x4fdc]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryW
cmp dword [0x49f824], 0
jne 0x460beb
push 0x49f9c6
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x460beb
push str.SHGetFileInfoW
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x49f824], eax
cmp dword [0x49f824], 0
je 0x460c96
push dword [0x49f820]
lea edx, [ebp - 0x47dc]
push 0x2b4
push edx
lea ecx, [ebp - 0x4128]
push dword [ebp - 0x3918]
push ecx
call dword [0x49f824]
test eax, eax
je 0x460c96
lea edx, [ebp - 0x50a4]
lea eax, [ebp - 0x45c8]
mov ecx, 0x10000000
call fcn.0040f874
cmp byte [ebp - 0x50a4], 0
jne 0x460c54
lea ecx, [ebp - 0x50a4]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0046290c
mov eax, dword [0x4bc218]
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.0040f978
test eax, eax
je 0x460da1
lea ecx, [ebp - 0x4fdc]
push ecx
call sub.KERNEL32.DLL_SetCurrentDirectoryW
jmp 0x460da1
lea eax, [ebp - 0x5e2c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push dword [0x49f820]
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 0x460d69
cmp byte [ebp - 0x591c], 0
jne 0x460d27
lea ecx, [ebp - 0x591c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0046290c
mov eax, dword [0x4bc218]
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.0048d89c
add esp, 8
test eax, eax
je 0x460da1
lea ecx, [ebp - 0x5e2c]
push ecx
call fcn.0048f2ec
pop ecx
test byte [ebx + 1], 0x10
jne 0x460f37
lea ecx, [ebp - 0x631c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0046290c
mov eax, dword [0x4bc218]
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.0040a4fc
mov esi, eax
lea eax, [ebp - 0x6744]
mov edx, 0x400
call fcn.00468290
lea eax, [ebp - 0x6744]
call fcn.0040ba60
push str._rar_icon_
lea edx, [ebp - 0x6744]
push edx
call fcn.0048d80c
add esp, 8
mov eax, esi
call fcn.0040a240
test al, al
je 0x460eb5
cmp dword [0x49f828], 0xffffffff
jne 0x460e95
push 0
lea edx, [ebp - 0x6744]
push edx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x460e89
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 0x460e89
mov edx, dword [ebp - 0x68a0]
mov dword [0x49f828], edx
lea ecx, [ebp - 0x6744]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
cmp dword [0x49f828], 0xffffffff
je 0x460f37
or dword [ebx], 0x1000
mov eax, dword [0x49f828]
mov dword [ebx + 0x1c], eax
jmp 0x460f37
cmp dword [0x49f82c], 0xffffffff
jne 0x460f20
push 0x49f9ec
lea edx, [ebp - 0x6744]
push edx
call fcn.0048f890
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x460f13
push dword [ebp - 0x18]
call fcn.0048f394
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 0x460f13
mov edx, dword [ebp - 0x6a00]
mov dword [0x49f82c], edx
lea ecx, [ebp - 0x6744]
push ecx
call fcn.0049051c
pop ecx
cmp dword [0x49f82c], 0xffffffff
je 0x460f37
or dword [ebx], 0x1000
mov eax, dword [0x49f82c]
mov dword [ebx + 0x1c], eax
xor eax, eax
jmp 0x460f46
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