Function at 0x45a780
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 0x45a789
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 0x45b48c
mov ebx, esi
xor eax, eax
mov edx, dword [eax*4 + 0x4a8d44]
cmp edx, dword [ebx + 8]
jne 0x45a7d4
push 0
push 0
push 0x400
push dword [0x4c4e24]
call sub.USER32.DLL_PostMessageA
jmp 0x45a7da
inc eax
cmp eax, 7
jl 0x45a7b2
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffff96
jg 0x45a81e
je 0x45aaca
cmp ecx, 0xffffff8e
jg 0x45a809
je 0x45a9a9
sub ecx, 0xffffff65
je 0x45a847
sub ecx, 5
je 0x45b09e
jmp 0x45b488
sub ecx, 0xffffff93
je 0x45aa18
dec ecx
je 0x45aa22
jmp 0x45b488
sub ecx, 0xffffff97
je 0x45aa34
sub ecx, 0x5d
je 0x45afea
sub ecx, 9
je 0x45a9f9
sub ecx, 2
je 0x45afc2
jmp 0x45b488
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 0x45a897
test esi, esi
jne 0x45a88f
test edi, edi
je 0x45a897
mov eax, dword [ebp - 4]
call fcn.0045c864
test esi, esi
jne 0x45b488
test edi, edi
jne 0x45b488
cmp dword [ebp - 8], 0
jne 0x45b488
movzx edx, word [ebx + 0xc]
cmp edx, 0x70
jg 0x45a8d9
je 0x45a91d
sub edx, 9
je 0x45a97c
sub edx, 4
je 0x45a8eb
sub edx, 0x13
je 0x45a910
sub edx, 0xd
je 0x45a910
jmp 0x45b488
sub edx, 0x71
je 0x45a939
sub edx, 2
je 0x45a946
dec edx
je 0x45a955
jmp 0x45b488
call fcn.004a0084
mov dword [0x4a8d40], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045b4a0
call fcn.004a0084
mov dword [0x4a8d40], eax
jmp 0x45b488
mov eax, dword [ebp - 4]
call fcn.0045c7d8
jmp 0x45b488
push 0
push 0xb4
push 0x111
push dword [0x4c4e24]
call sub.USER32.DLL_SendMessageA
jmp 0x45b488
mov eax, dword [ebp - 4]
call fcn.0045cec0
jmp 0x45b488
mov eax, 0x4c5398
call fcn.00475c40
jmp 0x45b488
cmp dword [0x4c77c4], 0
je 0x45a96d
mov eax, 0x4c4e38
call fcn.0045a124
jmp 0x45b488
mov eax, 0x4c4e38
call fcn.00459560
jmp 0x45b488
cmp dword [0x4c4e28], 0
je 0x45b488
call sub.USER32.DLL_GetFocus
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jne 0x45b488
push dword [0x4c4e28]
call sub.USER32.DLL_SetFocus
jmp 0x45b488
mov edx, 0x4a8e9b
mov eax, 0x4a8e03
xor ecx, ecx
call fcn.0046136c
test eax, eax
je 0x45b488
mov eax, dword [ebp - 4]
call fcn.0045cd74
test eax, eax
je 0x45b488
call fcn.004a0084
sub eax, dword [0x4a8d40]
cmp eax, 0x3e8
jle 0x45b488
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045b4a0
jmp 0x45b488
mov eax, dword [ebp - 4]
call fcn.0045cd74
test eax, eax
je 0x45aa11
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045b4a0
xor eax, eax
jmp 0x45b497
call fcn.004501c4
jmp 0x45b488
mov eax, dword [esi + 0x10]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0045d164
jmp 0x45b488
mov eax, 0x4c5b84
call fcn.004530d8
cmp dword [0x4c77cc], 0
jne 0x45aa5d
cmp dword [0x4c77c4], 0
je 0x45aa67
test al, 0x40
jne 0x45aa67
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
jne 0x45aa67
mov eax, 1
jmp 0x45b497
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x45aa79
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1d], 0
jmp 0x45aac3
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 0x4a8e00
push ebx
call fcn.00497c14
add esp, 8
test eax, eax
jne 0x45aac3
mov eax, 1
jmp 0x45b497
xor eax, eax
jmp 0x45b497
mov ebx, esi
xor edi, edi
xor esi, esi
mov byte [0x4c9910], 0
mov byte [ebp - 0x440], 0
cmp dword [ebx + 0x20], 0
jne 0x45ab2d
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x454], 0x4c9910
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 0x45ab85
push dword [ebx + 0x20]
push 0x4c9910
call fcn.00497c60
add esp, 8
mov edx, dword [ebx + 0x2c]
cmp edx, dword [0x4c9908]
jae 0x45ab85
lea ecx, [ebp - 0x1098]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c9804
call fcn.004609e4
mov esi, dword [ebp - 0x47c]
lea edx, [ebp - 0x1098]
lea eax, [ebp - 0x440]
mov ecx, 0x400
call fcn.0040f420
lea eax, [ebp - 0x440]
call fcn.0040bd0c
mov byte [eax], 0
cmp byte [0x4c9910], 0
jne 0x45ab95
xor eax, eax
jmp 0x45b497
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x45ad15
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 0
cmp dword [0x4c77c4], 0
je 0x45acc7
lea edx, [ebp - 0x1898]
mov eax, str.Rar_MDXXXXXX
call fcn.004639d4
test al, al
je 0x45afa4
lea ecx, [ebp - 0x1898]
push ecx
lea eax, [ebp - 0x1498]
push eax
call fcn.00497c60
add esp, 8
lea eax, [ebp - 0x1498]
call fcn.0040c210
push 0x4c9910
lea edx, [ebp - 0x1498]
push edx
call fcn.00497b84
add esp, 8
push 0
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x45ac9e
call fcn.00449b48
mov edx, 0x4bd878
mov eax, 0x4c5b84
xor ecx, ecx
call fcn.00457568
lea edx, [ebp - 0x1498]
mov eax, dword [0x4be478]
call fcn.0040fbd8
mov dword [0x4bba44], 1
mov dword [0x4bba40], 1
mov byte [0x4bba7e], 0
mov edx, 0x4bb190
mov eax, 0x4c5b84
xor ecx, ecx
call fcn.0045753c
mov eax, dword [0x4c5d8c]
mov dword [0x4bc428], eax
mov eax, 0x4c5b84
xor edx, edx
call fcn.00452c68
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
lea eax, [ebp - 0x1898]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
jmp 0x45afa4
lea edx, [ebp - 0x1498]
mov eax, 0x1f7
push edx
call fcn.004125b4
push eax
call fcn.00486908
add esp, 8
mov eax, 0x4b1ad4
call fcn.0042d778
jmp 0x45afa4
push 0
push 0x4c9910
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x45ace1
mov edi, 1
jmp 0x45afa4
cmp byte [0x4c9910], 0
je 0x45afa4
push 0x4c9910
mov eax, 0x1f7
call fcn.004125b4
push eax
call fcn.00486908
add esp, 8
mov eax, 0x4b1ad4
call fcn.0042d778
jmp 0x45afa4
cmp dword [ebx + 0x20], 0
je 0x45afa4
cmp dword [0x4c77c4], 0
je 0x45af65
lea edx, [ebp - 0x24c8]
mov eax, dword [ebp - 4]
call fcn.0045def8
test al, al
je 0x45ad54
lea edx, [ebp - 0x24c8]
mov eax, dword [ebp - 4]
add eax, 0x1d
mov ecx, 0x400
call fcn.0040f420
push 0x4c9910
call fcn.00497c90
pop ecx
mov ebx, eax
test esi, 4
je 0x45ad8e
cmp ebx, 4
jle 0x45ad8e
push 0x4a8e30
mov eax, 0x4c990c
add eax, ebx
push eax
call fcn.00497c14
add esp, 8
test eax, eax
jne 0x45ad8e
mov byte [ebx + 0x4c990c], 0
test esi, 1
je 0x45adbb
cmp ebx, 2
jle 0x45adbb
push 0x4a8e28
mov edx, 0x4c990e
add edx, ebx
push edx
call fcn.00497c14
add esp, 8
test eax, eax
jne 0x45adbb
mov byte [ebx + 0x4c990e], 0
xor eax, eax
call fcn.00449adc
call fcn.0044a0ac
mov ecx, 0x4bdc78
mov edx, 0x4bd878
mov eax, 0x4c5b84
call fcn.00457568
mov edx, dword [0x4c5d8c]
mov eax, 0x4a8e03
mov dword [0x4bc428], edx
mov edx, str.FlatView
xor ecx, ecx
call fcn.0046136c
test eax, eax
setne al
and eax, 1
test al, al
je 0x45ae1c
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x28c8]
push ecx
call fcn.00497c60
add esp, 8
jmp 0x45ae39
lea edx, [ebp - 0x28c8]
mov eax, 0x4c5b84
xor ecx, ecx
call fcn.0045753c
lea eax, [ebp - 0x28c8]
call fcn.0040c210
mov edx, dword [ebp - 4]
mov eax, dword [0x4be478]
add edx, 0x1d
call fcn.0040fbd8
lea edx, [ebp - 0x28c8]
push edx
lea ecx, [ebp - 0x2cc8]
push ecx
call fcn.00497c60
add esp, 8
push 0x4c9910
lea eax, [ebp - 0x2cc8]
push eax
call fcn.00497b84
add esp, 8
mov eax, dword [0x4be488]
call fcn.0040fba8
lea edx, [ebp - 0x2cc8]
mov eax, dword [0x4be488]
call fcn.0040fbd8
push 0
push 0
lea edx, [ebp - 0x2cc8]
mov eax, 0x4c9804
xor ecx, ecx
call fcn.00460ae4
test al, al
je 0x45aef5
lea edx, [ebp - 0x2cc8]
mov ebx, dword [ebp - 4]
add ebx, 0x1d
mov eax, ebx
call fcn.0040f208
test eax, eax
jne 0x45aed2
lea edx, [ebp - 0x2cc8]
push edx
push ebx
call fcn.00497c14
add esp, 8
test eax, eax
jne 0x45aef5
mov edx, 0x4c9910
mov eax, dword [ebp - 4]
call fcn.0045947c
mov eax, 0x50d
call fcn.004125b4
push eax
call fcn.00486908
pop ecx
jmp 0x45afa4
mov byte [ebp - 9], 1
mov ebx, 0x4c9910
jmp 0x45af3c
and eax, 0xff
push eax
push dword [0x4a8d60]
call fcn.00497d2d
add esp, 8
test eax, eax
je 0x45af1e
mov byte [ebp - 9], 0
jmp 0x45af42
mov esi, ebx
cmp byte [0x4b3a20], 0
je 0x45af37
mov eax, 0x4b3920
mov edx, esi
call fcn.00410bb0
jmp 0x45af3a
lea eax, [esi + 1]
mov ebx, eax
mov al, byte [ebx]
test al, al
jne 0x45af00
cmp byte [ebp - 9], 0
je 0x45afa4
lea eax, [ebp - 0x28c8]
xor edx, edx
call fcn.0040c184
test al, al
jne 0x45afa4
mov eax, 0x4c5b84
call fcn.00453100
jmp 0x45afa4
push 0x4c9910
mov ebx, dword [ebp - 4]
add ebx, 0x1d
push ebx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
je 0x45af81
mov edi, 1
jmp 0x45afa4
push 0x4c9910
push ebx
mov eax, 0x207
call fcn.004125b4
push eax
call fcn.00486908
add esp, 0xc
mov eax, 0x4b1ad4
call fcn.0042d778
push 0x4c9910
push 0
push 0x402
push dword [0x4c4e24]
call sub.USER32.DLL_PostMessageA
mov eax, edi
jmp 0x45b497
push 0x30
mov eax, 0x65
call fcn.004125b4
push eax
mov eax, 0x1f4
call fcn.004125b4
push eax
push dword [0x4c4e24]
call sub.USER32.DLL_MessageBoxA
jmp 0x45b488
mov ebx, esi
mov eax, dword [ebx + 0xc]
dec eax
je 0x45affe
sub eax, 0x10000
je 0x45b018
jmp 0x45b488
cmp byte [0x4c535c], 0
jne 0x45b00e
xor eax, eax
jmp 0x45b497
mov eax, 0x20
jmp 0x45b497
cmp dword [0x4a8d64], 0xffffffff
jne 0x45b053
mov edx, str.AltColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xff0000
call fcn.0046136c
mov dword [0x4a8d64], eax
mov edx, str.AltEncryptionColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xd9213
call fcn.0046136c
mov dword [0x4c9d10], eax
lea ecx, [ebp - 0x38f8]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c9804
call fcn.004609e4
lea eax, [ebp - 0x38f8]
mov edx, dword [eax + 0xc10]
mov dword [ebp - 0x10], edx
test byte [ebp - 0xf], 8
je 0x45b084
mov ecx, dword [0x4a8d64]
mov dword [ebx + 0x30], ecx
test byte [ebp - 0xf], 0x40
je 0x45b092
mov eax, dword [0x4c9d10]
mov dword [ebx + 0x30], eax
xor eax, eax
jmp 0x45b497
mov eax, esi
lea ebx, [eax + 0xc]
test byte [ebx], 2
je 0x45b488
lea ecx, [ebp - 0x4528]
mov edx, dword [ebx + 0x20]
mov eax, 0x4c9804
call fcn.004609e4
cmp dword [0x4a8d68], 0
jne 0x45b0e2
mov dword [0x4a8d68], 0x4401
call fcn.00463fac
test al, al
jne 0x45b0e2
or dword [0x4a8d68], 0x10
call fcn.00410420
test eax, eax
je 0x45b222
cmp word [ebp - 0x4128], 0
je 0x45b222
lea eax, [ebp - 0x4fdc]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryW
cmp dword [0x4a8d6c], 0
jne 0x45b13c
push 0x4a8f0e
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45b13c
push str.SHGetFileInfoW
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8d6c], eax
cmp dword [0x4a8d6c], 0
je 0x45b1e7
push dword [0x4a8d68]
lea edx, [ebp - 0x47dc]
push 0x2b4
push edx
lea ecx, [ebp - 0x4128]
push dword [ebp - 0x3918]
push ecx
call dword [0x4a8d6c]
test eax, eax
je 0x45b1e7
lea edx, [ebp - 0x50a4]
lea eax, [ebp - 0x45c8]
mov ecx, 0x1000000
call fcn.00410474
cmp byte [ebp - 0x50a4], 0
jne 0x45b1a5
lea ecx, [ebp - 0x50a4]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0045cef4
mov eax, dword [0x4c77c4]
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.004107b0
test eax, eax
je 0x45b2f2
lea ecx, [ebp - 0x4fdc]
push ecx
call sub.KERNEL32.DLL_SetCurrentDirectoryW
jmp 0x45b2f2
lea eax, [ebp - 0x5e2c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push dword [0x4a8d68]
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 0x45b2ba
cmp byte [ebp - 0x591c], 0
jne 0x45b278
lea ecx, [ebp - 0x591c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0045cef4
mov eax, dword [0x4c77c4]
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.00497c14
add esp, 8
test eax, eax
je 0x45b2f2
lea ecx, [ebp - 0x5e2c]
push ecx
call fcn.004995f4
pop ecx
test byte [ebx + 1], 0x10
jne 0x45b488
lea ecx, [ebp - 0x631c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0045cef4
mov eax, dword [0x4c77c4]
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.0040ab44
mov esi, eax
lea eax, [ebp - 0x6744]
mov edx, 0x400
call fcn.00463d8c
lea eax, [ebp - 0x6744]
call fcn.0040c210
push str._rar_icon_
lea edx, [ebp - 0x6744]
push edx
call fcn.00497b84
add esp, 8
mov eax, esi
call fcn.0040a888
test al, al
je 0x45b406
cmp dword [0x4a8d70], 0xffffffff
jne 0x45b3e6
push 0
lea edx, [ebp - 0x6744]
push edx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x45b3da
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 0x45b3da
mov edx, dword [ebp - 0x68a0]
mov dword [0x4a8d70], edx
lea ecx, [ebp - 0x6744]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
cmp dword [0x4a8d70], 0xffffffff
je 0x45b488
or dword [ebx], 0x1000
mov eax, dword [0x4a8d70]
mov dword [ebx + 0x1c], eax
jmp 0x45b488
cmp dword [0x4a8d74], 0xffffffff
jne 0x45b471
push 0x4a8f34
lea edx, [ebp - 0x6744]
push edx
call fcn.00499b98
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45b464
push dword [ebp - 0x18]
call fcn.0049969c
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 0x45b464
mov edx, dword [ebp - 0x6a00]
mov dword [0x4a8d74], edx
lea ecx, [ebp - 0x6744]
push ecx
call fcn.0049a824
pop ecx
cmp dword [0x4a8d74], 0xffffffff
je 0x45b488
or dword [ebx], 0x1000
mov eax, dword [0x4a8d74]
mov dword [ebx + 0x1c], eax
xor eax, eax
jmp 0x45b497
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