Function at 0x4600b4
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 0x4600bd
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 0x460dc7
mov ebx, esi
xor eax, eax
mov edx, dword [eax*4 + 0x49f78c]
cmp edx, dword [ebx + 8]
jne 0x460108
push 0
push 0
push 0x400
push dword [0x4b9820]
call sub.USER32.DLL_PostMessageA
jmp 0x46010e
inc eax
cmp eax, 7
jl 0x4600e6
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffff96
jg 0x460152
je 0x460407
cmp ecx, 0xffffff8e
jg 0x46013d
je 0x4602dd
sub ecx, 0xffffff65
je 0x46017b
sub ecx, 5
je 0x4609d9
jmp 0x460dc3
sub ecx, 0xffffff93
je 0x46034c
dec ecx
je 0x460356
jmp 0x460dc3
sub ecx, 0xffffff97
je 0x460368
sub ecx, 0x5d
je 0x460925
sub ecx, 9
je 0x46032d
sub ecx, 2
je 0x4608fd
jmp 0x460dc3
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 0x4601cb
test esi, esi
jne 0x4601c3
test edi, edi
je 0x4601cb
mov eax, dword [ebp - 4]
call fcn.004620fc
test esi, esi
jne 0x460dc3
test edi, edi
jne 0x460dc3
cmp dword [ebp - 8], 0
jne 0x460dc3
movzx edx, word [ebx + 0xc]
cmp edx, 0x70
jg 0x46020d
je 0x460251
sub edx, 9
je 0x4602b0
sub edx, 4
je 0x46021f
sub edx, 0x13
je 0x460244
sub edx, 0xd
je 0x460244
jmp 0x460dc3
sub edx, 0x71
je 0x46026d
sub edx, 2
je 0x46027a
dec edx
je 0x460289
jmp 0x460dc3
call fcn.00495aec
mov dword [0x49f788], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00460ddc
call fcn.00495aec
mov dword [0x49f788], eax
jmp 0x460dc3
mov eax, dword [ebp - 4]
call fcn.00462070
jmp 0x460dc3
push 0
push 0xb4
push 0x111
push dword [0x4b9820]
call sub.USER32.DLL_SendMessageA
jmp 0x460dc3
mov eax, dword [ebp - 4]
call fcn.00462764
jmp 0x460dc3
mov eax, 0x4b9d7c
call fcn.004789f0
jmp 0x460dc3
cmp dword [0x4bc1a8], 0
je 0x4602a1
mov eax, 0x4b9834
call fcn.0045fa58
jmp 0x460dc3
mov eax, 0x4b9834
call fcn.0045eee4
jmp 0x460dc3
cmp dword [0x4b9824], 0
je 0x460dc3
call sub.USER32.DLL_GetFocus
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jne 0x460dc3
push dword [0x4b9824]
call sub.USER32.DLL_SetFocus
jmp 0x460dc3
mov edx, 0x49f8e3
mov eax, 0x49f84b
xor ecx, ecx
call fcn.004659b8
test eax, eax
je 0x460dc3
mov eax, dword [ebp - 4]
call fcn.00462618
test eax, eax
je 0x460dc3
call fcn.00495aec
sub eax, dword [0x49f788]
cmp eax, 0x3e8
jle 0x460dc3
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00460ddc
jmp 0x460dc3
mov eax, dword [ebp - 4]
call fcn.00462618
test eax, eax
je 0x460345
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00460ddc
xor eax, eax
jmp 0x460dd2
call fcn.00456a1c
jmp 0x460dc3
mov eax, dword [esi + 0x10]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00462a18
jmp 0x460dc3
mov eax, 0x4ba564
call fcn.00458ea8
cmp dword [0x4bc1b0], 0
jne 0x46039a
cmp dword [0x4bc1a8], 0
je 0x4603a4
cmp dword [0x4ba76c], 0
jne 0x460391
test al, 0x40
jne 0x4603a4
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
jne 0x4603a4
mov eax, 1
jmp 0x460dd2
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x4603b6
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1d], 0
jmp 0x460400
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 0x49f848
push ebx
call fcn.0048d70c
add esp, 8
test eax, eax
jne 0x460400
mov eax, 1
jmp 0x460dd2
xor eax, eax
jmp 0x460dd2
mov ebx, esi
xor esi, esi
xor edi, edi
mov byte [0x4c255c], 0
mov byte [ebp - 0x440], 0
cmp dword [ebx + 0x20], 0
jne 0x46046a
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x454], 0x4c255c
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 0x4604c7
push dword [ebx + 0x20]
push 0x4c255c
call fcn.0048d758
add esp, 8
mov edx, dword [ebx + 0x2c]
cmp edx, dword [0x4c2550]
jae 0x4604c7
lea ecx, [ebp - 0x1098]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c244c
call fcn.004650b0
mov edi, dword [ebp - 0x47c]
push 0x3ff
lea eax, [ebp - 0x1098]
push eax
lea edx, [ebp - 0x440]
push edx
call fcn.0048d9a8
add esp, 0xc
lea eax, [ebp - 0x440]
call fcn.0040b578
mov byte [eax], 0
cmp byte [0x4c255c], 0
jne 0x4604d7
xor eax, eax
jmp 0x460dd2
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x460657
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 0
cmp dword [0x4bc1a8], 0
je 0x460609
lea edx, [ebp - 0x1898]
mov eax, str.Rar_MDXXXXXX
call fcn.00467cd4
test al, al
je 0x4608df
lea ecx, [ebp - 0x1898]
push ecx
lea eax, [ebp - 0x1498]
push eax
call fcn.0048d758
add esp, 8
lea eax, [ebp - 0x1498]
call fcn.0040ba60
push 0x4c255c
lea edx, [ebp - 0x1498]
push edx
call fcn.0048d67c
add esp, 8
push 0
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x4605e0
call fcn.00452a48
mov edx, 0x4b26c4
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d0fc
lea edx, [ebp - 0x1498]
mov eax, dword [0x4b32c4]
call fcn.0040efcc
mov dword [0x4b08b0], 1
mov dword [0x4b08ac], 1
mov byte [0x4b08ea], 0
mov edx, 0x4afffc
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d0d0
mov eax, dword [0x4ba76c]
mov dword [0x4b127c], eax
mov eax, 0x4ba564
xor edx, edx
call fcn.00458a8c
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
lea eax, [ebp - 0x1898]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
jmp 0x4608df
lea edx, [ebp - 0x1498]
mov eax, 0x1f7
push edx
call fcn.004116e0
push eax
call fcn.0044a170
add esp, 8
mov eax, 0x4a6984
call fcn.0042981c
jmp 0x4608df
push 0
push 0x4c255c
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x460623
mov esi, 1
jmp 0x4608df
cmp byte [0x4c255c], 0
je 0x4608df
push 0x4c255c
mov eax, 0x1f7
call fcn.004116e0
push eax
call fcn.0044a170
add esp, 8
mov eax, 0x4a6984
call fcn.0042981c
jmp 0x4608df
cmp dword [ebx + 0x20], 0
je 0x4608df
cmp dword [0x4bc1a8], 0
je 0x4608a0
lea edx, [ebp - 0x24c8]
mov eax, dword [ebp - 4]
call fcn.004637bc
test al, al
je 0x46069b
push 0x400
lea edx, [ebp - 0x24c8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x1d
push ecx
call fcn.0048d9a8
add esp, 0xc
push 0x4c255c
call fcn.0048d788
pop ecx
mov ebx, eax
test edi, 4
je 0x4606d5
cmp ebx, 4
jle 0x4606d5
push 0x49f878
mov eax, 0x4c2558
add eax, ebx
push eax
call fcn.0048d70c
add esp, 8
test eax, eax
jne 0x4606d5
mov byte [ebx + 0x4c2558], 0
test edi, 1
je 0x460702
cmp ebx, 2
jle 0x460702
push 0x49f870
mov edx, 0x4c255a
add edx, ebx
push edx
call fcn.0048d70c
add esp, 8
test eax, eax
jne 0x460702
mov byte [ebx + 0x4c255a], 0
xor eax, eax
call fcn.004529e0
call fcn.00452fa4
mov ecx, 0x4b2ac4
mov edx, 0x4b26c4
mov eax, 0x4ba564
call fcn.0045d0fc
mov edx, dword [0x4ba76c]
mov eax, 0x49f84b
mov dword [0x4b127c], edx
mov edx, str.FlatView
xor ecx, ecx
call fcn.004659b8
test eax, eax
setne al
and eax, 1
test al, al
je 0x460763
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x28c8]
push ecx
call fcn.0048d758
add esp, 8
jmp 0x460780
lea edx, [ebp - 0x28c8]
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d0d0
lea eax, [ebp - 0x28c8]
call fcn.0040ba60
mov edx, dword [ebp - 4]
mov eax, dword [0x4b32c4]
add edx, 0x1d
call fcn.0040efcc
lea edx, [ebp - 0x28c8]
push edx
lea ecx, [ebp - 0x2cc8]
push ecx
call fcn.0048d758
add esp, 8
push 0x4c255c
lea eax, [ebp - 0x2cc8]
push eax
call fcn.0048d67c
add esp, 8
lea edx, [ebp - 0x2cc8]
mov eax, dword [0x4b32c4]
call fcn.0040efcc
push 0
lea edx, [ebp - 0x2cc8]
mov eax, 0x4c244c
xor ecx, ecx
call fcn.004651b0
test al, al
je 0x460830
lea edx, [ebp - 0x2cc8]
mov ebx, dword [ebp - 4]
add ebx, 0x1d
mov eax, ebx
call fcn.0040e61c
test eax, eax
jne 0x46080d
lea edx, [ebp - 0x2cc8]
push edx
push ebx
call fcn.0048d70c
add esp, 8
test eax, eax
jne 0x460830
mov edx, 0x4c255c
mov eax, dword [ebp - 4]
call fcn.0045ee00
mov eax, 0x50d
call fcn.004116e0
push eax
call fcn.0044a170
pop ecx
jmp 0x4608df
mov byte [ebp - 9], 1
mov ebx, 0x4c255c
jmp 0x460877
and eax, 0xff
push eax
push dword [0x49f7a8]
call fcn.0048d895
add esp, 8
test eax, eax
je 0x460859
mov byte [ebp - 9], 0
jmp 0x46087d
mov edi, ebx
cmp byte [0x4a88d0], 0
je 0x460872
mov eax, 0x4a87d0
mov edx, edi
call fcn.0040fd74
jmp 0x460875
lea eax, [edi + 1]
mov ebx, eax
mov al, byte [ebx]
test al, al
jne 0x46083b
cmp byte [ebp - 9], 0
je 0x4608df
lea eax, [ebp - 0x28c8]
xor edx, edx
call fcn.0040b9d0
test al, al
jne 0x4608df
mov eax, 0x4ba564
call fcn.00458ee4
jmp 0x4608df
push 0x4c255c
mov ebx, dword [ebp - 4]
add ebx, 0x1d
push ebx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
je 0x4608bc
mov esi, 1
jmp 0x4608df
push 0x4c255c
push ebx
mov eax, 0x207
call fcn.004116e0
push eax
call fcn.0044a170
add esp, 0xc
mov eax, 0x4a6984
call fcn.0042981c
push 0x4c255c
push 0
push 0x402
push dword [0x4b9820]
call sub.USER32.DLL_PostMessageA
mov eax, esi
jmp 0x460dd2
push 0x30
mov eax, 0x65
call fcn.004116e0
push eax
mov eax, 0x1f4
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
jmp 0x460dc3
mov ebx, esi
mov eax, dword [ebx + 0xc]
dec eax
je 0x460939
sub eax, 0x10000
je 0x460953
jmp 0x460dc3
cmp byte [0x4b9d58], 0
jne 0x460949
xor eax, eax
jmp 0x460dd2
mov eax, 0x20
jmp 0x460dd2
cmp dword [0x49f7ac], 0xffffffff
jne 0x46098e
mov edx, str.AltColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xff0000
call fcn.004659b8
mov dword [0x49f7ac], eax
mov edx, str.AltEncryptionColor
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov ecx, 0xd9213
call fcn.004659b8
mov dword [0x4c295c], eax
lea ecx, [ebp - 0x38f8]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c244c
call fcn.004650b0
lea eax, [ebp - 0x38f8]
mov edx, dword [eax + 0xc10]
mov dword [ebp - 0x10], edx
test byte [ebp - 0xf], 8
je 0x4609bf
mov ecx, dword [0x49f7ac]
mov dword [ebx + 0x30], ecx
test byte [ebp - 0xf], 0x40
je 0x4609cd
mov eax, dword [0x4c295c]
mov dword [ebx + 0x30], eax
xor eax, eax
jmp 0x460dd2
mov eax, esi
lea ebx, [eax + 0xc]
test byte [ebx], 2
je 0x460dc3
lea ecx, [ebp - 0x4528]
mov edx, dword [ebx + 0x20]
mov eax, 0x4c244c
call fcn.004650b0
cmp dword [0x49f7b0], 0
jne 0x460a1d
mov dword [0x49f7b0], 0x4401
call fcn.00468288
test al, al
jne 0x460a1d
or dword [0x49f7b0], 0x10
call fcn.0040f818
test eax, eax
je 0x460b5d
cmp word [ebp - 0x4128], 0
je 0x460b5d
lea eax, [ebp - 0x4fdc]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryW
cmp dword [0x49f7b4], 0
jne 0x460a77
push 0x49f956
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x460a77
push str.SHGetFileInfoW
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x49f7b4], eax
cmp dword [0x49f7b4], 0
je 0x460b22
push dword [0x49f7b0]
lea edx, [ebp - 0x47dc]
push 0x2b4
push edx
lea ecx, [ebp - 0x4128]
push dword [ebp - 0x3918]
push ecx
call dword [0x49f7b4]
test eax, eax
je 0x460b22
lea edx, [ebp - 0x50a4]
lea eax, [ebp - 0x45c8]
mov ecx, 0x10000000
call fcn.0040f86c
cmp byte [ebp - 0x50a4], 0
jne 0x460ae0
lea ecx, [ebp - 0x50a4]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00462798
mov eax, dword [0x4bc1a8]
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.0040f970
test eax, eax
je 0x460c2d
lea ecx, [ebp - 0x4fdc]
push ecx
call sub.KERNEL32.DLL_SetCurrentDirectoryW
jmp 0x460c2d
lea eax, [ebp - 0x5e2c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push dword [0x49f7b0]
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 0x460bf5
cmp byte [ebp - 0x591c], 0
jne 0x460bb3
lea ecx, [ebp - 0x591c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00462798
mov eax, dword [0x4bc1a8]
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.0048d70c
add esp, 8
test eax, eax
je 0x460c2d
lea ecx, [ebp - 0x5e2c]
push ecx
call fcn.0048f15c
pop ecx
test byte [ebx + 1], 0x10
jne 0x460dc3
lea ecx, [ebp - 0x631c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.00462798
mov eax, dword [0x4bc1a8]
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.00468100
lea eax, [ebp - 0x6744]
call fcn.0040ba60
push str._rar_icon_
lea edx, [ebp - 0x6744]
push edx
call fcn.0048d67c
add esp, 8
mov eax, esi
call fcn.0040a240
test al, al
je 0x460d41
cmp dword [0x49f7b8], 0xffffffff
jne 0x460d21
push 0
lea edx, [ebp - 0x6744]
push edx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x460d15
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 0x460d15
mov edx, dword [ebp - 0x68a0]
mov dword [0x49f7b8], edx
lea ecx, [ebp - 0x6744]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
cmp dword [0x49f7b8], 0xffffffff
je 0x460dc3
or dword [ebx], 0x1000
mov eax, dword [0x49f7b8]
mov dword [ebx + 0x1c], eax
jmp 0x460dc3
cmp dword [0x49f7bc], 0xffffffff
jne 0x460dac
push 0x49f97c
lea edx, [ebp - 0x6744]
push edx
call fcn.0048f700
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x460d9f
push dword [ebp - 0x18]
call fcn.0048f204
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 0x460d9f
mov edx, dword [ebp - 0x6a00]
mov dword [0x49f7bc], edx
lea ecx, [ebp - 0x6744]
push ecx
call fcn.0049038c
pop ecx
cmp dword [0x49f7bc], 0xffffffff
je 0x460dc3
or dword [ebx], 0x1000
mov eax, dword [0x49f7bc]
mov dword [ebx + 0x1c], eax
xor eax, eax
jmp 0x460dd2
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