Function at 0x45a7b0
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 0x45a7b9
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 0x45b4bc
mov ebx, esi
xor eax, eax
mov edx, dword [eax*4 + 0x4a8d84]
cmp edx, dword [ebx + 8]
jne 0x45a804
push 0
push 0
push 0x400
push dword [0x4c4e64]
call sub.USER32.DLL_PostMessageA
jmp 0x45a80a
inc eax
cmp eax, 7
jl 0x45a7e2
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffff96
jg 0x45a84e
je 0x45aafa
cmp ecx, 0xffffff8e
jg 0x45a839
je 0x45a9d9
sub ecx, 0xffffff65
je 0x45a877
sub ecx, 5
je 0x45b0ce
jmp 0x45b4b8
sub ecx, 0xffffff93
je 0x45aa48
dec ecx
je 0x45aa52
jmp 0x45b4b8
sub ecx, 0xffffff97
je 0x45aa64
sub ecx, 0x5d
je 0x45b01a
sub ecx, 9
je 0x45aa29
sub ecx, 2
je 0x45aff2
jmp 0x45b4b8
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 0x45a8c7
test esi, esi
jne 0x45a8bf
test edi, edi
je 0x45a8c7
mov eax, dword [ebp - 4]
call fcn.0045c894
test esi, esi
jne 0x45b4b8
test edi, edi
jne 0x45b4b8
cmp dword [ebp - 8], 0
jne 0x45b4b8
movzx edx, word [ebx + 0xc]
cmp edx, 0x70
jg 0x45a909
je 0x45a94d
sub edx, 9
je 0x45a9ac
sub edx, 4
je 0x45a91b
sub edx, 0x13
je 0x45a940
sub edx, 0xd
je 0x45a940
jmp 0x45b4b8
sub edx, 0x71
je 0x45a969
sub edx, 2
je 0x45a976
dec edx
je 0x45a985
jmp 0x45b4b8
call fcn.004a0080
mov dword [0x4a8d80], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045b4d0
call fcn.004a0080
mov dword [0x4a8d80], eax
jmp 0x45b4b8
mov eax, dword [ebp - 4]
call fcn.0045c808
jmp 0x45b4b8
push 0
push 0xb4
push 0x111
push dword [0x4c4e64]
call sub.USER32.DLL_SendMessageA
jmp 0x45b4b8
mov eax, dword [ebp - 4]
call fcn.0045cef0
jmp 0x45b4b8
mov eax, 0x4c53d8
call fcn.00475c90
jmp 0x45b4b8
cmp dword [0x4c7804], 0
je 0x45a99d
mov eax, 0x4c4e78
call fcn.0045a154
jmp 0x45b4b8
mov eax, 0x4c4e78
call fcn.00459590
jmp 0x45b4b8
cmp dword [0x4c4e68], 0
je 0x45b4b8
call sub.USER32.DLL_GetFocus
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jne 0x45b4b8
push dword [0x4c4e68]
call sub.USER32.DLL_SetFocus
jmp 0x45b4b8
mov edx, 0x4a8edb
mov eax, 0x4a8e43
xor ecx, ecx
call fcn.0046139c
test eax, eax
je 0x45b4b8
mov eax, dword [ebp - 4]
call fcn.0045cda4
test eax, eax
je 0x45b4b8
call fcn.004a0080
sub eax, dword [0x4a8d80]
cmp eax, 0x3e8
jle 0x45b4b8
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045b4d0
jmp 0x45b4b8
mov eax, dword [ebp - 4]
call fcn.0045cda4
test eax, eax
je 0x45aa41
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0045b4d0
xor eax, eax
jmp 0x45b4c7
call fcn.004501f4
jmp 0x45b4b8
mov eax, dword [esi + 0x10]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0045d194
jmp 0x45b4b8
mov eax, 0x4c5bc4
call fcn.00453108
cmp dword [0x4c780c], 0
jne 0x45aa8d
cmp dword [0x4c7804], 0
je 0x45aa97
test al, 0x40
jne 0x45aa97
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
jne 0x45aa97
mov eax, 1
jmp 0x45b4c7
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x45aaa9
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1d], 0
jmp 0x45aaf3
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 0x4a8e40
push ebx
call fcn.00497c34
add esp, 8
test eax, eax
jne 0x45aaf3
mov eax, 1
jmp 0x45b4c7
xor eax, eax
jmp 0x45b4c7
mov ebx, esi
xor edi, edi
xor esi, esi
mov byte [0x4c9950], 0
mov byte [ebp - 0x440], 0
cmp dword [ebx + 0x20], 0
jne 0x45ab5d
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x454], 0x4c9950
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 0x45abb5
push dword [ebx + 0x20]
push 0x4c9950
call fcn.00497c80
add esp, 8
mov edx, dword [ebx + 0x2c]
cmp edx, dword [0x4c9948]
jae 0x45abb5
lea ecx, [ebp - 0x1098]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c9844
call fcn.00460a14
mov esi, dword [ebp - 0x47c]
lea edx, [ebp - 0x1098]
lea eax, [ebp - 0x440]
mov ecx, 0x400
call fcn.0040f43c
lea eax, [ebp - 0x440]
call fcn.0040bd28
mov byte [eax], 0
cmp byte [0x4c9950], 0
jne 0x45abc5
xor eax, eax
jmp 0x45b4c7
mov edx, dword [ebp - 4]
cmp byte [edx + 0x1c], 0
je 0x45ad45
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 0
cmp dword [0x4c7804], 0
je 0x45acf7
lea edx, [ebp - 0x1898]
mov eax, 0x4a8ee7
call fcn.00463a04
test al, al
je 0x45afd4
lea ecx, [ebp - 0x1898]
push ecx
lea eax, [ebp - 0x1498]
push eax
call fcn.00497c80
add esp, 8
lea eax, [ebp - 0x1498]
call fcn.0040c22c
push 0x4c9950
lea edx, [ebp - 0x1498]
push edx
call fcn.00497ba4
add esp, 8
push 0
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x45acce
call fcn.00449b78
mov edx, 0x4bd8b8
mov eax, 0x4c5bc4
xor ecx, ecx
call fcn.00457598
lea edx, [ebp - 0x1498]
mov eax, dword [0x4be4b8]
call fcn.0040fbf4
mov dword [0x4bba84], 1
mov dword [0x4bba80], 1
mov byte [0x4bbabe], 0
mov edx, 0x4bb1d0
mov eax, 0x4c5bc4
xor ecx, ecx
call fcn.0045756c
mov eax, dword [0x4c5dcc]
mov dword [0x4bc468], eax
mov eax, 0x4c5bc4
xor edx, edx
call fcn.00452c98
lea ecx, [ebp - 0x1498]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
lea eax, [ebp - 0x1898]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
jmp 0x45afd4
lea edx, [ebp - 0x1498]
mov eax, 0x1f7
push edx
call fcn.004125d0
push eax
call fcn.00486954
add esp, 8
mov eax, 0x4b1b14
call fcn.0042d7a8
jmp 0x45afd4
push 0
push 0x4c9950
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x45ad11
mov edi, 1
jmp 0x45afd4
cmp byte [0x4c9950], 0
je 0x45afd4
push 0x4c9950
mov eax, 0x1f7
call fcn.004125d0
push eax
call fcn.00486954
add esp, 8
mov eax, 0x4b1b14
call fcn.0042d7a8
jmp 0x45afd4
cmp dword [ebx + 0x20], 0
je 0x45afd4
cmp dword [0x4c7804], 0
je 0x45af95
lea edx, [ebp - 0x24c8]
mov eax, dword [ebp - 4]
call fcn.0045df28
test al, al
je 0x45ad84
lea edx, [ebp - 0x24c8]
mov eax, dword [ebp - 4]
add eax, 0x1d
mov ecx, 0x400
call fcn.0040f43c
push 0x4c9950
call fcn.00497cb0
pop ecx
mov ebx, eax
test esi, 4
je 0x45adbe
cmp ebx, 4
jle 0x45adbe
push 0x4a8e70
mov eax, 0x4c994c
add eax, ebx
push eax
call fcn.00497c34
add esp, 8
test eax, eax
jne 0x45adbe
mov byte [ebx + 0x4c994c], 0
test esi, 1
je 0x45adeb
cmp ebx, 2
jle 0x45adeb
push 0x4a8e68
mov edx, 0x4c994e
add edx, ebx
push edx
call fcn.00497c34
add esp, 8
test eax, eax
jne 0x45adeb
mov byte [ebx + 0x4c994e], 0
xor eax, eax
call fcn.00449b0c
call fcn.0044a0dc
mov ecx, 0x4bdcb8
mov edx, 0x4bd8b8
mov eax, 0x4c5bc4
call fcn.00457598
mov edx, dword [0x4c5dcc]
mov eax, 0x4a8e43
mov dword [0x4bc468], edx
mov edx, 0x4a8e5f
xor ecx, ecx
call fcn.0046139c
test eax, eax
setne al
and eax, 1
test al, al
je 0x45ae4c
lea edx, [ebp - 0x440]
push edx
lea ecx, [ebp - 0x28c8]
push ecx
call fcn.00497c80
add esp, 8
jmp 0x45ae69
lea edx, [ebp - 0x28c8]
mov eax, 0x4c5bc4
xor ecx, ecx
call fcn.0045756c
lea eax, [ebp - 0x28c8]
call fcn.0040c22c
mov edx, dword [ebp - 4]
mov eax, dword [0x4be4b8]
add edx, 0x1d
call fcn.0040fbf4
lea edx, [ebp - 0x28c8]
push edx
lea ecx, [ebp - 0x2cc8]
push ecx
call fcn.00497c80
add esp, 8
push 0x4c9950
lea eax, [ebp - 0x2cc8]
push eax
call fcn.00497ba4
add esp, 8
mov eax, dword [0x4be4c8]
call fcn.0040fbc4
lea edx, [ebp - 0x2cc8]
mov eax, dword [0x4be4c8]
call fcn.0040fbf4
push 0
push 0
lea edx, [ebp - 0x2cc8]
mov eax, 0x4c9844
xor ecx, ecx
call fcn.00460b14
test al, al
je 0x45af25
lea edx, [ebp - 0x2cc8]
mov ebx, dword [ebp - 4]
add ebx, 0x1d
mov eax, ebx
call fcn.0040f224
test eax, eax
jne 0x45af02
lea edx, [ebp - 0x2cc8]
push edx
push ebx
call fcn.00497c34
add esp, 8
test eax, eax
jne 0x45af25
mov edx, 0x4c9950
mov eax, dword [ebp - 4]
call fcn.004594ac
mov eax, 0x50d
call fcn.004125d0
push eax
call fcn.00486954
pop ecx
jmp 0x45afd4
mov byte [ebp - 9], 1
mov ebx, 0x4c9950
jmp 0x45af6c
and eax, 0xff
push eax
push dword [0x4a8da0]
call fcn.00497d4d
add esp, 8
test eax, eax
je 0x45af4e
mov byte [ebp - 9], 0
jmp 0x45af72
mov esi, ebx
cmp byte [0x4b3a60], 0
je 0x45af67
mov eax, 0x4b3960
mov edx, esi
call fcn.00410bcc
jmp 0x45af6a
lea eax, [esi + 1]
mov ebx, eax
mov al, byte [ebx]
test al, al
jne 0x45af30
cmp byte [ebp - 9], 0
je 0x45afd4
lea eax, [ebp - 0x28c8]
xor edx, edx
call fcn.0040c1a0
test al, al
jne 0x45afd4
mov eax, 0x4c5bc4
call fcn.00453130
jmp 0x45afd4
push 0x4c9950
mov ebx, dword [ebp - 4]
add ebx, 0x1d
push ebx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
je 0x45afb1
mov edi, 1
jmp 0x45afd4
push 0x4c9950
push ebx
mov eax, 0x207
call fcn.004125d0
push eax
call fcn.00486954
add esp, 0xc
mov eax, 0x4b1b14
call fcn.0042d7a8
push 0x4c9950
push 0
push 0x402
push dword [0x4c4e64]
call sub.USER32.DLL_PostMessageA
mov eax, edi
jmp 0x45b4c7
push 0x30
mov eax, 0x65
call fcn.004125d0
push eax
mov eax, 0x1f4
call fcn.004125d0
push eax
push dword [0x4c4e64]
call sub.USER32.DLL_MessageBoxA
jmp 0x45b4b8
mov ebx, esi
mov eax, dword [ebx + 0xc]
dec eax
je 0x45b02e
sub eax, 0x10000
je 0x45b048
jmp 0x45b4b8
cmp byte [0x4c539c], 0
jne 0x45b03e
xor eax, eax
jmp 0x45b4c7
mov eax, 0x20
jmp 0x45b4c7
cmp dword [0x4a8da4], 0xffffffff
jne 0x45b083
mov edx, 0x4a8f32
mov eax, 0x4a8efe
mov ecx, 0xff0000
call fcn.0046139c
mov dword [0x4a8da4], eax
mov edx, 0x4a8f3b
mov eax, 0x4a8efe
mov ecx, 0xd9213
call fcn.0046139c
mov dword [0x4c9d50], eax
lea ecx, [ebp - 0x38f8]
mov edx, dword [ebx + 0x2c]
mov eax, 0x4c9844
call fcn.00460a14
lea eax, [ebp - 0x38f8]
mov edx, dword [eax + 0xc10]
mov dword [ebp - 0x10], edx
test byte [ebp - 0xf], 8
je 0x45b0b4
mov ecx, dword [0x4a8da4]
mov dword [ebx + 0x30], ecx
test byte [ebp - 0xf], 0x40
je 0x45b0c2
mov eax, dword [0x4c9d50]
mov dword [ebx + 0x30], eax
xor eax, eax
jmp 0x45b4c7
mov eax, esi
lea ebx, [eax + 0xc]
test byte [ebx], 2
je 0x45b4b8
lea ecx, [ebp - 0x4528]
mov edx, dword [ebx + 0x20]
mov eax, 0x4c9844
call fcn.00460a14
cmp dword [0x4a8da8], 0
jne 0x45b112
mov dword [0x4a8da8], 0x4401
call fcn.00463fdc
test al, al
jne 0x45b112
or dword [0x4a8da8], 0x10
call fcn.0041043c
test eax, eax
je 0x45b252
cmp word [ebp - 0x4128], 0
je 0x45b252
lea eax, [ebp - 0x4fdc]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryW
cmp dword [0x4a8dac], 0
jne 0x45b16c
push 0x4a8f4e
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45b16c
push 0x4a8f5a
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8dac], eax
cmp dword [0x4a8dac], 0
je 0x45b217
push dword [0x4a8da8]
lea edx, [ebp - 0x47dc]
push 0x2b4
push edx
lea ecx, [ebp - 0x4128]
push dword [ebp - 0x3918]
push ecx
call dword [0x4a8dac]
test eax, eax
je 0x45b217
lea edx, [ebp - 0x50a4]
lea eax, [ebp - 0x45c8]
mov ecx, 0x1000000
call fcn.00410490
cmp byte [ebp - 0x50a4], 0
jne 0x45b1d5
lea ecx, [ebp - 0x50a4]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0045cf24
mov eax, dword [0x4c7804]
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.004107cc
test eax, eax
je 0x45b322
lea ecx, [ebp - 0x4fdc]
push ecx
call sub.KERNEL32.DLL_SetCurrentDirectoryW
jmp 0x45b322
lea eax, [ebp - 0x5e2c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push dword [0x4a8da8]
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 0x45b2ea
cmp byte [ebp - 0x591c], 0
jne 0x45b2a8
lea ecx, [ebp - 0x591c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0045cf24
mov eax, dword [0x4c7804]
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.00497c34
add esp, 8
test eax, eax
je 0x45b322
lea ecx, [ebp - 0x5e2c]
push ecx
call fcn.00499610
pop ecx
test byte [ebx + 1], 0x10
jne 0x45b4b8
lea ecx, [ebp - 0x631c]
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 4]
call fcn.0045cf24
mov eax, dword [0x4c7804]
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.0040ab60
mov esi, eax
lea eax, [ebp - 0x6744]
mov edx, 0x400
call fcn.00463dbc
lea eax, [ebp - 0x6744]
call fcn.0040c22c
push 0x4a8f69
lea edx, [ebp - 0x6744]
push edx
call fcn.00497ba4
add esp, 8
mov eax, esi
call fcn.0040a8a4
test al, al
je 0x45b436
cmp dword [0x4a8db0], 0xffffffff
jne 0x45b416
push 0
lea edx, [ebp - 0x6744]
push edx
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x45b40a
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 0x45b40a
mov edx, dword [ebp - 0x68a0]
mov dword [0x4a8db0], edx
lea ecx, [ebp - 0x6744]
push ecx
call sub.KERNEL32.DLL_RemoveDirectoryA
cmp dword [0x4a8db0], 0xffffffff
je 0x45b4b8
or dword [ebx], 0x1000
mov eax, dword [0x4a8db0]
mov dword [ebx + 0x1c], eax
jmp 0x45b4b8
cmp dword [0x4a8db4], 0xffffffff
jne 0x45b4a1
push 0x4a8f74
lea edx, [ebp - 0x6744]
push edx
call fcn.00499bb0
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45b494
push dword [ebp - 0x18]
call fcn.004996b8
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 0x45b494
mov edx, dword [ebp - 0x6a00]
mov dword [0x4a8db4], edx
lea ecx, [ebp - 0x6744]
push ecx
call fcn.0049a83c
pop ecx
cmp dword [0x4a8db4], 0xffffffff
je 0x45b4b8
or dword [ebx], 0x1000
mov eax, dword [0x4a8db4]
mov dword [ebx + 0x1c], eax
xor eax, eax
jmp 0x45b4c7
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