Function at 0x40bd90
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, 0x1e0
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
inc edi
cmp dword [ebp + 0x7c], 2
mov byte [ebp + 0x68], bl
jne 0x40bdc2
cmp byte [0x4634af], bl
mov dword [ebp + 0x7c], edi
jne 0x40bdc2
mov byte [0x4634af], 1
mov byte [ebp + 0x68], 1
cmp byte [0x4642f0], bl
je 0x40bdd5
push ebx
mov ecx, 0x4642d8
call fcn.00442aac
cmp dword [ebp + 0x78], 0x8000012f
push 0xa
pop esi
jne 0x40bdea
mov dword [ebp + 0x78], esi
mov byte [ebp + 0x34], 1
jmp 0x40bdf7
cmp dword [ebp + 0x78], 5
setle byte [ebp + 0x34]
cmp byte [ebp + 0x34], bl
je 0x40bdfc
mov dword [ebp + 0x14], ebx
jmp 0x40be05
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp + 0x14], eax
cmp dword [0x46502c], ebx
je 0x40be12
call fcn.0040d2cc
cmp dword [0x464258], ebx
mov byte [ebp + 0x6b], bl
je 0x40be2a
call fcn.0040ceb3
test al, al
je 0x40be2a
mov byte [ebp + 0x6b], 1
cmp dword [ebp + 0x78], ebx
jle 0x40beaa
cmp dword [ebp + 0x7c], edi
jne 0x40beaa
inc dword [0x4634b0]
cmp byte [0x4634a8], bl
mov byte [ebp + 0x6a], 1
jne 0x40be60
push ebx
push esi
push 9
push dword [0x463360]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne al
mov byte [0x4634a8], al
mov byte [ebp + 0x63], bl
mov byte [ebp + 0x69], bl
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
cmp dword [ebp + 0x78], ebx
mov edi, eax
jle 0x40bffb
cmp byte [ebp + 0x69], bl
jne 0x40bffb
cmp byte [0x4634af], bl
jne 0x40c007
cmp byte [0x46334c], bl
je 0x40beaf
cmp byte [0x461069], bl
je 0x40beaf
cmp dword [0x4634c8], ebx
jne 0x40beaf
xor eax, eax
jmp 0x40beb4
mov byte [ebp + 0x6a], bl
jmp 0x40be60
mov eax, 0x311
push eax
push ebx
push ebx
lea eax, [ebp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x40be66
call esi
mov ecx, eax
sub ecx, edi
cmp ecx, 3
jbe 0x40bed6
mov dword [0x4642a8], eax
cmp dword [0x463c64], ebx
je 0x40bf02
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
call fcn.0040d028
add esp, 0x18
test al, al
jne 0x40be66
cmp dword [0x467428], ebx
je 0x40c380
mov eax, dword [ebp + 0x40]
cmp eax, ebx
je 0x40c380
cmp eax, dword [0x463360]
je 0x40c380
cmp dword [ebp + 0x44], 0x414
je 0x40c380
cmp dword [ebp + 0x44], 0x402
je 0x40c380
cmp dword [ebp + 0x44], 0x100
jne 0x40c331
mov eax, dword [ebp + 0x48]
cmp eax, 0x22
je 0x40bf6c
cmp eax, 0x21
je 0x40bf6c
cmp eax, 9
je 0x40bf6c
cmp eax, 0x25
je 0x40bf6c
cmp eax, 0x27
jne 0x40c263
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
cmp esi, ebx
je 0x40c263
push esi
call fcn.0043ad0d
cmp eax, ebx
pop ecx
je 0x40c263
push eax
call fcn.00431def
cmp eax, ebx
pop ecx
mov dword [ebp + 0x6c], eax
je 0x40c263
cmp byte [eax + 0x54], bl
je 0x40c263
push ebx
push esi
mov ecx, eax
call fcn.00431d90
mov edi, eax
cmp edi, ebx
mov dword [ebp + 0x64], edi
je 0x40c263
mov al, byte [edi + 4]
cmp al, 0xf
je 0x40c263
xor esi, esi
cmp al, 0x13
mov eax, dword [ebp + 0x48]
jne 0x40c1e1
cmp eax, 0x25
mov esi, edi
je 0x40bfe4
cmp eax, 0x27
jne 0x40c1e1
cmp eax, 0x27
sete al
push ebx
push ebx
push eax
push edi
mov ecx, dword [ebp + 0x6c]
call fcn.00435316
jmp 0x40be66
cmp byte [0x4634af], bl
je 0x40c155
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x40c155
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x463d9c]
jne 0x40c155
cmp dword [0x4634d4], ebx
je 0x40c05b
push 0x20
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x30]
push str.32770
push eax
call fcn.00453840
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp + 0x3f], al
jne 0x40c095
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
je 0x40c155
push 0x20
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x30]
push str.SysTreeView32
push eax
call fcn.00441849
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp + 0x3f], al
je 0x40c155
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebx
push 0x1ff
push ebx
push ebx
lea eax, [ebp + 0x40]
push eax
call esi
test eax, eax
jne 0x40c0de
cmp byte [0x46334c], bl
je 0x40c0c5
cmp byte [0x461069], bl
je 0x40c0c5
cmp dword [0x4634c8], ebx
je 0x40c0ca
mov eax, 0x311
push 1
push eax
push 0x20e
push ebx
lea eax, [ebp + 0x40]
push eax
call esi
jmp 0x40c185
cmp byte [0x46334c], bl
mov esi, dword [ebp + 0x50]
je 0x40c0fd
cmp byte [0x461069], bl
je 0x40c0fd
cmp dword [0x4634c8], ebx
jne 0x40c0fd
xor eax, eax
jmp 0x40c102
mov eax, 0x311
push ebx
push eax
push 0x20e
push ebx
lea eax, [ebp + 0x40]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40c121
mov eax, dword [ebp + 0x50]
sub eax, esi
test eax, eax
jle 0x40c12a
push 1
push 0x1ff
jmp 0x40c179
cmp byte [0x46334c], bl
je 0x40c146
cmp byte [0x461069], bl
je 0x40c146
cmp dword [0x4634c8], ebx
jne 0x40c146
xor eax, eax
jmp 0x40c14b
mov eax, 0x311
push 1
push eax
push 0x20e
jmp 0x40c17a
cmp byte [0x46334c], bl
je 0x40c171
cmp byte [0x461069], bl
je 0x40c171
cmp dword [0x4634c8], ebx
jne 0x40c171
xor eax, eax
jmp 0x40c176
mov eax, 0x311
push 1
push eax
push ebx
lea eax, [ebp + 0x40]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp eax, ebx
jne 0x40bed6
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, eax
sub ecx, edi
cmp ecx, 3
jbe 0x40c1a1
mov dword [0x4642a8], eax
cmp dword [ebp + 0x78], ebx
jne 0x40c1bb
cmp byte [ebp + 0x63], bl
jne 0x40c1bb
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov byte [ebp + 0x63], 1
jmp 0x40be66
push dword [ebp + 0x34]
push dword [ebp + 0x14]
push dword [ebp + 0x78]
call fcn.0040bd4f
add esp, 0xc
test eax, eax
jne 0x40c420
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40be66
cmp eax, 0x25
je 0x40c263
cmp eax, 0x27
je 0x40c263
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x40c263
cmp dword [ebp + 0x48], 9
jne 0x40c211
cmp byte [edi + 4], 0xc
jne 0x40c211
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x40c263
cmp esi, ebx
jne 0x40c238
mov ecx, dword [ebp + 0x6c]
xor eax, eax
mov al, byte [edi + 6]
push eax
call fcn.004323e5
mov esi, eax
cmp esi, ebx
jne 0x40c238
mov ecx, dword [ebp + 0x6c]
push ebx
call fcn.004323e5
mov esi, eax
cmp esi, ebx
je 0x40c263
cmp dword [ebp + 0x48], 0x22
je 0x40c254
cmp dword [ebp + 0x48], 9
jne 0x40c250
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x40c254
xor al, al
jmp 0x40c258
xor eax, eax
mov al, 1
push 1
push 1
push eax
push esi
jmp 0x40bfee
cmp dword [ebp + 0x48], 0x1b
je 0x40c289
cmp dword [ebp + 0x48], 9
je 0x40c289
cmp dword [ebp + 0x48], 0x41
jne 0x40c30d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x40c30d
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
cmp esi, ebx
je 0x40c30d
push esi
call fcn.0043ad0d
cmp eax, ebx
pop ecx
je 0x40c30d
push eax
call fcn.00431def
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp + 0x6c], edi
je 0x40c30d
push ebx
push esi
mov ecx, edi
call fcn.00431d90
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x40c30d
cmp byte [eax + 4], 0xc
jne 0x40c30d
cmp dword [ebp + 0x48], 0x1b
je 0x40c301
cmp dword [ebp + 0x48], 0x41
je 0x40c2e6
test byte [eax + 5], 0x80
je 0x40c30d
push 0x4565e4
push 1
push 0xc2
jmp 0x40c2f4
test byte [eax + 5], 2
jne 0x40c30d
push 0xffffffffffffffff
push ebx
push 0xb1
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40be66
mov ecx, edi
call fcn.00431b82
jmp 0x40be66
mov eax, dword [0x46742c]
cmp eax, ebx
je 0x40c331
cmp dword [ebp + 0x48], 0xd
jne 0x40c320
push ebx
push ebx
jmp 0x40c329
cmp dword [ebp + 0x48], 0x1b
jne 0x40c331
push ebx
push 1
push 0x1116
push eax
jmp 0x40c2f6
xor edi, edi
mov esi, 0x463a80
mov eax, dword [esi]
cmp eax, ebx
je 0x40c375
cmp dword [eax], ebx
je 0x40c36c
mov ecx, dword [ebp + 0x44]
mov dword [0x463344], ecx
lea ecx, [ebp + 0x40]
push ecx
mov byte [0x463348], 1
push dword [eax]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x40c8d2
mov byte [0x463348], bl
inc edi
cmp dword [0x467428], edi
je 0x40c380
add esi, 4
cmp esi, 0x463c0c
jl 0x40c338
mov ecx, dword [ebp + 0x44]
mov eax, 0x312
cmp ecx, eax
ja 0x40c4dd
je 0x40c520
mov eax, ecx
sub eax, 0x12
je 0x40c4ca
sub eax, 0x39
je 0x40c4bb
sub eax, 0xb5
je 0x40c490
sub eax, 0x13
jne 0x40c854
cmp dword [ebp + 0x4c], ebx
jne 0x40c854
cmp dword [0x46502c], ebx
je 0x40c3d4
call fcn.0040d2cc
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp dword [0x464258], ebx
mov dword [0x4642ac], eax
je 0x40c3f4
call fcn.0040ceb3
test al, al
je 0x40c3f4
mov byte [ebp + 0x6b], 1
cmp dword [ebp + 0x7c], ebx
je 0x40be66
cmp dword [ebp + 0x78], 1
jl 0x40be66
push dword [ebp + 0x34]
push dword [ebp + 0x14]
push dword [ebp + 0x78]
call fcn.0040bd4f
add esp, 0xc
test eax, eax
je 0x40be66
cmp byte [ebp + 0x68], bl
je 0x40c42b
mov byte [0x4634af], bl
cmp byte [ebp + 0x6a], bl
je 0x40c436
dec dword [0x4634b0]
cmp byte [0x4634a8], bl
je 0x40ce85
cmp dword [ebp + 0x78], ebx
jle 0x40cea8
cmp dword [0x4634b0], ebx
jne 0x40cea8
cmp dword [0x464258], ebx
jne 0x40cea8
cmp dword [0x46502c], ebx
jne 0x40cea8
push 9
push dword [0x463360]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x40cea8
mov byte [0x4634a8], bl
jmp 0x40cea8
mov eax, dword [ebp + 0x40]
cmp eax, dword [0x463364]
jne 0x40c854
cmp dword [ebp + 0x48], 0x1b
jne 0x40c854
push ebx
push dword [0x463360]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40be66
mov dword [0x463498], ebx
mov byte [ebp + 0x69], 1
jmp 0x40be66
push ebx
push ebx
push 6
mov ecx, 0x463de0
call fcn.00415d8b
jmp 0x40be66
cmp ecx, 0x400
jb 0x40c854
cmp ecx, 0x401
jbe 0x40c50d
cmp ecx, 0x402
je 0x40c520
cmp ecx, 0x414
je 0x40c520
cmp ecx, 0x415
jne 0x40c854
mov eax, dword [ebp + 0x40]
cmp eax, ebx
je 0x40c520
cmp eax, dword [0x463360]
jne 0x40c854
mov eax, ecx
xor edi, edi
sub eax, 0x401
je 0x40c70a
dec eax
je 0x40c6e5
sub eax, 0x12
je 0x40c591
dec eax
je 0x40c587
mov eax, dword [0x4621d0]
movzx eax, word [eax]
cmp dword [ebp + 0x48], eax
jae 0x40be66
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax*4 + 0x464528]
lea eax, [ebp + 0x30]
push eax
mov dword [ebp + 0xc], ecx
call fcn.0040fcd7
cmp eax, ebx
mov dword [ebp + 0x2c], eax
je 0x40be66
mov ecx, eax
mov al, byte [ecx + 0x18]
cmp al, 1
je 0x40c580
cmp al, 3
je 0x40c580
mov dword [ebp + 0x30], ebx
mov eax, dword [ecx]
jmp 0x40c77a
mov eax, dword [0x464240]
jmp 0x40c77a
push dword [ebp + 0x40]
call fcn.00431def
pop ecx
mov ecx, eax
cmp ecx, ebx
mov dword [ebp + 0x6c], ecx
je 0x40c854
mov eax, dword [ecx + 8]
mov edx, dword [ebp + 0x48]
mov esi, dword [ebp + 0x4c]
mov dword [ebp + 8], eax
movzx eax, dx
shr edx, 0x10
cmp eax, 8
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x10], edx
jne 0x40c5d5
mov dword [ebp + 0x5c], edx
mov edx, 0x2af8
mov dword [ebp + 4], esi
mov dword [ebp + 0x10], edx
cmp edx, dword [ecx + 0xc]
jae 0x40c5e8
mov esi, dword [ecx + 0x14]
lea edx, [edx + edx*4]
lea edx, [esi + edx*4]
mov dword [ebp + 0x64], edx
jmp 0x40c5eb
mov dword [ebp + 0x64], ebx
sub eax, 5
mov dword [ebp + 0x20], ebx
mov byte [ebp + 0x62], bl
je 0x40c69c
dec eax
je 0x40c686
dec eax
je 0x40c66d
dec eax
je 0x40c657
dec eax
je 0x40c647
cmp dword [ebp + 0x64], ebx
je 0x40be66
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
mov dword [ebp + 0x38], ecx
jne 0x40c637
test byte [eax + 5], 1
je 0x40be66
mov ecx, dword [ebp + 0x6c]
call fcn.0042e9f0
jmp 0x40be66
test byte [eax + 5], 4
jne 0x40be66
mov byte [ebp + 0x62], 1
jmp 0x40c6c3
mov ecx, dword [ecx + 0x2c]
cmp ecx, ebx
mov dword [ebp + 0x38], ecx
je 0x40be66
jmp 0x40c6c3
mov ecx, dword [ecx + 0x24]
cmp ecx, ebx
mov dword [ebp + 0x38], ecx
je 0x40be66
mov eax, dword [ebp + 0x6c]
add eax, 0x32
jmp 0x40c681
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
mov dword [ebp + 0x38], ecx
je 0x40be66
mov eax, dword [ebp + 0x6c]
add eax, 0x31
mov dword [ebp + 0x20], eax
jmp 0x40c6c3
mov ecx, dword [ecx + 0x1c]
cmp ecx, ebx
mov dword [ebp + 0x38], ecx
je 0x40be66
mov eax, dword [ebp + 0x6c]
add eax, 0x30
jmp 0x40c681
mov edi, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x28]
cmp ecx, ebx
mov dword [ebp + 0x38], ecx
je 0x40c6cb
cmp edi, ebx
je 0x40be66
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp eax, ebx
mov dword [ebp + 0x5c], eax
je 0x40c6cb
mov eax, dword [ebp + 0x38]
jmp 0x40c77a
cmp edi, ebx
je 0x40be66
push edi
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [ebp + 0x6c]
mov dword [eax + 0x6c], ebx
jmp 0x40be66
push dword [ebp + 0x4c]
mov ecx, 0x463de0
call fcn.00436179
cmp eax, ebx
mov dword [ebp + 0x1c], eax
je 0x40be66
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x40be66
jmp 0x40c77a
mov eax, dword [ebp + 0x48]
cmp eax, dword [0x465034]
jae 0x40be66
mov eax, dword [0x465030]
mov ecx, dword [ebp + 0x48]
mov esi, dword [eax + ecx*4]
xor eax, eax
mov al, byte [esi + 0x20]
cmp al, bl
mov dword [ebp + 0x28], esi
je 0x40c755
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
call fcn.0040e0b6
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x30], eax
je 0x40be66
mov al, byte [esi + 0x20]
cmp al, 1
je 0x40c758
cmp al, 3
je 0x40c758
mov dword [ebp + 0x30], ebx
push dword [ebp + 0x4c]
mov ecx, esi
call fcn.0040dd14
mov eax, dword [esi + 8]
cmp byte [eax], bl
jne 0x40be66
mov al, byte [ebp + 0x4c]
mov byte [0x464270], al
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [0x4634b4]
cmp ecx, dword [0x461078]
mov al, byte [eax]
mov byte [ebp + 0x24], al
jl 0x40c7bd
cmp ecx, 0x14
jg 0x40c6cb
cmp al, 0xd5
je 0x40c7bd
cmp al, 0xc1
je 0x40c7bd
cmp al, 0xcf
je 0x40c7bd
cmp al, 0xd0
je 0x40c7bd
cmp al, 0xcb
je 0x40c7bd
cmp al, 0xcc
je 0x40c7bd
cmp al, 0xcd
je 0x40c7bd
cmp al, 0xce
jne 0x40c6cb
mov eax, dword [ebp + 0x44]
sub eax, 0x401
je 0x40c8e2
dec eax
je 0x40c819
sub eax, 0x12
je 0x40c80e
dec eax
je 0x40c7fb
push dword [ebp + 0x2c]
mov ecx, dword [ebp + 0xc]
call fcn.0040fbf2
test al, al
jne 0x40c7f3
push dword [ebp + 0x2c]
call fcn.0040fc2f
pop ecx
jmp 0x40be66
mov eax, dword [ebp + 0x2c]
jmp 0x40c8e5
cmp byte [0x46423c], bl
jne 0x40be66
xor esi, esi
jmp 0x40c8e8
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x40c807
cmp byte [eax], bl
jmp 0x40c801
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax + 0x18]
mov eax, dword [ebp + 0x48]
cmp eax, 0x63
jae 0x40c8dd
mov eax, dword [eax*4 + 0x463a80]
cmp eax, ebx
mov dword [ebp + 0x6c], eax
jne 0x40c8e8
cmp dword [ebp + 0x40], ebx
je 0x40c8e8
mov eax, dword [0x463360]
cmp dword [ebp + 0x40], eax
je 0x40c8e8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x40ce3b
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x463d9c]
jne 0x40ce3b
push 0x20
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x30]
push str.32770
push eax
call fcn.00453840
test eax, eax
pop ecx
pop ecx
jne 0x40ce3b
mov eax, dword [ebp + 0x44]
mov dword [0x463344], eax
lea eax, [ebp + 0x40]
push eax
push esi
mov byte [0x463348], 1
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x40ce35
cmp dword [0x4634d4], ebx
je 0x40c8d2
push 0x463c80
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
mov byte [0x463348], bl
jmp 0x40be66
mov dword [ebp + 0x6c], ebx
jmp 0x40c8e8
mov eax, dword [ebp + 0x28]
mov esi, dword [eax + 0x14]
cmp esi, dword [0x463244]
jl 0x40c6cb
cmp dword [0x464258], ebx
mov byte [ebp + 0x6b], 1
jne 0x40c928
cmp dword [0x46502c], ebx
jne 0x40c928
cmp byte [0x4634a8], bl
je 0x40c928
push 9
push dword [0x463360]
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x40c928
mov byte [0x4634a8], bl
mov eax, dword [ebp + 0x44]
cmp eax, 0x402
je 0x40c980
cmp eax, 0x413
jbe 0x40c940
cmp eax, 0x415
jbe 0x40c9ab
cmp eax, 0x401
mov ecx, dword [0x464230]
mov dword [0x464234], ecx
mov ecx, dword [0x464268]
mov dword [0x46426c], ecx
jne 0x40c968
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x40c96e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [0x464230], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x464268], eax
jmp 0x40c9ab
mov eax, dword [ebp + 0x1c]
mov edi, 0x105
push edi
push dword [eax]
push 0x464024
call fcn.00438c34
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x14]
push edi
push dword [eax]
push 0x464129
call fcn.00438c34
add esp, 0x18
xor edi, edi
inc edi
cmp dword [ebp + 0x7c], edi
jne 0x40c9d1
mov ecx, dword [0x463c78]
push 0x80
call fcn.00401c84
push eax
push 0x4632ac
call fcn.00438c34
add esp, 0xc
push 0x140
lea eax, [ebp - 0x170]
push 0x463218
push eax
call fcn.00453500
push dword [ebp + 0x24]
push edi
push ebx
push esi
call fcn.0040bc93
add esp, 0x1c
push ebx
mov ecx, 0x463de0
call fcn.00415c5a
cmp dword [0x4634d4], ebx
je 0x40ca13
push 0x463c80
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x4642ac], eax
mov dword [0x4642a8], eax
mov eax, dword [ebp + 0x44]
sub eax, 0x401
je 0x40cd96
dec eax
je 0x40cd61
sub eax, 0x12
je 0x40cadb
dec eax
je 0x40ca6f
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx + 0x12]
cmp al, 0x9e
je 0x40ca52
cmp al, 0x9f
jne 0x40ca5a
mov eax, dword [ebp + 0x4c]
mov dword [0x463250], eax
mov eax, dword [ebp + 0x30]
push dword [ebp + 0x2c]
mov dword [0x463330], eax
call fcn.0040fdcc
jmp 0x40cda6
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x40caa2
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push edi
call esi
test eax, eax
jne 0x40ca9a
push 0xf
call esi
test eax, eax
jne 0x40ca9a
mov dword [0x463250], 2
jmp 0x40caa8
mov dword [0x463250], edi
jmp 0x40caa8
mov dword [0x463250], ebx
push dword [0x463250]
mov ecx, dword [0x463c78]
call fcn.0040188b
mov eax, dword [0x464240]
push ebx
push ebx
mov byte [0x46423c], 1
mov ecx, dword [eax + 4]
push edi
call fcn.004057b1
mov byte [0x46423c], bl
jmp 0x40cda6
mov eax, dword [ebp + 0x18]
cmp eax, 5
mov dword [0x46324c], eax
je 0x40cc56
jbe 0x40cc2a
cmp eax, 8
jbe 0x40cbc5
cmp eax, 9
jne 0x40cc2a
mov ecx, dword [ebp + 0x54]
mov edi, dword [ebp + 0x64]
mov esi, dword [ebp + 0x6c]
xor eax, eax
cmp dword [ebp + 0x5c], ebx
mov dword [0x463254], ecx
mov ecx, dword [ebp + 0x58]
sete al
cmp edi, ebx
mov dword [ebp + 0x5c], ebx
mov dword [0x463258], ecx
lea eax, [eax + eax + 1]
mov dword [0x46324c], eax
je 0x40cbb2
cmp eax, 1
jne 0x40cb46
push 0x463254
push edi
mov ecx, esi
call fcn.0042f39a
movzx eax, byte [edi + 4]
sub eax, 9
je 0x40cb9f
dec eax
je 0x40cb94
dec eax
jne 0x40cbb2
cmp dword [0x46324c], 1
jne 0x40cb68
push ebx
push 9
push 0x110a
jmp 0x40cb8a
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x1111
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40cbaf
push 1
push 0xffffffffffffffff
push 0x100c
jmp 0x40cba6
push ebx
push ebx
push 0x19f
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [ebp + 0x5c], eax
push dword [esi]
push 0x463254
call fcn.004389d3
pop ecx
pop ecx
jmp 0x40cca6
cmp eax, 8
mov esi, dword [ebp + 0x6c]
mov dword [0x46324c], edi
mov edi, dword [ebp + 0x64]
jne 0x40cc9c
mov eax, dword [ebp + 4]
mov dword [0x463254], eax
push dword [ebp + 0x5c]
mov ecx, dword [0x463c78]
call fcn.0040188b
mov eax, dword [esi]
mov dword [0x463330], eax
mov eax, dword [esi + 8]
mov dword [0x46325c], eax
mov eax, dword [esi + 8]
mov dword [0x463264], eax
mov eax, dword [ebp + 0x10]
mov dword [0x463260], eax
mov eax, dword [ebp + 0x5c]
mov dword [0x463250], eax
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x40ccbc
mov byte [eax], 1
jmp 0x40ccc5
mov edi, dword [ebp + 0x64]
cmp byte [edi + 4], 0x14
mov esi, dword [ebp + 0x6c]
jne 0x40cc92
mov eax, dword [ebp + 0x54]
mov dword [0x463254], eax
mov eax, dword [ebp + 0x58]
mov dword [0x463258], eax
push dword [esi]
push 0x463254
call fcn.004389d3
pop ecx
pop ecx
jmp 0x40cc92
mov eax, dword [ebp + 0x54]
mov esi, dword [ebp + 0x6c]
mov dword [0x463254], eax
mov eax, dword [ebp + 0x58]
mov dword [0x463258], eax
push dword [esi]
push 0x463254
call fcn.004389d3
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 edi, dword [ebp + 0x64]
cmp dword [ebp + 0x18], 8
je 0x40cbe2
cmp dword [ebp + 0x18], 5
je 0x40cbe2
mov ecx, dword [0x463c78]
push 1
push ebx
push 0xffffffffffffffff
push ebx
call fcn.00401525
jmp 0x40cbf0
cmp byte [ebp + 0x62], bl
je 0x40ccc5
or byte [edi + 5], 4
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + 4]
push ebx
push ebx
push 1
call fcn.004057b1
mov eax, dword [ebp + 8]
mov esi, dword [eax*4 + 0x463a80]
cmp esi, ebx
mov dword [ebp + 0x6c], esi
je 0x40cda6
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0xc]
jae 0x40ccfc
mov ecx, dword [esi + 0x14]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
jmp 0x40ccfe
xor ecx, ecx
mov eax, dword [ebp + 0x18]
sub eax, 5
mov dword [ebp + 0x64], ecx
je 0x40cd36
dec eax
je 0x40cd31
dec eax
je 0x40cd2c
dec eax
je 0x40cd27
dec eax
je 0x40cda6
cmp ecx, ebx
je 0x40cda6
and byte [ecx + 5], 0xfb
jmp 0x40cda6
mov byte [esi + 0x32], bl
jmp 0x40cda6
mov byte [esi + 0x31], bl
jmp 0x40cda6
mov byte [esi + 0x30], bl
jmp 0x40cda6
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x40cd47
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 0x40cda6
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
je 0x40cd83
mov ecx, dword [eax]
mov dword [0x463330], ecx
mov dword [0x46324c], edi
mov eax, dword [eax + 8]
mov dword [0x463264], eax
mov dword [0x46325c], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
push ebx
push ebx
push edi
call fcn.004057b1
jmp 0x40cda6
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x28]
mov dword [0x463330], eax
call fcn.0040dfcf
lea eax, [ebp - 0x170]
push 1
push eax
call fcn.0040bbb0
cmp dword [ebp + 0x7c], ebx
pop ecx
pop ecx
jne 0x40cdde
mov byte [0x46334c], 1
mov byte [0x46334e], bl
mov byte [0x46334d], 1
mov dword [0x463244], 0x80000000
jmp 0x40be66
push dword [ebp + 0x34]
push dword [ebp + 0x14]
push dword [ebp + 0x78]
call fcn.0040bd4f
add esp, 0xc
test eax, eax
je 0x40ce00
mov byte [ebp + 0x69], 1
mov byte [ebp + 0x34], 1
jmp 0x40be66
cmp byte [ebp + 0x6a], bl
je 0x40be66
cmp byte [0x4634a8], bl
jne 0x40be66
push ebx
push 0xa
push 9
push dword [0x463360]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne al
mov byte [0x4634a8], al
jmp 0x40be66
mov byte [0x463348], bl
mov eax, dword [0x463370]
cmp eax, ebx
je 0x40ce5d
lea ecx, [ebp + 0x40]
push ecx
push eax
push dword [0x463360]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x40be66
mov eax, dword [ebp + 0x44]
mov dword [0x463344], eax
lea eax, [ebp + 0x40]
push eax
mov byte [0x463348], 1
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40c8d2
cmp dword [0x4634b0], ebx
je 0x40cea8
push ebx
push 0xa
push 9
push dword [0x463360]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne al
mov byte [0x4634a8], al
mov al, byte [ebp + 0x6b]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret