Function at 0x465574
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 0x46557d
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 0x46628a
mov ebx, esi
xor eax, eax
mov edx, dword [eax*4 + 0x4a6d44]
cmp edx, dword [ebx + 8]
jne 0x4655c8
push 0
push 0
push 0x400
push dword [0x4c1440]
call sub.USER32.DLL_PostMessageA
jmp 0x4655ce
inc eax
cmp eax, 7
jl 0x4655a6
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffff96
jg 0x465612
je 0x4658be
cmp ecx, 0xffffff8e
jg 0x4655fd
je 0x46579d
sub ecx, 0xffffff65
je 0x46563b
sub ecx, 5
je 0x465e9c
jmp 0x466286
sub ecx, 0xffffff93
je 0x46580c
dec ecx
je 0x465816
jmp 0x466286
sub ecx, 0xffffff97
je 0x465828
sub ecx, 0x5d
je 0x465de8
sub ecx, 9
je 0x4657ed
sub ecx, 2
je 0x465dc0
jmp 0x466286
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 0x46568b
test esi, esi
jne 0x465683
test edi, edi
je 0x46568b
mov eax, dword [ebp - 4]
call fcn.004675c8
test esi, esi
jne 0x466286
test edi, edi
jne 0x466286
cmp dword [ebp - 8], 0
jne 0x466286
movzx edx, word [ebx + 0xc]
cmp edx, 0x70
jg 0x4656cd
je 0x465711
sub edx, 9
je 0x465770
sub edx, 4
je 0x4656df
sub edx, 0x13
je 0x465704
sub edx, 0xd
je 0x465704
jmp 0x466286
sub edx, 0x71
je 0x46572d
sub edx, 2
je 0x46573a
dec edx
je 0x465749
jmp 0x466286
call fcn.0049cdec
mov dword [0x4a6d40], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004662a0
call fcn.0049cdec
mov dword [0x4a6d40], eax
jmp 0x466286
mov eax, dword [ebp - 4]
call fcn.0046753c
jmp 0x466286
push 0
push 0xb4
push 0x111
push dword [0x4c1440]
call sub.USER32.DLL_SendMessageA
jmp 0x466286
mov eax, dword [ebp - 4]
call fcn.00467c24
jmp 0x466286
mov eax, 0x4c19b4
call fcn.0047f7cc
jmp 0x466286
cmp dword [0x4c3de0], 0
je 0x465761
mov eax, 0x4c1454
call fcn.00464f18
jmp 0x466286
mov eax, 0x4c1454
call fcn.00464378
jmp 0x466286
cmp dword [0x4c1444], 0
je 0x466286
call sub.USER32.DLL_GetFocus
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jne 0x466286
push dword [0x4c1444]
call sub.USER32.DLL_SetFocus
jmp 0x466286
mov edx, 0x4a6e9b
mov eax, 0x4a6e03
xor ecx, ecx
call fcn.0046bff8
test eax, eax
je 0x466286
mov eax, dword [ebp - 4]
call fcn.00467ad8
test eax, eax
je 0x466286
call fcn.0049cdec
sub eax, dword [0x4a6d40]
cmp eax, 0x3e8
jle 0x466286
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004662a0
jmp 0x466286
mov eax, dword [ebp - 4]
call fcn.00467ad8
test eax, eax
je 0x465805
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004662a0
xor eax, eax
jmp 0x466295
call fcn.0045b604
jmp 0x466286
mov eax, dword [esi + 0x10]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00467ed4
jmp 0x466286
mov eax, 0x4c219c
call fcn.0045dfec
cmp dword [0x4c3de8], 0
jne 0x465851
cmp dword [0x4c3de0], 0
je 0x46585b
test al, 0x40
jne 0x46585b
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
jne 0x46585b
mov eax, 1
jmp 0x466295
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x46586d
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1d], 0
jmp 0x4658b7
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 0x4a6e00
push ebx
call fcn.0049497c
add esp, 8
test eax, eax
jne 0x4658b7
mov eax, 1
jmp 0x466295
xor eax, eax
jmp 0x466295
mov ebx, esi
xor esi, esi
xor edi, edi
mov byte [0x4c81f4], 0
mov byte [ebp - 0x440], 0
cmp dword [ebx + 0x20], 0
jne 0x465921
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x454], 0x4c81f4
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 0x46597e
push dword [ebx + 0x20]
push 0x4c81f4
call fcn.004949c8
add esp, 8
mov edx, dword [ebx + 0x2c]
cmp edx, dword [0x4c81e8]
jae 0x46597e
lea ecx, [ebp - 0x1098]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c80e4
call fcn.0046b6bc
mov edi, dword [ebp - 0x47c]
push 0x3ff
lea eax, [ebp - 0x1098]
push eax
lea edx, [ebp - 0x440]
push edx
call fcn.00494ba8
add esp, 0xc
lea eax, [ebp - 0x440]
call fcn.0040ba30
mov byte [eax], 0
cmp byte [0x4c81f4], 0
jne 0x46598e
xor eax, eax
jmp 0x466295
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x465b0e
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 0
cmp dword [0x4c3de0], 0
je 0x465ac0
lea edx, [ebp - 0x1898]
mov eax, str.Rar_MDXXXXXX
call fcn.0046e4b4
test al, al
je 0x465da2
lea ecx, [ebp - 0x1898]
push ecx
lea eax, [ebp - 0x1498]
push eax
call fcn.004949c8
add esp, 8
lea eax, [ebp - 0x1498]
call fcn.0040bf34
push 0x4c81f4
lea edx, [ebp - 0x1498]
push edx
call fcn.004948ec
add esp, 8
push 0
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x465a97
call fcn.004570c0
mov edx, 0x4b9eb4
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004623f0
lea edx, [ebp - 0x1498]
mov eax, dword [0x4baab4]
call fcn.0040f744
mov dword [0x4b8088], 1
mov dword [0x4b8084], 1
mov byte [0x4b80c2], 0
mov edx, 0x4b77d5
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004623c4
mov eax, dword [0x4c23a4]
mov dword [0x4b8a6c], eax
mov eax, 0x4c219c
xor edx, edx
call fcn.0045db7c
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
lea eax, [ebp - 0x1898]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
jmp 0x465da2
lea edx, [ebp - 0x1498]
mov eax, 0x1f7
push edx
call fcn.00411fe8
push eax
call fcn.0044e1d4
add esp, 8
mov eax, 0x4ae120
call fcn.0042cf6c
jmp 0x465da2
push 0
push 0x4c81f4
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x465ada
mov esi, 1
jmp 0x465da2
cmp byte [0x4c81f4], 0
je 0x465da2
push 0x4c81f4
mov eax, 0x1f7
call fcn.00411fe8
push eax
call fcn.0044e1d4
add esp, 8
mov eax, 0x4ae120
call fcn.0042cf6c
jmp 0x465da2
cmp dword [ebx + 0x20], 0
je 0x465da2
cmp dword [0x4c3de0], 0
je 0x465d63
lea edx, [ebp - 0x24c8]
mov eax, dword [ebp - 4]
call fcn.00468c68
test al, al
je 0x465b52
push 0x400
lea edx, [ebp - 0x24c8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x1d
push ecx
call fcn.00494ba8
add esp, 0xc
push 0x4c81f4
call fcn.004949f8
pop ecx
mov ebx, eax
test edi, 4
je 0x465b8c
cmp ebx, 4
jle 0x465b8c
push 0x4a6e30
mov eax, 0x4c81f0
add eax, ebx
push eax
call fcn.0049497c
add esp, 8
test eax, eax
jne 0x465b8c
mov byte [ebx + 0x4c81f0], 0
test edi, 1
je 0x465bb9
cmp ebx, 2
jle 0x465bb9
push 0x4a6e28
mov edx, 0x4c81f2
add edx, ebx
push edx
call fcn.0049497c
add esp, 8
test eax, eax
jne 0x465bb9
mov byte [ebx + 0x4c81f2], 0
xor eax, eax
call fcn.00457054
call fcn.00457628
mov ecx, 0x4ba2b4
mov edx, 0x4b9eb4
mov eax, 0x4c219c
call fcn.004623f0
mov edx, dword [0x4c23a4]
mov eax, 0x4a6e03
mov dword [0x4b8a6c], edx
mov edx, str.FlatView
xor ecx, ecx
call fcn.0046bff8
test eax, eax
setne al
and eax, 1
test al, al
je 0x465c1a
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x28c8]
push ecx
call fcn.004949c8
add esp, 8
jmp 0x465c37
lea edx, [ebp - 0x28c8]
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004623c4
lea eax, [ebp - 0x28c8]
call fcn.0040bf34
mov edx, dword [ebp - 4]
mov eax, dword [0x4baab4]
add edx, 0x1d
call fcn.0040f744
lea edx, [ebp - 0x28c8]
push edx
lea ecx, [ebp - 0x2cc8]
push ecx
call fcn.004949c8
add esp, 8
push 0x4c81f4
lea eax, [ebp - 0x2cc8]
push eax
call fcn.004948ec
add esp, 8
mov eax, dword [0x4baac4]
call fcn.0040f714
lea edx, [ebp - 0x2cc8]
mov eax, dword [0x4baac4]
call fcn.0040f744
push 0
push 0
lea edx, [ebp - 0x2cc8]
mov eax, 0x4c80e4
xor ecx, ecx
call fcn.0046b7bc
test al, al
je 0x465cf3
lea edx, [ebp - 0x2cc8]
mov ebx, dword [ebp - 4]
add ebx, 0x1d
mov eax, ebx
call fcn.0040edcc
test eax, eax
jne 0x465cd0
lea edx, [ebp - 0x2cc8]
push edx
push ebx
call fcn.0049497c
add esp, 8
test eax, eax
jne 0x465cf3
mov edx, 0x4c81f4
mov eax, dword [ebp - 4]
call fcn.00464294
mov eax, 0x50d
call fcn.00411fe8
push eax
call fcn.0044e1d4
pop ecx
jmp 0x465da2
mov byte [ebp - 9], 1
mov ebx, 0x4c81f4
jmp 0x465d3a
and eax, 0xff
push eax
push dword [0x4a6d60]
call fcn.00494a95
add esp, 8
test eax, eax
je 0x465d1c
mov byte [ebp - 9], 0
jmp 0x465d40
mov edi, ebx
cmp byte [0x4b006c], 0
je 0x465d35
mov eax, 0x4aff6c
mov edx, edi
call fcn.00410650
jmp 0x465d38
lea eax, [edi + 1]
mov ebx, eax
mov al, byte [ebx]
test al, al
jne 0x465cfe
cmp byte [ebp - 9], 0
je 0x465da2
lea eax, [ebp - 0x28c8]
xor edx, edx
call fcn.0040bea4
test al, al
jne 0x465da2
mov eax, 0x4c219c
call fcn.0045e028
jmp 0x465da2
push 0x4c81f4
mov ebx, dword [ebp - 4]
add ebx, 0x1d
push ebx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
je 0x465d7f
mov esi, 1
jmp 0x465da2
push 0x4c81f4
push ebx
mov eax, 0x207
call fcn.00411fe8
push eax
call fcn.0044e1d4
add esp, 0xc
mov eax, 0x4ae120
call fcn.0042cf6c
push 0x4c81f4
push 0
push 0x402
push dword [0x4c1440]
call sub.USER32.DLL_PostMessageA
mov eax, esi
jmp 0x466295
push 0x30
mov eax, 0x65
call fcn.00411fe8
push eax
mov eax, 0x1f4
call fcn.00411fe8
push eax
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
jmp 0x466286
mov ebx, esi
mov eax, dword [ebx + 0xc]
dec eax
je 0x465dfc
sub eax, 0x10000
je 0x465e16
jmp 0x466286
cmp byte [0x4c1978], 0
jne 0x465e0c
xor eax, eax
jmp 0x466295
mov eax, 0x20
jmp 0x466295
cmp dword [0x4a6d64], 0xffffffff
jne 0x465e51
mov edx, str.AltColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xff0000
call fcn.0046bff8
mov dword [0x4a6d64], eax
mov edx, str.AltEncryptionColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xd9213
call fcn.0046bff8
mov dword [0x4c85f4], eax
lea ecx, [ebp - 0x38f8]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c80e4
call fcn.0046b6bc
lea eax, [ebp - 0x38f8]
mov edx, dword [eax + 0xc10]
mov dword [ebp - 0x10], edx
test byte [ebp - 0xf], 8
je 0x465e82
mov ecx, dword [0x4a6d64]
mov dword [ebx + 0x30], ecx
test byte [ebp - 0xf], 0x40
je 0x465e90
mov eax, dword [0x4c85f4]
mov dword [ebx + 0x30], eax
xor eax, eax
jmp 0x466295
mov eax, esi
lea ebx, [eax + 0xc]
test byte [ebx], 2
je 0x466286
lea ecx, [ebp - 0x4528]
mov edx, dword [ebx + 0x20]
mov eax, 0x4c80e4
call fcn.0046b6bc
cmp dword [0x4a6d68], 0
jne 0x465ee0
mov dword [0x4a6d68], 0x4401
call fcn.0046eaa8
test al, al
jne 0x465ee0
or dword [0x4a6d68], 0x10
call fcn.0040ff8c
test eax, eax
je 0x466020
cmp word [ebp - 0x4128], 0
je 0x466020
lea eax, [ebp - 0x4fdc]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryW
cmp dword [0x4a6d6c], 0
jne 0x465f3a
push 0x4a6f0e
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x465f3a
push str.SHGetFileInfoW
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a6d6c], eax
cmp dword [0x4a6d6c], 0
je 0x465fe5
push dword [0x4a6d68]
lea edx, [ebp - 0x47dc]
push 0x2b4
push edx
lea ecx, [ebp - 0x4128]
push dword [ebp - 0x3918]
push ecx
call dword [0x4a6d6c]
test eax, eax
je 0x465fe5
lea edx, [ebp - 0x50a4]
lea eax, [ebp - 0x45c8]
mov ecx, 0x10000000
call fcn.0040ffe0
cmp byte [ebp - 0x50a4], 0
jne 0x465fa3
lea ecx, [ebp - 0x50a4]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00467c58
mov eax, dword [0x4c3de0]
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.00410250
test eax, eax
je 0x4660f0
lea ecx, [ebp - 0x4fdc]
push ecx
call sub.KERNEL32.DLL_SetCurrentDirectoryW
jmp 0x4660f0
lea eax, [ebp - 0x5e2c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push dword [0x4a6d68]
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 0x4660b8
cmp byte [ebp - 0x591c], 0
jne 0x466076
lea ecx, [ebp - 0x591c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00467c58
mov eax, dword [0x4c3de0]
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.0049497c
add esp, 8
test eax, eax
je 0x4660f0
lea ecx, [ebp - 0x5e2c]
push ecx
call fcn.0049635c
pop ecx
test byte [ebx + 1], 0x10
jne 0x466286
lea ecx, [ebp - 0x631c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00467c58
mov eax, dword [0x4c3de0]
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.0040a90c
mov esi, eax
lea eax, [ebp - 0x6744]
mov edx, 0x400
call fcn.0046e8e0
lea eax, [ebp - 0x6744]
call fcn.0040bf34
push str._rar_icon_
lea edx, [ebp - 0x6744]
push edx
call fcn.004948ec
add esp, 8
mov eax, esi
call fcn.0040a650
test al, al
je 0x466204
cmp dword [0x4a6d70], 0xffffffff
jne 0x4661e4
push 0
lea edx, [ebp - 0x6744]
push edx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x4661d8
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 0x4661d8
mov edx, dword [ebp - 0x68a0]
mov dword [0x4a6d70], edx
lea ecx, [ebp - 0x6744]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
cmp dword [0x4a6d70], 0xffffffff
je 0x466286
or dword [ebx], 0x1000
mov eax, dword [0x4a6d70]
mov dword [ebx + 0x1c], eax
jmp 0x466286
cmp dword [0x4a6d74], 0xffffffff
jne 0x46626f
push 0x4a6f34
lea edx, [ebp - 0x6744]
push edx
call fcn.00496900
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x466262
push dword [ebp - 0x18]
call fcn.00496404
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 0x466262
mov edx, dword [ebp - 0x6a00]
mov dword [0x4a6d74], edx
lea ecx, [ebp - 0x6744]
push ecx
call fcn.0049758c
pop ecx
cmp dword [0x4a6d74], 0xffffffff
je 0x466286
or dword [ebx], 0x1000
mov eax, dword [0x4a6d74]
mov dword [ebx + 0x1c], eax
xor eax, eax
jmp 0x466295
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