Function at 0x4027d0
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Hide graphical window
Log keystrokes via polling
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x497efb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12a8
call fcn.00492d90
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x74], ebp
mov esi, ecx
mov dword [esp + 0x10], esi
mov byte [esp + 0x29], 0
cmp ebp, 2
jne 0x40282e
cmp byte [0x4aee8f], 0
mov ebp, 1
mov dword [esp + 0x74], ebp
jne 0x40282e
mov byte [0x4aee8f], 1
mov byte [esp + 0x29], 1
cmp dword [0x4b1028], 0
je 0x402870
cmp dword [0x4b1018], 0
je 0x402856
push dword [0x4b1010]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4b1018], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4b1028], 0
mov dword [0x4b1010], 0
cmp esi, 0x8000012f
jne 0x402890
mov esi, 0xa
mov byte [esp + 0x54], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x6c], 0
jmp 0x4028b2
cmp esi, 5
setle al
mov byte [esp + 0x54], al
test al, al
je 0x4028a8
mov dword [esp + 0x6c], 0
jmp 0x4028b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x6c], eax
cmp dword [0x4afb14], 0
je 0x4028c0
call fcn.00404640
xor bl, bl
mov edi, 1
cmp dword [0x4b0f80], 0
mov dword [esp + 0x58], ebx
je 0x4028e5
call fcn.00404490
test al, al
movzx ebx, bl
cmovne ebx, edi
mov dword [esp + 0x58], ebx
test esi, esi
jle 0x40291f
cmp ebp, 1
jne 0x40291f
inc dword [0x4af0b0]
cmp byte [0x4aee8e], 0
mov byte [esp + 0x28], 1
jne 0x402924
push 0
push 0xa
push 9
push dword [0x4af0ac]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne byte [0x4aee8e]
jmp 0x402924
mov byte [esp + 0x28], 0
mov byte [esp + 0x2b], 0
mov byte [esp + 0x2a], 0
mov dword [esp + 0x68], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
call ebp
mov ebx, eax
test esi, esi
jle 0x402a12
cmp byte [esp + 0x2a], 0
jne 0x402a12
cmp byte [0x4aee8f], 0
jne 0x402a1f
cmp dword [0x4ac1d0], 0
je 0x4029d4
cmp dword [0x4aee94], 0
jne 0x4029d4
mov ecx, dword [0x4ac1d8]
cmp byte [ecx + 0xcc], 0
jne 0x4029b6
cmp byte [ecx + 0xce], 0
jne 0x4029b6
cmp dword [ecx + 0xc0], 0xffffffff
jle 0x4029b6
call ebp
mov ecx, dword [0x4ac1d8]
sub eax, dword [ecx + 0xbc]
cmp eax, dword [ecx + 0xc0]
jb 0x4029b6
mov byte [ecx + 0xcc], 1
movzx ecx, byte [ecx + 0xcc]
jmp 0x4029d6
mov esi, dword [esp + 0x10]
jmp 0x402942
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x402942
xor ecx, ecx
xor edx, edx
mov eax, 0x311
test ecx, ecx
cmovne eax, edx
push eax
push edx
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x402942
call ebp
mov ecx, eax
sub ecx, ebx
cmp ecx, 3
jbe 0x402c64
mov dword [0x4b0fc8], eax
jmp 0x402c64
cmp byte [0x4aee8f], 0
je 0x402b59
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x402b59
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4b0948]
jne 0x402b59
cmp dword [0x4af0a8], 0
je 0x402a80
push 0x20
lea eax, [esp + 0x128]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetClassNameA]
call esi
lea eax, [esp + 0x124]
push str.32770
push eax
call fcn.004858ec
add esp, 8
test eax, eax
sete al
test al, al
jne 0x402ad7
jmp 0x402a86
mov esi, dword [sym.imp.USER32.dll_GetClassNameA]
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x402b59
push 0x20
lea ecx, [esp + 0x128]
push ecx
push eax
call esi
lea eax, [esp + 0x124]
push str.SysTreeView32
push eax
call fcn.004855c8
add esp, 8
test eax, eax
je 0x402ad7
lea eax, [esp + 0x124]
push str.SysListView32
push eax
call fcn.004855c8
add esp, 8
test eax, eax
jne 0x402b59
call fcn.00404c50
push 0
push 0x1ff
neg eax
push 0
sbb esi, esi
lea eax, [esp + 0x38]
push 0
and esi, 0xfffffcee
push eax
add esi, 0x311
call edi
test eax, eax
lea eax, [esp + 0x2c]
jne 0x402b13
push 1
push esi
push 0x20e
jmp 0x402bc9
mov edi, dword [esp + 0x3c]
push 0
push esi
push 0x20e
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
push 1
test eax, eax
jne 0x402b3e
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0x1ff
jmp 0x402bc3
mov eax, dword [esp + 0x40]
sub eax, edi
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
lea eax, [esp + 0x30]
jle 0x402b08
push 0x1ff
jmp 0x402bc7
cmp dword [0x4ac1d0], 0
je 0x402bb2
cmp dword [0x4aee94], 0
jne 0x402bb2
mov ecx, dword [0x4ac1d8]
cmp byte [ecx + 0xcc], 0
jne 0x402ba9
cmp byte [ecx + 0xce], 0
jne 0x402ba9
cmp dword [ecx + 0xc0], 0xffffffff
jle 0x402ba9
call ebp
mov ecx, dword [0x4ac1d8]
sub eax, dword [ecx + 0xbc]
cmp eax, dword [ecx + 0xc0]
jb 0x402ba9
mov byte [ecx + 0xcc], 1
movzx ecx, byte [ecx + 0xcc]
jmp 0x402bb4
xor ecx, ecx
xor edx, edx
mov eax, 0x311
test ecx, ecx
push 1
cmovne eax, edx
push eax
lea eax, [esp + 0x34]
push 0
push 0
push eax
call edi
test eax, eax
jne 0x402c60
call ebp
mov edx, dword [0x4b0fc8]
mov ecx, eax
mov esi, dword [esp + 0x10]
sub ecx, ebx
cmp ecx, 3
cmova edx, eax
mov dword [0x4b0fc8], edx
test esi, esi
jne 0x402c0e
cmp byte [esp + 0x2b], 0
jne 0x402c0e
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x2b], 1
jmp 0x402942
cmp dword [esp + 0x68], 0
jne 0x402c35
cmp byte [esp + 0x54], 0
je 0x402c35
test esi, esi
jle 0x402c28
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x68], 1
jmp 0x402942
call ebp
cmp byte [esp + 0x54], 0
jne 0x4042fd
mov ecx, dword [esp + 0x6c]
sub ecx, eax
add ecx, esi
cmp ecx, 5
jle 0x4042fd
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402942
mov esi, dword [esp + 0x10]
inc dword [esp + 0x68]
cmp dword [0x4b0958], 0
je 0x402c9b
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.004046a0
add esp, 0x10
test al, al
jne 0x402942
mov edx, dword [0x4af0a4]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
test edx, edx
je 0x403044
test ebp, ebp
je 0x403044
cmp ebp, dword [0x4af0ac]
je 0x403044
cmp edi, 0x414
je 0x403044
cmp edi, 0x402
je 0x403044
lea eax, [edi - 0x100]
cmp eax, 9
ja 0x402fe4
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
test ebx, ebx
je 0x402fd6
mov ecx, ebx
call fcn.00477790
mov esi, eax
test esi, esi
je 0x402fd6
mov ecx, ebx
call fcn.00459fa0
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x402fd6
mov ecx, dword [ebp + 0x74]
test ecx, ecx
je 0x402d48
lea eax, [esp + 0x2c]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x4029c9
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
cmp edi, 0x100
jne 0x402f7d
cmp byte [ebp + 0xb8], 0
je 0x402ec7
cmp esi, 0x22
je 0x402d86
cmp esi, 0x21
je 0x402d86
cmp esi, 9
je 0x402d86
cmp esi, 0x25
je 0x402d86
cmp esi, 0x27
jne 0x402ec7
push ebx
mov ecx, ebp
call fcn.004026a0
mov edx, eax
mov dword [esp + 0x24], edx
test edx, edx
je 0x402eb3
mov cl, byte [edx + 4]
cmp cl, 0xf
je 0x402eb3
mov esi, dword [esp + 0x34]
xor edi, edi
cmp cl, 0x13
jne 0x402dde
mov edi, edx
cmp esi, 0x25
je 0x402dbf
cmp esi, 0x27
jne 0x402dde
cmp esi, 0x27
mov ecx, ebp
push 0
sete al
push 0
movzx eax, al
push eax
push edx
call fcn.00466ff0
mov esi, dword [esp + 0x10]
jmp 0x402936
cmp esi, 0x25
je 0x402eb7
cmp esi, 0x27
je 0x402eb7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x402eb3
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp esi, 9
jne 0x402e33
cmp byte [eax + 4], 0xc
jne 0x402e33
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x402eb3
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
test edi, edi
jne 0x402e57
movzx eax, byte [eax + 6]
mov ecx, ebp
push eax
call fcn.00466d40
mov edi, eax
test edi, edi
jne 0x402e57
push eax
mov ecx, ebp
call fcn.00466d40
mov edi, eax
test edi, edi
je 0x402eb7
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x402eb3
mov eax, dword [esp + 0x34]
cmp eax, 0x22
je 0x402e9b
cmp eax, 9
jne 0x402e83
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x402e9b
push 1
push 1
xor al, al
mov ecx, ebp
push eax
push edi
call fcn.00466ff0
mov esi, dword [esp + 0x10]
jmp 0x402936
push 1
push 1
mov al, 1
mov ecx, ebp
push eax
push edi
call fcn.00466ff0
mov esi, dword [esp + 0x10]
jmp 0x402936
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
cmp edi, 0x100
jne 0x402f7d
cmp esi, 0x1b
je 0x402efe
cmp esi, 9
je 0x402efe
cmp esi, 0x41
jne 0x402f7d
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov edi, 0x8000
test di, ax
je 0x402f75
push 0xa5
call esi
test di, ax
jne 0x402f75
push ebx
mov ecx, ebp
call fcn.004026a0
mov dword [esp + 0x24], eax
test eax, eax
je 0x402f75
cmp byte [eax + 4], 0xc
jne 0x402f75
mov esi, dword [esp + 0x34]
cmp esi, 0x1b
je 0x402f65
cmp esi, 0x41
je 0x402f45
test byte [eax + 5], 0x80
je 0x402f79
push 0x49e058
push 1
push 0xc2
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x10]
jmp 0x402936
test byte [eax + 5], 2
jne 0x402f79
push 0xffffffffffffffff
push 0
push 0xb1
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x10]
jmp 0x402936
mov ecx, ebp
call fcn.00463760
mov esi, dword [esp + 0x10]
jmp 0x402936
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov eax, dword [0x4b08f4]
test eax, eax
je 0x402fca
cmp edi, 0x100
jne 0x402fca
cmp esi, 0xd
jne 0x402fac
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x10]
jmp 0x402936
cmp esi, 0x1b
jne 0x402fca
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x10]
jmp 0x402936
mov ebp, dword [esp + 0x2c]
mov edx, dword [0x4af0a4]
jmp 0x402fe8
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edx, dword [0x4af0a4]
mov esi, dword [esp + 0x34]
xor ebx, ebx
test edx, edx
jle 0x403048
mov edi, edi
mov ecx, dword [0x4ac1d8]
mov byte [ecx + 0xc8], 1
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc4], eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0x4af0a0]
mov eax, dword [eax + ebx*4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4042e8
mov eax, dword [0x4ac1d8]
inc ebx
mov edx, dword [0x4af0a4]
mov byte [eax + 0xc8], 0
cmp ebx, edx
jl 0x402ff0
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
cmp edi, 0x312
ja 0x4031e5
je case.0x4031f7.1026
cmp edi, 0x100
ja 0x4030cd
je 0x4030a1
cmp edi, 0x12
je 0x40308a
cmp edi, 0x4b
jne case.0x4031f7.1027
mov esi, dword [esp + 0x10]
mov dword [0x4af090], 0
mov byte [esp + 0x2a], 1
jmp 0x402936
push 0
push 6
mov ecx, 0x4b09a0
call fcn.00417430
mov esi, dword [esp + 0x10]
jmp 0x402936
cmp ebp, dword [0x4af08c]
jne case.0x4031f7.1027
cmp esi, 0x1b
jne case.0x4031f7.1027
push 0
push dword [0x4af0ac]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esp + 0x10]
jmp 0x402936
cmp edi, 0x113
jne case.0x4031f7.1027
cmp dword [esp + 0x38], 0
jne case.0x4031f7.1027
cmp ebp, dword [0x4af0ac]
jne case.0x4031f7.1027
cmp dword [0x4afb14], 0
je 0x4030fe
call fcn.00404640
cmp dword [0x4b0f80], 0
je 0x403123
call fcn.00404490
mov edx, dword [esp + 0x58]
test al, al
movzx ebx, dl
mov eax, 1
cmovne ebx, eax
mov dword [esp + 0x58], ebx
jmp 0x403127
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x74], 0
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
je 0x402942
cmp esi, 1
jl 0x402942
push dword [esp + 0x54]
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.00404440
add esp, 4
test eax, eax
je 0x402936
movzx eax, byte [0x4aee8f]
xor ecx, ecx
cmp byte [esp + 0x29], cl
cmovne eax, ecx
mov byte [0x4aee8f], al
cmp byte [esp + 0x28], cl
je 0x4031cd
mov eax, dword [0x4af0b0]
dec eax
mov dword [0x4af0b0], eax
test esi, esi
jle 0x4031cd
test eax, eax
jne 0x4031cd
cmp dword [0x4b0f80], ecx
jne 0x4031cd
cmp dword [0x4afb14], ecx
jne 0x4031cd
cmp byte [0x4aee8e], cl
je 0x4031cd
push 9
push dword [0x4af0ac]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4aee8e]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x4aee8e], cl
mov al, bl
mov ecx, dword [esp + 0x12bc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi - 0x400]
cmp eax, 0x15
ja case.0x4031f7.1027
movzx eax, byte [eax + 0x4043a8]
jmp dword [eax*4 + 0x40439c]
test ebp, ebp
je case.0x4031f7.1026
cmp ebp, dword [0x4af0ac]
jne case.0x4031f7.1027
xor ebx, ebx
lea eax, [edi - 0x401]
mov dword [esp + 0x4c], ebx
cmp eax, 0x14
ja case.0x403226.1027
movzx eax, byte [eax + 0x4043d4]
jmp dword [eax*4 + 0x4043c0]
xor ecx, ecx
test edx, edx
jle 0x403251
mov ebx, dword [0x4af0a0]
lea esp, [esp]
mov eax, dword [ebx + ecx*4]
cmp dword [eax + 4], ebp
je 0x403302
inc ecx
cmp ecx, edx
jl 0x403240
xor esi, esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x404282
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4b0948]
jne 0x404282
push 0x20
lea eax, [esp + 0x128]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0x124]
push str.32770
push eax
call fcn.004858ec
add esp, 8
test eax, eax
jne 0x404282
mov ecx, dword [0x4ac1d8]
mov byte [ecx + 0xc8], 1
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc4], eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x404273
cmp dword [0x4af0a8], 0
je 0x4042e8
push 0x4aef88
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x4ac1d8]
mov esi, dword [esp + 0x10]
mov byte [eax + 0xc8], 0
jmp 0x402936
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je case.0x4031f7.1027
mov ecx, dword [esp + 0x38]
mov ebx, esi
movzx edx, si
xor eax, eax
shr ebx, 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x14], eax
cmp edx, 8
jne 0x40334a
mov dword [esp + 0x20], ebx
mov ebx, 0x2af8
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], ebx
cmp ebx, dword [ebp + 0x10]
jae 0x40335a
mov eax, dword [ebp + 0x18]
lea ecx, [ebx + ebx*4]
lea ecx, [eax + ecx*4]
jmp 0x40335c
xor ecx, ecx
lea eax, [edx - 5]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], 0
mov byte [esp + 0x1b], 0
cmp eax, 4
ja case.default.0x403379
jmp dword [eax*4 + 0x4043ec]
mov ebp, dword [ebp + 0x2c]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x48], ebp
test ebp, ebp
je 0x402936
mov eax, dword [esp + 0x1c]
add eax, 0x3a
jmp 0x4033d2
mov ebp, dword [ebp + 0x24]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x48], ebp
test ebp, ebp
je 0x402936
mov eax, dword [esp + 0x1c]
add eax, 0x38
jmp 0x4033d2
mov ebp, dword [ebp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x48], ebp
test ebp, ebp
je 0x402936
mov eax, dword [esp + 0x1c]
add eax, 0x39
mov dword [esp + 0x64], eax
test eax, eax
je 0x4034db
cmp byte [eax], 0
mov esi, dword [esp + 0x10]
jne 0x402936
mov ebx, dword [esp + 0x4c]
xor esi, esi
jmp 0x4036f8
mov ebp, dword [ebp + 0x34]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x48], ebp
test ebp, ebp
je 0x402936
mov ebx, dword [esp + 0x4c]
xor esi, esi
jmp 0x4036f8
mov ebx, dword [ebp + 0x68]
mov ebp, dword [ebp + 0x30]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
test ebp, ebp
je 0x403458
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
test ebx, ebx
je 0x4029c9
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [esp + 0x20], eax
test eax, eax
je 0x403458
mov edi, dword [esp + 0x30]
xor esi, esi
jmp 0x4036f8
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
test ebx, ebx
je 0x402942
push ebx
call dword [sym.imp.SHELL32.dll_DragFinish]
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x68], 0
mov esi, dword [esp + 0x10]
jmp 0x402936
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
test ecx, ecx
je 0x40293c
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x48], ebp
test ebp, ebp
jne 0x4034cc
test byte [ecx + 5], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
je 0x402942
mov ecx, dword [esp + 0x1c]
call fcn.00463700
jmp 0x402936
test byte [ecx + 5], 4
jne 0x402936
mov byte [esp + 0x1b], 1
mov ebx, dword [esp + 0x4c]
xor esi, esi
jmp 0x4036f8
test esi, esi
je 0x40350b
mov ecx, esi
call fcn.00459f70
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x403511
test ebp, ebp
je 0x403511
cmp ebp, dword [0x4af0ac]
jne case.0x4031f7.1027
jmp 0x403511
xor esi, esi
mov dword [esp + 0x1c], esi
push dword [esp + 0x38]
mov ecx, 0x4b09a0
call fcn.00402700
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x98], eax
test eax, eax
je 0x40293c
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x402936
mov esi, dword [eax + 0x18]
jmp 0x4036f4
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
cmp esi, dword [0x4afb10]
jae 0x4029c0
mov eax, dword [0x4afafc]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x60], ecx
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4035af
mov edx, dword [esp + 0x60]
mov edx, dword [edx + 4]
call fcn.0040ad30
mov esi, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x50], edi
test edi, edi
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
je 0x402942
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x10]
mov cl, byte [ecx]
cmp cl, 1
je 0x4035b7
cmp cl, 3
je 0x4035b7
jmp 0x4035b3
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], ebx
push dword [esp + 0x38]
mov ecx, eax
call fcn.0040dec0
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
cmp dword [edx + 0xc], ebx
jne 0x402942
movzx eax, byte [esp + 0x38]
xor ecx, ecx
cmp byte [edx + 0x2a], cl
cmovne ecx, eax
mov byte [0x4b0f98], cl
mov ebp, dword [edx]
mov esi, dword [edx + 0x14]
jmp 0x4036f0
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x4b0f6c], bl
jne 0x40293c
mov ebp, dword [0x4b0f60]
test ebp, ebp
cmove ebp, dword [0x4b0d14]
xor esi, esi
jmp 0x4036f4
mov eax, dword [0x4ad8fc]
mov ecx, esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
and ecx, 0x7fff
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
cmp cx, word [eax]
jae 0x4029c0
mov eax, dword [0x4afb18]
shr esi, 0x10
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x7c], eax
test si, si
je 0x403686
mov edi, dword [eax + 0x20]
add esi, 0xffff
mov dword [esp + 0x70], edi
test si, si
je 0x403682
mov edi, dword [edi + 8]
add esi, 0xffff
test si, si
jne 0x403670
mov dword [esp + 0x70], edi
test edi, edi
jne 0x4036a0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.0040b8c0
mov edi, eax
mov dword [esp + 0x70], edi
test edi, edi
je 0x4042f4
push edi
call fcn.00402730
test al, al
jne 0x4036c7
cmp byte [edi + 0x1a], bl
je 0x4036b3
mov byte [edi + 0x1b], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, dword [esp + 0x10]
mov dword [edi + 0xc], eax
jmp 0x40293c
mov eax, dword [edi + 4]
test eax, eax
je 0x4036e7
mov al, byte [eax]
cmp al, 2
je 0x4036e7
cmp al, 4
je 0x4036e7
cmp al, 5
jb 0x4036eb
mov eax, dword [0x4af09c]
mov dword [esp + 0x50], eax
jmp 0x4036eb
mov dword [esp + 0x50], ebx
mov ebp, dword [edi]
mov esi, dword [edi + 0x10]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x48], ebp
mov eax, dword [0x4b269c]
test al, 1
jne 0x40371b
push 0
or eax, 1
mov ecx, 0x4b26a0
push 0
mov dword [0x4b269c], eax
call fcn.00415fa0
mov edi, dword [esp + 0x30]
mov eax, dword [0x4b0d14]
mov ecx, dword [ebp]
cmp ecx, dword [eax]
jne 0x40372b
xor eax, eax
jmp 0x403737
xor eax, eax
cmp ecx, dword [0x4b26a0]
setne al
inc eax
sub eax, 0
je 0x40373f
dec eax
jne 0x40374a
mov eax, dword [ebp + 8]
test eax, eax
je 0x40374a
mov cl, byte [eax]
jmp 0x40374c
xor cl, cl
mov edx, dword [0x4af098]
mov eax, dword [0x4ac1d4]
mov byte [esp + 0x80], cl
cmp edx, eax
jl 0x403791
add eax, 2
cmp edx, eax
jge 0x40379b
cmp cl, 0xde
je 0x403791
cmp cl, 0xca
je 0x403791
cmp cl, 0xd8
je 0x403791
cmp cl, 0xd9
je 0x403791
cmp cl, 0xd4
je 0x403791
cmp cl, 0xd5
je 0x403791
cmp cl, 0xd6
je 0x403791
cmp cl, 0xd7
jne 0x40379b
mov eax, dword [0x4ac1d8]
cmp esi, dword [eax + 0x2c]
jge 0x4037ca
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
test ebx, ebx
je 0x402942
push ebx
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ebp, dword [esp + 0x1c]
mov dword [ebp + 0x68], 0
jmp 0x402936
mov byte [esp + 0x58], 1
cmp edi, 0x402
je 0x40382b
cmp edi, 0x413
jbe 0x4037eb
cmp edi, 0x415
jbe 0x403871
mov eax, dword [0x4b0f28]
mov dword [0x4b0f2c], eax
mov eax, dword [0x4b0f90]
mov dword [0x4b0f94], eax
cmp edi, 0x401
jne 0x403810
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
jmp 0x403817
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4b0f28], eax
call ebx
mov dword [0x4b0f90], eax
jmp 0x403877
mov ebx, dword [esp + 0x98]
push 0x104
push dword [ebx]
push 0x4b0d1c
call fcn.00488ae0
add esp, 0xc
mov byte [0x4b0e20], 0
mov eax, dword [ebx + 0x10]
push 0x104
push dword [eax]
push 0x4b0e21
call fcn.00488ae0
add esp, 0xc
mov byte [0x4b0f25], 0
mov dword [0x4b0d18], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4af094]
push 0
push 1
call fcn.004024d0
push 0x7f
push eax
lea eax, [esp + 0x188]
push eax
call fcn.00488ae0
add esp, 0xc
mov byte [esp + 0x1ff], 0
xor dl, dl
mov ecx, esi
push dword [esp + 0x80]
push 1
call fcn.00404a60
mov edi, dword [0x4ac1d8]
add esp, 8
call ebx
mov dword [0x4b0fcc], eax
mov dword [0x4b0fc8], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.0x4038e1.1027
movzx eax, byte [eax + 0x404414]
jmp dword [eax*4 + 0x404400]
cmp byte [esp + 0x1b], 0
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x88], 0
je 0x403903
mov ecx, dword [edx]
jmp 0x403906
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x14]
mov eax, esi
add eax, eax
inc esi
mov dword [esp + 0x14], esi
mov dword [esp + eax*8 + 0xa0], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + eax*8 + 0xa8], 1
mov dword [esp + eax*8 + 0xa4], 0
lea eax, [ecx - 5]
cmp eax, 4
ja case.default.0x403940
jmp dword [eax*4 + 0x40442c]
mov ecx, dword [esp + 0x20]
lea esi, [edi + 0x3c]
xor eax, eax
mov dword [esp + 0x20], 0
test ecx, ecx
sete al
lea eax, [eax*2 + 1]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [esi], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 4], eax
test edx, edx
je 0x403a1c
cmp dword [edi + 0x34], 1
jne 0x40398d
push esi
push edx
call fcn.004678d0
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + 4]
sub eax, 9
je 0x403a06
dec eax
je 0x4039fb
dec eax
jne 0x403a1c
cmp dword [edi + 0x34], 1
jne 0x4039b8
push eax
push 9
push 0x110a
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x403a18
mov eax, dword [esp + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x118], eax
lea eax, [esp + 0x114]
push eax
push dword [edx]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x114]
push eax
mov eax, dword [esp + 0x28]
push 0
push 0x1111
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x403a18
push 1
push 0xffffffffffffffff
push 0x100c
jmp 0x403a0f
push 0
push 0
push 0x19f
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [esp + 0x20], eax
mov edx, dword [ebx + 4]
mov ecx, esi
call fcn.00473da0
mov edx, dword [esp + 0x24]
test edx, edx
je 0x403a5a
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xa0]
shl eax, 4
add ecx, eax
mov eax, dword [edx]
inc dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov dword [ecx + 4], 0
jmp 0x403a79
mov edx, dword [esp + 0x14]
mov eax, edx
add eax, eax
inc edx
mov dword [esp + eax*8 + 0xa8], 0
mov dword [esp + eax*8 + 0xa0], 0x49e065
mov ecx, dword [esp + 0x20]
mov eax, edx
add eax, eax
mov dword [esp + eax*8 + 0xa0], ecx
lea ecx, [esp + 0xa0]
mov dword [esp + eax*8 + 0xa8], 1
mov dword [esp + eax*8 + 0xa4], 0
lea eax, [edx + 1]
shl eax, 4
add edx, 2
add ecx, eax
mov dword [esp + 0x14], edx
xor eax, eax
cmp dword [edi + 0x34], 3
sete al
cdq
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, edx
mov dword [ecx + 8], 1
inc edx
shl eax, 4
lea ecx, [esp + 0xa0]
add ecx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esi]
cdq
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, edx
mov dword [ecx + 8], 1
lea ecx, [esp + 0xa0]
shl eax, 4
add ecx, eax
mov eax, dword [edi + 0x40]
inc edx
mov dword [esp + 0x14], edx
cdq
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x20]
cmp byte [esp + 0x1b], 0
je 0x403f98
mov esi, dword [esp + 0x24]
cmp byte [esi + 4], 0x17
jne 0x403f98
push 0x10b8
lea eax, [esp + 0x204]
push 0
push eax
call fcn.0048fd00
mov eax, dword [esp + 0x2c]
add esp, 0xc
dec eax
mov dword [esp + 0x200], 0xd
mov dword [esp + 0x204], eax
lea eax, [esp + 0x200]
push eax
push 0
push 0x703
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x403c17
sub esp, 8
lea ecx, [esp + 0x218]
cmp word [esp + 0x278], 0
lea eax, [esp + 0x278]
cmove eax, ecx
lea ecx, [esp + 0x14c]
push 0xffffffffffffffff
push eax
call fcn.00404e50
push 1
push 0
push 0xffffffffffffffff
mov ecx, eax
mov dword [esp + 0x12d0], 0
call fcn.00404da0
mov ecx, dword [0x4af094]
push eax
call fcn.004759c0
lea ecx, [esp + 0x144]
mov dword [esp + 0x12c4], 0xffffffff
call fcn.00404dc0
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0xa0]
mov eax, ecx
inc ecx
push 0
shl eax, 4
mov dword [esp + 0x18], ecx
add esi, eax
mov ecx, dword [0x4af094]
push 1
call fcn.004024d0
mov dword [esi + 8], 0
mov dword [esi], eax
mov esi, dword [esp + 0x5c]
mov eax, dword [ebx + 4]
mov dword [edi + 0xa4], eax
add dword [ebx + 0x20], 2
mov eax, dword [esp + 0x84]
mov dword [edi + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x38], eax
mov edi, dword [esp + 0x64]
test edi, edi
je 0x404009
mov byte [edi], 1
mov ebx, dword [esp + 0x24]
push 0
lea eax, [esp + 0xa0]
mov edx, ebp
push eax
mov eax, dword [esp + 0x1c]
mov ecx, ebp
push eax
lea eax, [esp + 0xac]
push eax
push str.call
call fcn.0046acf0
mov ebp, dword [esp + 0x30]
add esp, 0x14
cmp dword [ebp + 4], 0
je 0x404069
test edi, edi
je 0x404021
mov byte [edi], 0
cmp esi, 6
jne 0x40402c
cmp dword [esp + 0x9c], 0
jne 0x404069
lea ecx, [esp + 0x48]
call fcn.00402580
test eax, eax
jne 0x404069
mov ecx, ebp
call fcn.00463700
mov ecx, ebp
call fcn.0045c080
jmp 0x404223
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x34], ecx
lea ecx, [edi + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x40], eax
mov edx, dword [esi + 4]
call fcn.00473da0
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0xa0]
mov eax, ecx
inc ecx
shl eax, 4
mov dword [esp + 0x14], ecx
add esi, eax
mov ecx, dword [esp + 0x4c]
call fcn.0045c270
mov edx, dword [esp + 0x24]
mov dword [esi + 8], 6
mov dword [esi], eax
test edx, edx
je 0x403d66
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xa0]
mov eax, esi
shl eax, 4
add ecx, eax
mov eax, dword [edx]
inc esi
mov dword [esp + 0x14], esi
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov ecx, esi
jmp 0x403d85
mov ecx, dword [esp + 0x14]
mov eax, ecx
add eax, eax
inc ecx
mov dword [esp + eax*8 + 0xa8], 0
mov dword [esp + eax*8 + 0xa0], 0x49e065
mov ebx, dword [esp + 0x1c]
lea esi, [esp + 0xa0]
mov eax, ecx
inc ecx
shl eax, 4
add esi, eax
mov dword [esp + 0x14], ecx
cmp byte [ebx + 0xc0], 0
mov eax, dword [edi + 0x3c]
je 0x403dbb
push dword [0x4b094c]
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x14]
cdq
mov dword [esi], eax
mov eax, ecx
mov dword [esi + 8], 1
mov dword [esi + 4], edx
lea esi, [esp + 0xa0]
shl eax, 4
add esi, eax
mov eax, dword [edi + 0x40]
inc ecx
cmp byte [ebx + 0xc0], 0
mov dword [esp + 0x14], ecx
je 0x403df6
push dword [0x4b094c]
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x403b17
mov dword [edi + 0x34], 1
cmp ecx, 8
jne 0x403b17
mov edx, dword [esp + 0x78]
mov eax, esi
mov ecx, dword [esp + 0x20]
add eax, eax
inc esi
mov dword [edi + 0x3c], edx
mov dword [esp + 0x14], esi
mov dword [esp + eax*8 + 0xa0], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0xa8], 1
inc ecx
mov dword [esp + eax*8 + 0xa4], 0
mov eax, esi
shl eax, 4
lea esi, [esp + 0xa0]
add esi, eax
mov dword [esp + 0x14], ecx
cmp byte [ebx + 0xc0], 0
movzx eax, dx
je 0x403e7f
push dword [0x4b094c]
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x14]
cdq
mov dword [esi], eax
mov eax, ecx
mov dword [esi + 8], 1
inc ecx
mov dword [esi + 4], edx
lea esi, [esp + 0xa0]
shl eax, 4
add esi, eax
mov eax, dword [esp + 0x78]
shr eax, 0x10
jmp 0x403dda
mov al, byte [edx + 4]
cmp al, 0xa
je 0x403ed4
cmp al, 0x19
jne 0x403f47
mov eax, dword [esp + 0x40]
lea ecx, [edi + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov edx, dword [ebx + 4]
call fcn.00473da0
mov ecx, dword [esp + 0x5c]
jmp 0x403f47
cmp cl, 0x49
jne 0x403f47
lea eax, [esp + 0x88]
test ecx, 0x100
je 0x403ef2
mov byte [esp + 0x88], 0x53
jmp 0x403f02
test ecx, 0x200
je 0x403f09
mov byte [esp + 0x88], 0x73
lea eax, [esp + 0x89]
test ecx, 0x400
je 0x403f16
mov byte [eax], 0x46
jmp 0x403f21
test ecx, 0x800
je 0x403f22
mov byte [eax], 0x66
inc eax
test ecx, 0x1000
je 0x403f2f
mov byte [eax], 0x43
jmp 0x403f3a
test ecx, 0x2000
je 0x403f3b
mov byte [eax], 0x63
inc eax
mov ecx, 0x49
mov byte [eax], 0
mov dword [esp + 0x5c], ecx
mov eax, esi
mov dword [edi + 0x34], ecx
shl eax, 4
lea edx, [esp + 0xa0]
add edx, eax
call fcn.0045c250
mov dword [edx], eax
lea eax, [esi + 1]
add eax, eax
mov dword [edx + 8], 0
mov edx, dword [esp + 0x20]
add esi, 2
mov dword [esp + 0x14], esi
mov dword [esp + eax*8 + 0xa8], 1
mov dword [esp + eax*8 + 0xa0], edx
mov dword [esp + eax*8 + 0xa4], 0
jmp 0x403b1b
cmp byte [esp + 0x88], 0
je 0x403fc8
mov ecx, dword [esp + 0x14]
mov eax, ecx
add eax, eax
inc ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x88]
mov dword [esp + eax*8 + 0xa8], 0
mov dword [esp + eax*8 + 0xa0], ecx
mov esi, dword [esp + 0x5c]
cmp esi, 8
je 0x403ff4
cmp esi, 5
je 0x403ff4
mov ecx, dword [0x4af094]
lea eax, [esp + 0x88]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004759c0
jmp 0x403c1b
mov ecx, dword [0x4af094]
push 0x18
push 0
push edx
call fcn.00402370
jmp 0x403c1b
cmp byte [esp + 0x1b], 0
je 0x403c4e
mov ebx, dword [esp + 0x24]
or byte [ebx + 5], 4
jmp 0x403c52
cmp byte [esp + 0x1b], 0
je 0x40402c
and byte [ebx + 5], 0xfb
cmp esi, 5
jne 0x404069
mov eax, dword [esp + 0xb0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [esp + 0x4c]
call dword [sym.imp.SHELL32.dll_DragFinish]
push 0xffffffffffffffec
push dword [ebp + 4]
mov dword [ebp + 0x68], 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x10
push eax
push 0xffffffffffffffec
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, ebp
call fcn.0045c080
jmp 0x404223
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x404097
mov eax, dword [ecx + 4]
mov dword [edi + 0xa4], eax
mov dword [edi + 0x34], 1
add dword [ecx + 0x20], 2
mov dword [edi + 0x48], ecx
mov dword [edi + 0x44], ecx
mov ecx, 0x4b09a0
mov dword [esp + 0x158], 0
mov dword [esp + 0x150], 0x4b0d1c
call fcn.00443700
push 0
inc eax
mov dword [esp + 0x16c], 1
push 0
mov dword [esp + 0x168], eax
mov edx, ebp
push 3
lea eax, [esp + 0x15c]
mov dword [esp + 0x170], 0
push eax
push str.call
mov ecx, ebp
mov dword [esp + 0x18c], 0
mov dword [esp + 0x184], 0x4b0e21
call fcn.0046acf0
mov ebp, dword [esp + 0x30]
add esp, 0x14
test ebp, ebp
je 0x404223
mov ecx, ebp
call fcn.0045c080
jmp 0x404223
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
mov dword [edi + 0xa4], eax
mov al, byte [ecx + 0x21]
mov byte [edi + 0xd6], al
call fcn.0040de00
jmp 0x404223
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x404171
mov ebx, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call ebx
test eax, eax
jne 0x40416a
push 0xf
call ebx
test eax, eax
jne 0x40416a
mov eax, 2
jmp 0x404173
mov eax, 1
jmp 0x404173
xor eax, eax
mov ecx, dword [0x4af094]
push 0x18
push 0
push eax
mov dword [edi + 0x38], eax
call fcn.00402370
mov eax, dword [edi + 0x38]
mov ecx, dword [0x4b0f60]
mov dword [esp + 0x108], 1
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], 0
mov byte [0x4b0f6c], 1
test ecx, ecx
je 0x4041c2
call fcn.00402540
mov ecx, dword [0x4b0f60]
cmp dword [esp + 0x34], 0
jne 0x4041e5
xor eax, eax
test ecx, ecx
mov ecx, 0x4b0f40
sete al
push eax
push 1
lea eax, [esp + 0x108]
push eax
call fcn.0046dfb0
mov byte [0x4b0f6c], 0
jmp 0x404223
mov edx, dword [esp + 0x7c]
mov al, byte [edx + 0x10]
cmp al, 0x9c
jb 0x404204
cmp al, 0x9f
ja 0x404204
mov eax, dword [esp + 0x38]
mov dword [edi + 0x38], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x50]
mov dword [edi + 0xa4], eax
push ecx
mov al, byte [ecx + 0x18]
mov ecx, edx
mov byte [edi + 0xd6], al
call fcn.0040bcc0
lea ecx, [esp + 0x180]
call fcn.00404b70
cmp dword [esp + 0x74], 0
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
je 0x402942
push dword [esp + 0x54]
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.00404440
add esp, 4
test eax, eax
je 0x402942
mov byte [esp + 0x2a], 1
mov byte [esp + 0x54], 1
jmp 0x402936
mov ecx, dword [0x4ac1d8]
mov byte [ecx + 0xc8], 0
jmp 0x404288
mov ecx, dword [0x4ac1d8]
mov eax, dword [0x4aef84]
test eax, eax
je 0x4042c1
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [0x4af0ac]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x402942
mov ecx, dword [0x4ac1d8]
mov byte [ecx + 0xc8], 1
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc4], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [0x4ac1d8]
mov byte [eax + 0xc8], 0
mov esi, dword [esp + 0x10]
jmp 0x402936
cmp esi, 0xffffffff
jle 0x404312
xorps xmm0, xmm0
mov dword [0x4b0fc8], eax
movlpd qword [0x4b0fb8], xmm0
xor ecx, ecx
mov dword [0x4b0fcc], eax
cmp byte [esp + 0x29], cl
movzx eax, byte [0x4aee8f]
cmovne eax, ecx
mov byte [0x4aee8f], al
cmp byte [esp + 0x28], cl
je 0x40437f
mov eax, dword [0x4af0b0]
dec eax
mov dword [0x4af0b0], eax
test esi, esi
jle 0x40437f
test eax, eax
jne 0x40437f
cmp dword [0x4b0f80], ecx
jne 0x40437f
cmp dword [0x4afb14], ecx
jne 0x40437f
cmp byte [0x4aee8e], cl
je 0x40437f
push 9
push dword [0x4af0ac]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4aee8e]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x4aee8e], cl
mov edx, dword [esp + 0x58]
mov al, dl
mov ecx, dword [esp + 0x12bc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret