Function at 0x40be3b
Capabilities:
Check for foreground window switch
Check for software breakpoints
Check for time delay via gettickcount
Log keystrokes via polling
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x1f4
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
inc edi
cmp dword [ebp + 0x7c], 2
mov byte [ebp + 0x65], bl
jne 0x40be6d
cmp byte [0x4644cf], bl
mov dword [ebp + 0x7c], edi
jne 0x40be6d
mov byte [0x4644cf], 1
mov byte [ebp + 0x65], 1
cmp dword [0x465310], ebx
je 0x40be80
push ebx
mov ecx, 0x4652f8
call fcn.0044269c
cmp dword [ebp + 0x78], 0x8000012f
push 0xa
pop esi
jne 0x40be95
mov dword [ebp + 0x78], esi
mov byte [ebp + 0x30], 1
jmp 0x40bea2
cmp dword [ebp + 0x78], 5
setle byte [ebp + 0x30]
cmp byte [ebp + 0x30], bl
je 0x40bea7
mov dword [ebp + 0x10], ebx
jmp 0x40beb0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp + 0x10], eax
cmp dword [0x46604c], ebx
je 0x40bebd
call fcn.0040d3e2
cmp dword [0x465278], ebx
mov byte [ebp + 0x6f], bl
je 0x40bed5
call fcn.0040cfc9
test al, al
je 0x40bed5
mov byte [ebp + 0x6f], 1
cmp dword [ebp + 0x78], ebx
jle 0x40bf55
cmp dword [ebp + 0x7c], edi
jne 0x40bf55
inc dword [0x4644d0]
cmp byte [0x4644c8], bl
mov byte [ebp + 0x67], 1
jne 0x40bf0b
push ebx
push esi
push 9
push dword [0x464380]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne al
mov byte [0x4644c8], al
mov byte [ebp + 0x5f], bl
mov byte [ebp + 0x66], bl
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
cmp dword [ebp + 0x78], ebx
mov edi, eax
jle 0x40c0a6
cmp byte [ebp + 0x66], bl
jne 0x40c0a6
cmp byte [0x4644cf], bl
jne 0x40c0b2
cmp byte [0x46436c], bl
je 0x40bf5a
cmp byte [0x462069], bl
je 0x40bf5a
cmp dword [0x4644e8], ebx
jne 0x40bf5a
xor eax, eax
jmp 0x40bf5f
mov byte [ebp + 0x67], bl
jmp 0x40bf0b
mov eax, 0x311
push eax
push ebx
push ebx
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x40bf11
call esi
mov ecx, eax
sub ecx, edi
cmp ecx, 3
jbe 0x40bf81
mov dword [0x4652c8], eax
cmp dword [0x464c84], ebx
je 0x40bfad
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x3c]
push eax
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
call fcn.0040d13e
add esp, 0x18
test al, al
jne 0x40bf11
cmp dword [0x468448], ebx
je 0x40c42b
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
je 0x40c42b
cmp eax, dword [0x464380]
je 0x40c42b
cmp dword [ebp + 0x40], 0x414
je 0x40c42b
cmp dword [ebp + 0x40], 0x402
je 0x40c42b
cmp dword [ebp + 0x40], 0x100
jne 0x40c3dc
mov eax, dword [ebp + 0x44]
cmp eax, 0x22
je 0x40c017
cmp eax, 0x21
je 0x40c017
cmp eax, 9
je 0x40c017
cmp eax, 0x25
je 0x40c017
cmp eax, 0x27
jne 0x40c30e
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
cmp esi, ebx
je 0x40c30e
push esi
call fcn.0043a8f2
cmp eax, ebx
pop ecx
je 0x40c30e
push eax
call fcn.004318b5
cmp eax, ebx
pop ecx
mov dword [ebp + 0x68], eax
je 0x40c30e
cmp byte [eax + 0x54], bl
je 0x40c30e
push ebx
push esi
mov ecx, eax
call fcn.00431856
mov edi, eax
cmp edi, ebx
mov dword [ebp + 0x60], edi
je 0x40c30e
mov al, byte [edi + 4]
cmp al, 0xf
je 0x40c30e
xor esi, esi
cmp al, 0x13
mov eax, dword [ebp + 0x44]
jne 0x40c28c
cmp eax, 0x25
mov esi, edi
je 0x40c08f
cmp eax, 0x27
jne 0x40c28c
cmp eax, 0x27
sete al
push ebx
push ebx
push eax
push edi
mov ecx, dword [ebp + 0x68]
call fcn.00434ea5
jmp 0x40bf11
cmp byte [0x4644cf], bl
je 0x40c200
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x40c200
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x464dbc]
jne 0x40c200
cmp dword [0x4644f4], ebx
je 0x40c106
push 0x20
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x44]
push str.32770
push eax
call fcn.004545c0
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp + 0x3b], al
jne 0x40c140
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
je 0x40c200
push 0x20
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x44]
push str.SysTreeView32
push eax
call fcn.00441439
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp + 0x3b], al
je 0x40c200
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebx
push 0x1ff
push ebx
push ebx
lea eax, [ebp + 0x3c]
push eax
call esi
test eax, eax
jne 0x40c189
cmp byte [0x46436c], bl
je 0x40c170
cmp byte [0x462069], bl
je 0x40c170
cmp dword [0x4644e8], ebx
je 0x40c175
mov eax, 0x311
push 1
push eax
push 0x20e
push ebx
lea eax, [ebp + 0x3c]
push eax
call esi
jmp 0x40c230
cmp byte [0x46436c], bl
mov esi, dword [ebp + 0x4c]
je 0x40c1a8
cmp byte [0x462069], bl
je 0x40c1a8
cmp dword [0x4644e8], ebx
jne 0x40c1a8
xor eax, eax
jmp 0x40c1ad
mov eax, 0x311
push ebx
push eax
push 0x20e
push ebx
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40c1cc
mov eax, dword [ebp + 0x4c]
sub eax, esi
test eax, eax
jle 0x40c1d5
push 1
push 0x1ff
jmp 0x40c224
cmp byte [0x46436c], bl
je 0x40c1f1
cmp byte [0x462069], bl
je 0x40c1f1
cmp dword [0x4644e8], ebx
jne 0x40c1f1
xor eax, eax
jmp 0x40c1f6
mov eax, 0x311
push 1
push eax
push 0x20e
jmp 0x40c225
cmp byte [0x46436c], bl
je 0x40c21c
cmp byte [0x462069], bl
je 0x40c21c
cmp dword [0x4644e8], ebx
jne 0x40c21c
xor eax, eax
jmp 0x40c221
mov eax, 0x311
push 1
push eax
push ebx
lea eax, [ebp + 0x3c]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp eax, ebx
jne 0x40bf81
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, eax
sub ecx, edi
cmp ecx, 3
jbe 0x40c24c
mov dword [0x4652c8], eax
cmp dword [ebp + 0x78], ebx
jne 0x40c266
cmp byte [ebp + 0x5f], bl
jne 0x40c266
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov byte [ebp + 0x5f], 1
jmp 0x40bf11
push dword [ebp + 0x30]
push dword [ebp + 0x10]
push dword [ebp + 0x78]
call fcn.0040bdfa
add esp, 0xc
test eax, eax
jne 0x40c4cb
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40bf11
cmp eax, 0x25
je 0x40c30e
cmp eax, 0x27
je 0x40c30e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x40c30e
cmp dword [ebp + 0x44], 9
jne 0x40c2bc
cmp byte [edi + 4], 0xc
jne 0x40c2bc
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x40c30e
cmp esi, ebx
jne 0x40c2e3
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov al, byte [edi + 6]
push eax
call fcn.00431eab
mov esi, eax
cmp esi, ebx
jne 0x40c2e3
mov ecx, dword [ebp + 0x68]
push ebx
call fcn.00431eab
mov esi, eax
cmp esi, ebx
je 0x40c30e
cmp dword [ebp + 0x44], 0x22
je 0x40c2ff
cmp dword [ebp + 0x44], 9
jne 0x40c2fb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x40c2ff
xor al, al
jmp 0x40c303
xor eax, eax
mov al, 1
push 1
push 1
push eax
push esi
jmp 0x40c099
cmp dword [ebp + 0x44], 0x1b
je 0x40c334
cmp dword [ebp + 0x44], 9
je 0x40c334
cmp dword [ebp + 0x44], 0x41
jne 0x40c3b8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x40c3b8
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
cmp esi, ebx
je 0x40c3b8
push esi
call fcn.0043a8f2
cmp eax, ebx
pop ecx
je 0x40c3b8
push eax
call fcn.004318b5
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp + 0x68], edi
je 0x40c3b8
push ebx
push esi
mov ecx, edi
call fcn.00431856
cmp eax, ebx
mov dword [ebp + 0x60], eax
je 0x40c3b8
cmp byte [eax + 4], 0xc
jne 0x40c3b8
cmp dword [ebp + 0x44], 0x1b
je 0x40c3ac
cmp dword [ebp + 0x44], 0x41
je 0x40c391
test byte [eax + 5], 0x80
je 0x40c3b8
push 0x4575e4
push 1
push 0xc2
jmp 0x40c39f
test byte [eax + 5], 2
jne 0x40c3b8
push 0xffffffffffffffff
push ebx
push 0xb1
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40bf11
mov ecx, edi
call fcn.00431648
jmp 0x40bf11
mov eax, dword [0x46844c]
cmp eax, ebx
je 0x40c3dc
cmp dword [ebp + 0x44], 0xd
jne 0x40c3cb
push ebx
push ebx
jmp 0x40c3d4
cmp dword [ebp + 0x44], 0x1b
jne 0x40c3dc
push ebx
push 1
push 0x1116
push eax
jmp 0x40c3a1
xor edi, edi
mov esi, 0x464aa0
mov eax, dword [esi]
cmp eax, ebx
je 0x40c420
cmp dword [eax], ebx
je 0x40c417
mov ecx, dword [ebp + 0x40]
mov dword [0x464364], ecx
lea ecx, [ebp + 0x3c]
push ecx
mov byte [0x464368], 1
push dword [eax]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x40c97d
mov byte [0x464368], bl
inc edi
cmp dword [0x468448], edi
je 0x40c42b
add esi, 4
cmp esi, 0x464c2c
jl 0x40c3e3
mov ecx, dword [ebp + 0x40]
mov eax, 0x312
cmp ecx, eax
ja 0x40c588
je 0x40c5cb
mov eax, ecx
sub eax, 0x12
je 0x40c575
sub eax, 0x39
je 0x40c566
sub eax, 0xb5
je 0x40c53b
sub eax, 0x13
jne 0x40c8ff
cmp dword [ebp + 0x48], ebx
jne 0x40c8ff
cmp dword [0x46604c], ebx
je 0x40c47f
call fcn.0040d3e2
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp dword [0x465278], ebx
mov dword [0x4652cc], eax
je 0x40c49f
call fcn.0040cfc9
test al, al
je 0x40c49f
mov byte [ebp + 0x6f], 1
cmp dword [ebp + 0x7c], ebx
je 0x40bf11
cmp dword [ebp + 0x78], 1
jl 0x40bf11
push dword [ebp + 0x30]
push dword [ebp + 0x10]
push dword [ebp + 0x78]
call fcn.0040bdfa
add esp, 0xc
test eax, eax
je 0x40bf11
cmp byte [ebp + 0x65], bl
je 0x40c4d6
mov byte [0x4644cf], bl
cmp byte [ebp + 0x67], bl
je 0x40c4e1
dec dword [0x4644d0]
cmp byte [0x4644c8], bl
je 0x40cf9b
cmp dword [ebp + 0x78], ebx
jle 0x40cfbe
cmp dword [0x4644d0], ebx
jne 0x40cfbe
cmp dword [0x465278], ebx
jne 0x40cfbe
cmp dword [0x46604c], ebx
jne 0x40cfbe
push 9
push dword [0x464380]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x40cfbe
mov byte [0x4644c8], bl
jmp 0x40cfbe
mov eax, dword [ebp + 0x3c]
cmp eax, dword [0x464384]
jne 0x40c8ff
cmp dword [ebp + 0x44], 0x1b
jne 0x40c8ff
push ebx
push dword [0x464380]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40bf11
mov dword [0x4644b8], ebx
mov byte [ebp + 0x66], 1
jmp 0x40bf11
push ebx
push ebx
push 6
mov ecx, 0x464e00
call fcn.00415eb0
jmp 0x40bf11
cmp ecx, 0x400
jb 0x40c8ff
cmp ecx, 0x401
jbe 0x40c5b8
cmp ecx, 0x402
je 0x40c5cb
cmp ecx, 0x414
je 0x40c5cb
cmp ecx, 0x415
jne 0x40c8ff
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
je 0x40c5cb
cmp eax, dword [0x464380]
jne 0x40c8ff
mov eax, ecx
xor edi, edi
sub eax, 0x401
je 0x40c7b5
dec eax
je 0x40c790
sub eax, 0x12
je 0x40c63c
dec eax
je 0x40c632
mov eax, dword [0x4631d0]
movzx eax, word [eax]
cmp dword [ebp + 0x44], eax
jae 0x40bf11
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax*4 + 0x465548]
lea eax, [ebp + 0x2c]
push eax
mov dword [ebp + 0xc], ecx
call fcn.0040fdfc
cmp eax, ebx
mov dword [ebp + 0x28], eax
je 0x40bf11
mov ecx, eax
mov al, byte [ecx + 0x18]
cmp al, 1
je 0x40c62b
cmp al, 3
je 0x40c62b
mov dword [ebp + 0x2c], ebx
mov eax, dword [ecx]
jmp 0x40c825
mov eax, dword [0x465260]
jmp 0x40c825
push dword [ebp + 0x3c]
call fcn.004318b5
pop ecx
mov ecx, eax
cmp ecx, ebx
mov dword [ebp + 0x68], ecx
je 0x40c8ff
mov eax, dword [ecx + 8]
mov edx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x48]
mov dword [ebp], eax
movzx eax, dx
shr edx, 0x10
cmp eax, 8
mov dword [ebp + 0x58], esi
mov dword [ebp + 0x14], eax
mov dword [ebp + 8], edx
jne 0x40c680
mov dword [ebp + 0x58], edx
mov edx, 0x2af8
mov dword [ebp + 4], esi
mov dword [ebp + 8], edx
cmp edx, dword [ecx + 0xc]
jae 0x40c693
mov esi, dword [ecx + 0x14]
lea edx, [edx + edx*4]
lea edx, [esi + edx*4]
mov dword [ebp + 0x60], edx
jmp 0x40c696
mov dword [ebp + 0x60], ebx
sub eax, 5
mov dword [ebp + 0x18], ebx
mov byte [ebp + 0x5e], bl
je 0x40c747
dec eax
je 0x40c731
dec eax
je 0x40c718
dec eax
je 0x40c702
dec eax
je 0x40c6f2
cmp dword [ebp + 0x60], ebx
je 0x40bf11
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
mov dword [ebp + 0x34], ecx
jne 0x40c6e2
test byte [eax + 5], 1
je 0x40bf11
mov ecx, dword [ebp + 0x68]
call fcn.0042e4b6
jmp 0x40bf11
test byte [eax + 5], 4
jne 0x40bf11
mov byte [ebp + 0x5e], 1
jmp 0x40c76e
mov ecx, dword [ecx + 0x2c]
cmp ecx, ebx
mov dword [ebp + 0x34], ecx
je 0x40bf11
jmp 0x40c76e
mov ecx, dword [ecx + 0x24]
cmp ecx, ebx
mov dword [ebp + 0x34], ecx
je 0x40bf11
mov eax, dword [ebp + 0x68]
add eax, 0x32
jmp 0x40c72c
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
mov dword [ebp + 0x34], ecx
je 0x40bf11
mov eax, dword [ebp + 0x68]
add eax, 0x31
mov dword [ebp + 0x18], eax
jmp 0x40c76e
mov ecx, dword [ecx + 0x1c]
cmp ecx, ebx
mov dword [ebp + 0x34], ecx
je 0x40bf11
mov eax, dword [ebp + 0x68]
add eax, 0x30
jmp 0x40c72c
mov edi, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x28]
cmp ecx, ebx
mov dword [ebp + 0x34], ecx
je 0x40c776
cmp edi, ebx
je 0x40bf11
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp eax, ebx
mov dword [ebp + 0x58], eax
je 0x40c776
mov eax, dword [ebp + 0x34]
jmp 0x40c825
cmp edi, ebx
je 0x40bf11
push edi
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [ebp + 0x68]
mov dword [eax + 0x6c], ebx
jmp 0x40bf11
push dword [ebp + 0x48]
mov ecx, 0x464e00
call fcn.00435d08
cmp eax, ebx
mov dword [ebp + 0x20], eax
je 0x40bf11
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x40bf11
jmp 0x40c825
mov eax, dword [ebp + 0x44]
cmp eax, dword [0x466054]
jae 0x40bf11
mov eax, dword [0x466050]
mov ecx, dword [ebp + 0x44]
mov esi, dword [eax + ecx*4]
xor eax, eax
mov al, byte [esi + 0x20]
cmp al, bl
mov dword [ebp + 0x24], esi
je 0x40c800
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
call fcn.0040e1db
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x2c], eax
je 0x40bf11
mov al, byte [esi + 0x20]
cmp al, 1
je 0x40c803
cmp al, 3
je 0x40c803
mov dword [ebp + 0x2c], ebx
push dword [ebp + 0x48]
mov ecx, esi
call fcn.0040de39
mov eax, dword [esi + 8]
cmp byte [eax], bl
jne 0x40bf11
mov al, byte [ebp + 0x48]
mov byte [0x465290], al
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [0x4644d4]
cmp ecx, dword [0x462078]
mov al, byte [eax]
mov byte [ebp + 0x1c], al
jl 0x40c868
cmp ecx, 0x14
jg 0x40c776
cmp al, 0xd5
je 0x40c868
cmp al, 0xc1
je 0x40c868
cmp al, 0xcf
je 0x40c868
cmp al, 0xd0
je 0x40c868
cmp al, 0xcb
je 0x40c868
cmp al, 0xcc
je 0x40c868
cmp al, 0xcd
je 0x40c868
cmp al, 0xce
jne 0x40c776
mov eax, dword [ebp + 0x40]
sub eax, 0x401
je 0x40c98d
dec eax
je 0x40c8c4
sub eax, 0x12
je 0x40c8b9
dec eax
je 0x40c8a6
push dword [ebp + 0x28]
mov ecx, dword [ebp + 0xc]
call fcn.0040fd17
test al, al
jne 0x40c89e
push dword [ebp + 0x28]
call fcn.0040fd54
pop ecx
jmp 0x40bf11
mov eax, dword [ebp + 0x28]
jmp 0x40c990
cmp byte [0x46525c], bl
jne 0x40bf11
xor esi, esi
jmp 0x40c993
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x40c8b2
cmp byte [eax], bl
jmp 0x40c8ac
mov eax, dword [ebp + 0x20]
mov esi, dword [eax + 0x18]
mov eax, dword [ebp + 0x44]
cmp eax, 0x63
jae 0x40c988
mov eax, dword [eax*4 + 0x464aa0]
cmp eax, ebx
mov dword [ebp + 0x68], eax
jne 0x40c993
cmp dword [ebp + 0x3c], ebx
je 0x40c993
mov eax, dword [0x464380]
cmp dword [ebp + 0x3c], eax
je 0x40c993
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x40cf51
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x464dbc]
jne 0x40cf51
push 0x20
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x44]
push str.32770
push eax
call fcn.004545c0
test eax, eax
pop ecx
pop ecx
jne 0x40cf51
mov eax, dword [ebp + 0x40]
mov dword [0x464364], eax
lea eax, [ebp + 0x3c]
push eax
push esi
mov byte [0x464368], 1
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x40cf4b
cmp dword [0x4644f4], ebx
je 0x40c97d
push 0x464ca0
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
mov byte [0x464368], bl
jmp 0x40bf11
mov dword [ebp + 0x68], ebx
jmp 0x40c993
mov eax, dword [ebp + 0x24]
mov esi, dword [eax + 0x14]
cmp esi, dword [0x464264]
jl 0x40c776
cmp dword [0x465278], ebx
mov byte [ebp + 0x6f], 1
jne 0x40c9d3
cmp dword [0x46604c], ebx
jne 0x40c9d3
cmp byte [0x4644c8], bl
je 0x40c9d3
push 9
push dword [0x464380]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x40c9d3
mov byte [0x4644c8], bl
mov eax, dword [ebp + 0x40]
cmp eax, 0x402
je 0x40ca2b
cmp eax, 0x413
jbe 0x40c9eb
cmp eax, 0x415
jbe 0x40ca56
cmp eax, 0x401
mov ecx, dword [0x465250]
mov dword [0x465254], ecx
mov ecx, dword [0x465288]
mov dword [0x46528c], ecx
jne 0x40ca13
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x40ca19
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [0x465250], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x465288], eax
jmp 0x40ca56
mov eax, dword [ebp + 0x20]
mov edi, 0x105
push edi
push dword [eax]
push 0x465044
call fcn.0043880f
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 0x14]
push edi
push dword [eax]
push 0x465149
call fcn.0043880f
add esp, 0x18
xor edi, edi
inc edi
cmp dword [ebp + 0x7c], edi
jne 0x40ca7c
mov ecx, dword [0x464c98]
push 0x80
call fcn.00401c8a
push eax
push 0x4642cc
call fcn.0043880f
add esp, 0xc
push 0x140
lea eax, [ebp - 0x184]
push 0x464238
push eax
call fcn.00454280
push dword [ebp + 0x1c]
push edi
push ebx
push esi
call fcn.0040bd3e
add esp, 0x1c
push ebx
mov ecx, 0x464e00
call fcn.00415d7f
cmp dword [0x4644f4], ebx
je 0x40cabe
push 0x464ca0
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x4652cc], eax
mov dword [0x4652c8], eax
mov eax, dword [ebp + 0x40]
sub eax, 0x401
je 0x40ceac
dec eax
je 0x40ce77
sub eax, 0x12
je 0x40cb86
dec eax
je 0x40cb1a
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx + 0x12]
cmp al, 0x9e
je 0x40cafd
cmp al, 0x9f
jne 0x40cb05
mov eax, dword [ebp + 0x48]
mov dword [0x464270], eax
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x28]
mov dword [0x464350], eax
call fcn.0040fef1
jmp 0x40cebc
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x40cb4d
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push edi
call esi
test eax, eax
jne 0x40cb45
push 0xf
call esi
test eax, eax
jne 0x40cb45
mov dword [0x464270], 2
jmp 0x40cb53
mov dword [0x464270], edi
jmp 0x40cb53
mov dword [0x464270], ebx
push dword [0x464270]
mov ecx, dword [0x464c98]
call fcn.00401891
mov eax, dword [0x465260]
push ebx
push ebx
mov byte [0x46525c], 1
mov ecx, dword [eax + 4]
push edi
call fcn.00405839
mov byte [0x46525c], bl
jmp 0x40cebc
mov ecx, dword [ebp + 0x14]
push 5
pop edi
cmp ecx, edi
mov byte [ebp - 0x10], bl
je 0x40cd66
jbe 0x40ccdd
cmp ecx, 8
jbe 0x40cc71
cmp ecx, 9
jne 0x40ccdd
mov ecx, dword [ebp + 0x50]
mov esi, dword [ebp + 0x60]
xor eax, eax
cmp dword [ebp + 0x58], ebx
mov dword [0x464274], ecx
mov ecx, dword [ebp + 0x54]
sete al
cmp esi, ebx
mov dword [ebp + 0x58], ebx
mov dword [0x464278], ecx
lea eax, [eax + eax + 1]
mov dword [0x46426c], eax
je 0x40cc5b
cmp eax, 1
jne 0x40cbef
mov ecx, dword [ebp + 0x68]
push 0x464274
push esi
call fcn.0042ee60
movzx eax, byte [esi + 4]
sub eax, 9
je 0x40cc48
dec eax
je 0x40cc3d
dec eax
jne 0x40cc5b
cmp dword [0x46426c], 1
jne 0x40cc11
push ebx
push 9
push 0x110a
jmp 0x40cc33
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x1111
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40cc58
push 1
push 0xffffffffffffffff
push 0x100c
jmp 0x40cc4f
push ebx
push ebx
push 0x19f
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x68]
push dword [eax]
push 0x464274
call fcn.004385ae
pop ecx
pop ecx
jmp 0x40cdbc
cmp ecx, 8
mov esi, dword [ebp + 0x60]
mov dword [0x46426c], 1
jne 0x40cdb4
mov eax, dword [ebp + 4]
mov dword [0x464274], eax
push dword [ebp + 0x58]
mov ecx, dword [0x464c98]
call fcn.00401891
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
mov edi, dword [ebp + 8]
mov dword [0x464350], ecx
mov ecx, dword [eax + 8]
mov dword [0x46427c], ecx
mov eax, dword [eax + 8]
mov dword [0x464284], eax
mov eax, dword [ebp + 0x58]
mov dword [0x464270], eax
mov eax, dword [ebp + 0x18]
cmp eax, ebx
mov dword [0x464280], edi
je 0x40cdd5
mov byte [eax], 1
jmp 0x40cdde
mov esi, dword [ebp + 0x60]
mov al, byte [esi + 4]
cmp al, 0xa
je 0x40cd11
cmp al, 0x14
jne 0x40cd5e
mov eax, dword [ebp + 0x50]
mov dword [0x464274], eax
mov eax, dword [ebp + 0x54]
mov dword [0x464278], eax
mov eax, dword [ebp + 0x68]
push dword [eax]
push 0x464274
call fcn.004385ae
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
jmp 0x40cd5e
cmp cl, 0x49
jne 0x40cd5e
test ch, 1
lea eax, [ebp - 0x10]
je 0x40cd24
mov byte [ebp - 0x10], 0x53
jmp 0x40cd2d
test ch, 2
je 0x40cd30
mov byte [ebp - 0x10], 0x73
lea eax, [ebp - 0xf]
test ch, 4
je 0x40cd3a
mov byte [eax], 0x46
jmp 0x40cd42
test ch, 8
je 0x40cd43
mov byte [eax], 0x66
inc eax
test ch, 0x10
je 0x40cd4d
mov byte [eax], 0x43
jmp 0x40cd55
test ch, 0x20
je 0x40cd56
mov byte [eax], 0x63
inc eax
push 0x49
pop ecx
mov byte [eax], bl
mov dword [ebp + 0x14], ecx
mov dword [0x46426c], ecx
jmp 0x40cdab
mov eax, dword [ebp + 0x50]
mov esi, dword [ebp + 0x68]
mov dword [0x464274], eax
mov eax, dword [ebp + 0x54]
mov dword [0x46426c], edi
mov dword [0x464278], eax
push dword [esi]
push 0x464274
call fcn.004385ae
pop ecx
pop ecx
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x14]
cmp ecx, 8
je 0x40cc8f
cmp ecx, edi
je 0x40cc8f
mov ecx, dword [0x464c98]
push 1
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.0040152b
jmp 0x40cc9d
cmp byte [ebp + 0x5e], bl
je 0x40cdde
or byte [esi + 5], 4
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + 4]
push ebx
push ebx
push 1
call fcn.00405839
mov eax, dword [ebp]
mov esi, dword [eax*4 + 0x464aa0]
cmp esi, ebx
mov dword [ebp + 0x68], esi
je 0x40cebc
cmp edi, dword [esi + 0xc]
jae 0x40ce12
mov ecx, dword [esi + 0x14]
lea eax, [edi + edi*4]
lea ecx, [ecx + eax*4]
jmp 0x40ce14
xor ecx, ecx
mov eax, dword [ebp + 0x14]
sub eax, 5
mov dword [ebp + 0x60], ecx
je 0x40ce4c
dec eax
je 0x40ce47
dec eax
je 0x40ce42
dec eax
je 0x40ce3d
dec eax
je 0x40cebc
cmp ecx, ebx
je 0x40cebc
and byte [ecx + 5], 0xfb
jmp 0x40cebc
mov byte [esi + 0x32], bl
jmp 0x40cebc
mov byte [esi + 0x31], bl
jmp 0x40cebc
mov byte [esi + 0x30], bl
jmp 0x40cebc
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x40ce5d
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov dword [esi + 0x6c], ebx
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x10
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x40cebc
mov eax, dword [ebp + 0x68]
cmp eax, ebx
je 0x40ce99
mov ecx, dword [eax]
mov dword [0x464350], ecx
mov dword [0x46426c], edi
mov eax, dword [eax + 8]
mov dword [0x464284], eax
mov dword [0x46427c], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
push ebx
push ebx
push edi
call fcn.00405839
jmp 0x40cebc
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x24]
mov dword [0x464350], eax
call fcn.0040e0f4
lea eax, [ebp - 0x184]
push 1
push eax
call fcn.0040bc5b
cmp dword [ebp + 0x7c], ebx
pop ecx
pop ecx
jne 0x40cef4
mov byte [0x46436c], 1
mov byte [0x46436e], bl
mov byte [0x46436d], 1
mov dword [0x464264], 0x80000000
jmp 0x40bf11
push dword [ebp + 0x30]
push dword [ebp + 0x10]
push dword [ebp + 0x78]
call fcn.0040bdfa
add esp, 0xc
test eax, eax
je 0x40cf16
mov byte [ebp + 0x66], 1
mov byte [ebp + 0x30], 1
jmp 0x40bf11
cmp byte [ebp + 0x67], bl
je 0x40bf11
cmp byte [0x4644c8], bl
jne 0x40bf11
push ebx
push 0xa
push 9
push dword [0x464380]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne al
mov byte [0x4644c8], al
jmp 0x40bf11
mov byte [0x464368], bl
mov eax, dword [0x464390]
cmp eax, ebx
je 0x40cf73
lea ecx, [ebp + 0x3c]
push ecx
push eax
push dword [0x464380]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x40bf11
mov eax, dword [ebp + 0x40]
mov dword [0x464364], eax
lea eax, [ebp + 0x3c]
push eax
mov byte [0x464368], 1
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40c97d
cmp dword [0x4644d0], ebx
je 0x40cfbe
push ebx
push 0xa
push 9
push dword [0x464380]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne al
mov byte [0x4644c8], al
mov al, byte [ebp + 0x6f]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret