Function at 0x4013c0
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Get graphical window text
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 0x495e4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12a4
call fcn.00491c20
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x27], 0
lea ebx, [edi + 1]
jne 0x40140f
cmp byte [0x4ab3fd], 0
mov dword [ebp + 0xc], ebx
jne 0x40140f
mov byte [0x4ab3fd], bl
mov byte [esp + 0x27], bl
cmp dword [0x4ad2e4], edi
je 0x401443
cmp dword [0x4ad2d4], edi
je 0x401431
mov eax, dword [0x4ad2cc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4ad2d4], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ad2e4], edi
mov dword [0x4ad2cc], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x401463
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x60], 1
mov dword [esp + 0x68], edi
jmp 0x401481
cmp esi, 5
setle al
mov byte [esp + 0x60], al
test al, al
je 0x401477
mov dword [esp + 0x68], edi
jmp 0x401481
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x68], eax
cmp dword [0x4acb9c], edi
je 0x40148e
call fcn.004030a0
mov byte [esp + 0x13], 0
cmp dword [0x4ad908], edi
je 0x4014a9
call fcn.00402ee0
test al, al
je 0x4014a9
mov byte [esp + 0x13], 1
cmp esi, edi
jle 0x4016e2
cmp dword [ebp + 0xc], ebx
jne 0x4016e2
add dword [0x4ab40c], ebx
cmp byte [0x4ab3f7], 0
mov byte [esp + 0x1f], 1
jne 0x4014eb
mov ecx, dword [0x4ab2a0]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4ab3f7], dl
mov byte [esp + 0x33], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0x70], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [ebp + 8]
mov esi, eax
mov dword [esp + 0x18], esi
test ebx, ebx
jle 0x4016ec
cmp byte [esp + 0x26], 0
jne 0x4016ec
cmp byte [0x4ab3fd], 0
jne 0x4016f9
call fcn.00403660
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x4014f9
call edi
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x401562
mov dword [0x4ad950], eax
inc dword [esp + 0x70]
cmp dword [0x4ad2c4], 0
je 0x40159b
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
lea edi, [esp + 0x28]
call fcn.00403110
add esp, 0x10
test al, al
jne 0x4014f9
mov edx, dword [0x4aba38]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test edx, edx
je 0x401bb0
test ebx, ebx
je 0x401bb0
cmp ebx, dword [0x4ab2a0]
je 0x401bb0
cmp ecx, 0x414
je 0x401bb0
cmp ecx, 0x402
je 0x401bb0
lea eax, [ecx - 0x100]
cmp eax, 9
ja 0x401b3d
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x401b43
call fcn.00477170
mov ebx, eax
test ebx, ebx
je 0x401b43
mov eax, esi
call fcn.00459e30
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x401b43
mov eax, dword [edi + 0x74]
test eax, eax
je 0x401640
lea ecx, [esp + 0x38]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4014f9
cmp dword [esp + 0x3c], 0x100
mov esi, dword [esp + 0x40]
jne 0x401af6
cmp byte [edi + 0xb8], 0
je 0x401a44
cmp esi, 0x22
je 0x40167c
cmp esi, 0x21
je 0x40167c
cmp esi, 9
je 0x40167c
cmp esi, 0x25
je 0x40167c
cmp esi, 0x27
jne 0x401a44
mov eax, dword [esp + 0x20]
mov ebx, edi
call fcn.00401340
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x401a32
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401a32
mov esi, dword [esp + 0x40]
mov dword [esp + 0x18], 0
cmp al, 0x13
jne 0x401960
mov dword [esp + 0x18], ebx
cmp esi, 0x25
je 0x4016c6
cmp esi, 0x27
jne 0x401960
cmp esi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, edi
call fcn.00466d80
jmp 0x4014f9
mov byte [esp + 0x1f], 0
jmp 0x4014eb
cmp byte [0x4ab3fd], 0
je 0x401858
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x401858
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4ad2b4]
jne 0x401858
cmp dword [0x4ab43c], 0
je 0x401756
push 0x20
lea edx, [esp + 0xbc]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0xb8]
push str.32770
push eax
call fcn.004855a1
add esp, 8
test eax, eax
sete al
test al, al
jne 0x4017ab
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x401858
push 0x20
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edx, [esp + 0xb8]
push str.SysTreeView32
push edx
call fcn.00485451
add esp, 8
test eax, eax
je 0x4017ab
lea eax, [esp + 0xb8]
push str.SysListView32
push eax
call fcn.00485451
add esp, 8
test eax, eax
jne 0x401858
call fcn.00403660
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0x1ff
neg eax
push 0
sbb esi, esi
push 0
lea ecx, [esp + 0x48]
and esi, 0xfffffcee
push ecx
add esi, 0x311
call edi
test eax, eax
jne 0x4017f1
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x48]
push edx
call edi
jmp 0x4018d3
mov ebx, dword [esp + 0x48]
push 0
push esi
push 0x20e
push 0
lea eax, [esp + 0x48]
push eax
call edi
push 1
test eax, eax
jne 0x401822
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x48]
push ecx
call edi
mov ebx, dword [ebp + 8]
jmp 0x4018d3
mov edx, dword [esp + 0x4c]
sub edx, ebx
test edx, edx
jle 0x401844
push 0x1ff
push 0
push 0
lea eax, [esp + 0x48]
push eax
call edi
mov ebx, dword [ebp + 8]
jmp 0x4018d3
push esi
push 0x20e
push 0
lea ecx, [esp + 0x48]
push ecx
call edi
mov ebx, dword [ebp + 8]
jmp 0x4018d3
cmp dword [0x4a78ec], 0
je 0x4018b1
cmp dword [0x4ab430], 0
jne 0x4018b1
mov eax, dword [0x4a7978]
cmp byte [eax + 0xcc], 0
jne 0x4018a8
cmp byte [eax + 0xce], 0
jne 0x4018a8
cmp dword [eax + 0xc0], 0xffffffff
jle 0x4018a8
call edi
mov edx, eax
mov eax, dword [0x4a7978]
sub edx, dword [eax + 0xbc]
cmp edx, dword [eax + 0xc0]
jb 0x4018a8
mov byte [eax + 0xcc], 1
movzx eax, byte [eax + 0xcc]
jmp 0x4018b3
xor eax, eax
neg eax
sbb eax, eax
push 1
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x401562
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, eax
sub ecx, dword [esp + 0x18]
cmp ecx, 3
jbe 0x4018f3
mov dword [0x4ad950], eax
test ebx, ebx
jne 0x40190e
cmp byte [esp + 0x33], bl
jne 0x40190e
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x33], 1
jmp 0x4014f9
cmp dword [esp + 0x70], 0
jne 0x401935
cmp byte [esp + 0x60], 0
je 0x401935
test ebx, ebx
jle 0x401928
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x70], 1
jmp 0x4014f9
call esi
cmp byte [esp + 0x60], 0
jne 0x402d65
mov edx, dword [esp + 0x68]
sub edx, eax
add edx, ebx
cmp edx, 5
jle 0x402d65
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4014f9
cmp esi, 0x25
je 0x401a36
cmp esi, 0x27
je 0x401a36
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401a32
mov esi, dword [esp + 0x40]
cmp esi, 9
jne 0x4019ae
cmp byte [ebx + 4], 0xc
jne 0x4019ae
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x401a32
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x18], 0
jne 0x4019d6
mov bl, byte [ebx + 6]
mov ecx, edi
call fcn.00466ae0
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4019d6
xor bl, bl
call fcn.00466ae0
mov dword [esp + 0x18], eax
test eax, eax
je 0x401a36
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x401a32
mov eax, dword [esp + 0x40]
cmp eax, 0x22
je 0x401a1c
cmp eax, 9
jne 0x401a07
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401a1c
xor al, al
push 1
push 1
mov ecx, edi
push eax
mov eax, esi
call fcn.00466d80
jmp 0x4014f9
mov eax, 1
push eax
push eax
push eax
mov eax, esi
mov ecx, edi
call fcn.00466d80
jmp 0x4014f9
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x3c], 0x100
jne 0x401af6
cmp esi, 0x1b
je 0x401a80
cmp esi, 9
je 0x401a80
cmp esi, 0x41
jne 0x401af6
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov edx, 0x8000
test dx, ax
je 0x401af2
push 0xa5
call esi
mov ecx, 0x8000
test cx, ax
jne 0x401af2
mov eax, dword [esp + 0x20]
mov ebx, edi
call fcn.00401340
mov dword [esp + 0x14], eax
test eax, eax
je 0x401af2
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401af2
mov esi, dword [esp + 0x40]
cmp esi, 0x1b
je 0x401ae6
cmp esi, 0x41
je 0x401ac9
test byte [eax + 5], 0x80
je 0x401af6
mov eax, dword [eax]
push 0x499854
push 1
push 0xc2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4014f9
test byte [eax + 5], 2
jne 0x401af6
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4014f9
mov eax, edi
call fcn.00463490
jmp 0x4014f9
mov esi, dword [esp + 0x40]
mov eax, dword [0x4ad268]
test eax, eax
je 0x401b47
cmp dword [esp + 0x3c], 0x100
jne 0x401b47
cmp esi, 0xd
jne 0x401b23
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4014f9
cmp esi, 0x1b
jne 0x401b47
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4014f9
mov esi, dword [esp + 0x40]
jmp 0x401b55
mov esi, dword [esp + 0x40]
mov edx, dword [0x4aba38]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
xor edi, edi
test edx, edx
jle 0x401bb4
mov eax, dword [0x4a7978]
mov ecx, dword [0x4ab444]
mov byte [eax + 0xc8], 1
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc4], edx
mov edx, dword [ecx + edi*4]
lea eax, [esp + 0x38]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x402d53
mov edx, dword [0x4aba38]
mov eax, dword [0x4a7978]
inc edi
mov byte [eax + 0xc8], 0
cmp edi, edx
jl 0x401b60
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
cmp ecx, 0x312
ja 0x401d1c
je case.0x401d2e.1026
cmp ecx, 0x100
ja 0x401c2e
je 0x401c05
cmp ecx, 0x12
je 0x401bf2
cmp ecx, 0x4b
jne case.0x401d2e.1027
mov dword [0x4ab3d8], 0
mov byte [esp + 0x26], 1
jmp 0x4014f9
push 0
push 6
push 0x4ad328
call fcn.004161b0
jmp 0x4014f9
cmp ebx, dword [0x4ab2a4]
jne case.0x401d2e.1027
cmp esi, 0x1b
jne case.0x401d2e.1027
mov edx, dword [0x4ab2a0]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4014f9
cmp ecx, 0x113
jne case.0x401d2e.1027
cmp dword [esp + 0x44], 0
jne case.0x401d2e.1027
cmp ebx, dword [0x4ab2a0]
jne case.0x401d2e.1027
cmp dword [0x4acb9c], 0
je 0x401c5f
call fcn.004030a0
cmp dword [0x4ad908], 0
je 0x401c76
call fcn.00402ee0
test al, al
je 0x401c76
mov byte [esp + 0x13], 1
cmp dword [ebp + 0xc], 0
je 0x4014f9
cmp dword [ebp + 8], 1
jl 0x4014f9
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00402ea0
add esp, 8
test eax, eax
je 0x4014f9
cmp byte [esp + 0x27], 0
je 0x401cb5
mov byte [0x4ab3fd], 0
cmp byte [esp + 0x1f], 0
je 0x401d03
dec dword [0x4ab40c]
test esi, esi
jle 0x401d03
cmp dword [0x4ab40c], 0
jne 0x401d03
cmp dword [0x4ad908], 0
jne 0x401d03
cmp dword [0x4acb9c], 0
jne 0x401d03
cmp byte [0x4ab3f7], 0
je 0x401d03
mov eax, dword [0x4ab2a0]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401d03
mov byte [0x4ab3f7], 0
mov ecx, dword [esp + 0x12b4]
mov al, byte [esp + 0x13]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x400]
cmp eax, 0x15
ja case.0x401d2e.1027
movzx eax, byte [eax + 0x402e00]
jmp dword [eax*4 + 0x402df4]
test ebx, ebx
je case.0x401d2e.1026
cmp ebx, dword [0x4ab2a0]
jne case.0x401d2e.1027
xor edi, edi
lea eax, [ecx - 0x401]
mov dword [esp + 0x18], edi
cmp eax, 0x14
ja case.0x401d5d.1027
movzx ecx, byte [eax + 0x402e2c]
jmp dword [ecx*4 + 0x402e18]
xor eax, eax
cmp edx, edi
jle 0x401d81
mov ecx, dword [0x4ab444]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], ebx
je 0x401e2b
inc eax
cmp eax, edx
jl 0x401d70
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x402d04
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4ad2b4]
jne 0x402d04
push 0x20
lea edx, [esp + 0xbc]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0xb8]
push str.32770
push eax
call fcn.004855a1
add esp, 8
test eax, eax
jne 0x402d04
mov eax, dword [0x4a7978]
lea edx, [esp + 0x38]
mov byte [eax + 0xc8], 1
mov ecx, dword [esp + 0x3c]
push edx
push esi
mov dword [eax + 0xc4], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x402cf7
cmp dword [0x4ab43c], 0
je 0x401e1a
push 0x4abaa8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x4a7978]
mov byte [eax + 0xc8], 0
jmp 0x4014f9
mov eax, edi
xor ebx, ebx
mov dword [esp + 0xc], eax
cmp eax, ebx
je case.0x401d2e.1027
mov eax, dword [esp + 0x44]
movzx ecx, si
shr esi, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x2c], ebx
cmp ecx, 8
jne 0x401e6e
mov dword [esp + 0x74], 0x2af8
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc]
cmp esi, dword [eax + 0x10]
jae 0x401e86
lea edx, [esi + esi*4]
mov esi, dword [eax + 0x18]
lea edx, [esi + edx*4]
mov dword [esp + 0x14], edx
jmp 0x401e8a
mov dword [esp + 0x14], ebx
add ecx, 0xfffffffb
mov dword [esp + 0x64], ebx
mov byte [esp + 0x12], bl
cmp ecx, 4
ja case.default.0x401e9e
jmp dword [ecx*4 + 0x402e44]
mov edi, dword [eax + 0x2c]
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x4014f9
mov eax, dword [esp + 0xc]
add eax, 0x3a
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x401ecf
cmp byte [eax], bl
jne 0x4014f9
xor ebx, ebx
jmp 0x4021d9
mov edi, dword [eax + 0x24]
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x4014f9
mov ecx, dword [esp + 0xc]
add ecx, 0x38
mov dword [esp + 0x64], ecx
jmp 0x401ebf
mov edi, dword [eax + 0x28]
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x4014f9
mov edx, dword [esp + 0xc]
add edx, 0x39
mov dword [esp + 0x64], edx
jmp 0x401ebf
mov edi, dword [eax + 0x34]
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x4014f9
xor ebx, ebx
jmp 0x4021d9
mov edi, dword [eax + 0x30]
mov esi, dword [eax + 0x68]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x401f57
cmp esi, ebx
je 0x4014f9
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x401ecf
cmp esi, ebx
je 0x4014f9
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x68], 0
jmp 0x4014f9
cmp dword [esp + 0x14], ebx
je 0x4014f9
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x20], edi
test edi, edi
jne 0x401fa7
test byte [eax + 5], 1
je 0x4014f9
mov eax, dword [esp + 0xc]
call fcn.00463430
jmp 0x4014f9
test byte [eax + 5], 4
jne 0x4014f9
mov byte [esp + 0x12], 1
xor ebx, ebx
jmp 0x4021d9
cmp esi, edi
je 0x401fe0
call fcn.00459e00
mov dword [esp + 0xc], eax
cmp eax, edi
jne 0x401fe4
cmp ebx, edi
je 0x401fe4
cmp ebx, dword [0x4ab2a0]
jne case.0x401d2e.1027
jmp 0x401fe4
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x44]
mov eax, 0x4ad328
call fcn.00401390
mov dword [esp + 0x78], eax
test eax, eax
je 0x4014f9
mov ecx, eax
mov edi, dword [ecx + 8]
test edi, edi
je 0x4014f9
mov edx, eax
mov ebx, dword [edx + 0x18]
jmp 0x4021d5
cmp esi, dword [0x4acba4]
jae 0x4014f9
mov eax, dword [0x4acba0]
mov edi, dword [eax + esi*4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x54], edi
test esi, esi
je 0x40209e
mov ecx, dword [edi + 4]
push ecx
call fcn.004094f0
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
je 0x4014f9
mov edx, edi
mov eax, dword [edx + 0x10]
mov al, byte [eax]
cmp al, 1
je 0x402063
cmp al, 3
je 0x402063
mov dword [esp + 0x58], 0
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0040c450
cmp dword [edi + 0xc], 0
jne 0x4014f9
mov esi, dword [esp + 0x54]
mov dl, byte [esi + 0x2a]
neg dl
sbb dl, dl
and dl, byte [esp + 0x44]
mov byte [0x4ad920], dl
mov edi, dword [esi]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x20], edi
jmp 0x4021dd
mov dword [esp + 0x58], 0
jmp 0x402067
cmp byte [0x4ad8f4], 0
jne 0x4014f9
mov edi, dword [0x4ad8e8]
mov dword [esp + 0x20], edi
test edi, edi
jne 0x4020cd
mov edi, dword [0x4ad69c]
mov dword [esp + 0x20], edi
xor ebx, ebx
jmp 0x4021d9
mov ecx, dword [0x4a8a8c]
mov eax, esi
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x4014f9
mov eax, dword [eax*4 + 0x4abbe8]
shr esi, 0x10
mov dword [esp + 0x6c], eax
test si, si
je 0x40212f
mov ecx, eax
mov edx, dword [ecx + 0x20]
add esi, 0xffff
mov dword [esp + 0x5c], edx
test si, si
je 0x402127
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
add esi, 0xffff
mov dword [esp + 0x5c], ecx
test si, si
jne 0x402111
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jne 0x40214b
mov edx, dword [esp + 0x6c]
push edx
lea eax, [esp + 0x5c]
call fcn.00409fc0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4014f9
mov ebx, eax
mov esi, dword [ebx]
push esi
call fcn.0046d950
add esp, 4
sub eax, 0
je 0x40215e
dec eax
jne 0x402169
mov esi, dword [esi + 8]
test esi, esi
je 0x402169
mov al, byte [esi]
jmp 0x40216b
xor al, al
mov cl, byte [ebx + 0x16]
cmp cl, byte [ebx + 0x17]
jb 0x4021ab
cmp al, 0xde
je 0x4021ab
cmp al, 0xca
je 0x4021ab
cmp al, 0xd8
je 0x4021ab
cmp al, 0xd9
je 0x4021ab
cmp al, 0xd4
je 0x4021ab
cmp al, 0xd5
je 0x4021ab
cmp al, 0xd6
je 0x4021ab
cmp al, 0xd7
je 0x4021ab
cmp byte [ebx + 0x1a], 0
je 0x40219d
mov byte [ebx + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0xc], eax
jmp 0x4014f9
mov eax, dword [ebx + 4]
test eax, eax
je 0x4021cc
mov al, byte [eax]
cmp al, 2
je 0x4021cc
cmp al, 4
je 0x4021cc
cmp al, 5
jb 0x4021d0
mov edx, dword [0x4ab424]
mov dword [esp + 0x58], edx
jmp 0x4021d0
mov dword [esp + 0x58], edi
mov edi, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x54]
push edi
call fcn.0046d950
add esp, 4
sub eax, 0
je 0x4021ee
dec eax
jne 0x4021f9
mov edi, dword [edi + 8]
test edi, edi
je 0x4021f9
mov al, byte [edi]
jmp 0x4021fb
xor al, al
mov ecx, dword [0x4ab410]
mov edx, dword [0x4a78f8]
mov byte [esp + 0x80], al
cmp ecx, edx
jl 0x40225f
add edx, 2
cmp ecx, edx
jge 0x402239
cmp al, 0xde
je 0x40225f
cmp al, 0xca
je 0x40225f
cmp al, 0xd8
je 0x40225f
cmp al, 0xd9
je 0x40225f
cmp al, 0xd4
je 0x40225f
cmp al, 0xd5
je 0x40225f
cmp al, 0xd6
je 0x40225f
cmp al, 0xd7
je 0x40225f
cmp dword [esp + 0x18], 0
je 0x4014f9
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], 0
jmp 0x4014f9
mov edx, dword [0x4a7978]
cmp ebx, dword [edx + 0x2c]
jge 0x402290
cmp dword [esp + 0x18], 0
je 0x4014f9
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], 0
jmp 0x4014f9
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x13], 1
cmp eax, 0x402
je 0x402301
cmp eax, 0x413
jbe 0x4022b2
cmp eax, 0x415
jbe 0x402346
mov edx, dword [0x4ad8b0]
mov ecx, dword [0x4ad918]
mov dword [0x4ad8b4], edx
mov dword [0x4ad91c], ecx
cmp eax, 0x401
jne 0x4022e7
mov edx, dword [esi + 4]
mov dword [0x4ad8b0], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ad918], eax
jmp 0x402346
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x1c]
mov dword [0x4ad8b0], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ad918], eax
jmp 0x402346
mov edi, dword [esp + 0x78]
mov eax, dword [edi]
push 0x104
push eax
push 0x4ad6a4
call fcn.004883f0
mov byte [0x4ad7a8], 0
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
add esp, 0xc
push 0x104
push eax
push 0x4ad7a9
call fcn.004883f0
add esp, 0xc
mov byte [0x4ad8ad], 0
mov dword [0x4ad6a0], edi
mov ecx, dword [0x4abaa0]
xor edi, edi
push edi
push 1
call fcn.00401210
push 0x7f
push eax
lea eax, [esp + 0x180]
push eax
call fcn.004883f0
mov ecx, dword [esp + 0x8c]
add esp, 0xc
push ecx
push edi
push ebx
mov al, 1
mov byte [esp + 0x203], 0
call fcn.00403490
mov ebx, dword [0x4a7978]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ad954], eax
mov dword [0x4ad950], eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.0x4023b4.1027
movzx edx, byte [eax + 0x402e6c]
jmp dword [edx*4 + 0x402e58]
cmp byte [esp + 0x12], 0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x84], 0
je 0x4023d2
mov ecx, dword [esi]
jmp 0x4023d9
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x2c]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xd8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
xor edx, edx
mov dword [eax + 8], 1
mov dword [eax + 4], edx
inc edi
lea eax, [ecx - 5]
mov dword [esp + 0x2c], edi
cmp eax, 4
ja case.default.0x40240b
jmp dword [eax*4 + 0x402e84]
xor eax, eax
cmp dword [esp + 0x28], edx
mov dword [esp + 0x28], edx
sete al
lea eax, [eax + eax + 1]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x3c], ecx
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x40], eax
cmp esi, edx
je 0x4024e1
cmp dword [ebx + 0x34], 1
jne 0x40244f
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x3c]
push eax
call fcn.00467650
movzx eax, byte [esi + 4]
sub eax, 9
je 0x4024ca
dec eax
je 0x4024bc
dec eax
jne 0x4024e1
cmp dword [ebx + 0x34], 1
jne 0x40247b
mov ecx, dword [esi]
push eax
push 9
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4024dd
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x98]
mov dword [esp + 0x98], edx
mov edx, dword [esi]
push ecx
push edx
mov dword [esp + 0xa4], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0x98]
push eax
push 0
push 0x1111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4024dd
mov edx, dword [esi]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x4024d6
mov eax, dword [esi]
push 0
push 0
push 0x19f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
lea esi, [ebx + 0x3c]
call fcn.00473800
mov edx, edi
add edx, edx
cmp dword [esp + 0x14], 0
mov esi, 1
lea eax, [esp + edx*8 + 0xd8]
je 0x40251d
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
add edi, esi
mov dword [eax + 8], esi
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x40252b
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x499861
mov ecx, dword [esp + 0x28]
mov eax, edi
add eax, eax
mov dword [esp + eax*8 + 0xd8], ecx
mov dword [esp + eax*8 + 0xe0], esi
mov dword [esp + eax*8 + 0xdc], 0
lea eax, [esp + eax*8 + 0xd8]
add edi, esi
xor eax, eax
mov edx, edi
add edx, edx
add edi, esi
cmp dword [ebx + 0x34], 3
lea ecx, [esp + edx*8 + 0xd8]
sete al
mov dword [ecx + 8], esi
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0xd8]
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 8], esi
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebx + 0x40]
add edi, esi
mov ecx, edi
add ecx, ecx
lea ecx, [esp + ecx*8 + 0xd8]
cdq
mov dword [ecx + 8], esi
add edi, esi
mov esi, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x34]
jmp 0x4028a5
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x34], edx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], eax
mov ecx, dword [esp + 0x50]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
call fcn.00473800
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [esp + 0xc]
and eax, 0xffffffef
push eax
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esp + 0x18]
mov ecx, edi
add ecx, ecx
lea edx, [esp + ecx*8 + 0xd8]
push eax
mov dword [esp + 0x30], edx
call fcn.0045c170
mov ecx, dword [esp + 0x30]
add esp, 4
cmp dword [esp + 0x14], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x40264e
mov edx, dword [esp + 0x14]
lea ecx, [edi + 1]
add ecx, ecx
lea eax, [esp + ecx*8 + 0xd8]
mov ecx, dword [edx]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x402667
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0xd8]
mov dword [eax + 8], 0
mov dword [eax], 0x499861
mov eax, dword [esp + 0xc]
mov esi, dword [esi]
add edi, 2
mov ecx, edi
add ecx, ecx
cmp byte [eax + 0xc0], 0
lea edx, [esp + ecx*8 + 0xd8]
mov dword [esp + 0x2c], edx
je 0x40269a
mov ecx, dword [0x4ad2b8]
push ecx
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x40269c
mov eax, esi
mov ecx, dword [esp + 0x2c]
cdq
mov dword [ecx + 4], edx
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 0x40]
lea edx, [edi + 1]
add edx, edx
add edi, 2
cmp byte [ecx + 0xc0], 0
lea esi, [esp + edx*8 + 0xd8]
mov dword [esp + 0x2c], edi
je 0x4026e0
mov edx, dword [0x4ad2b8]
push edx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x34]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x14]
jmp 0x4028a9
mov dword [ebx + 0x34], 1
cmp ecx, 8
jne 0x4028a9
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x28]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0xd8]
mov dword [ebx + 0x3c], edx
mov dword [eax], esi
mov dword [eax + 8], 1
mov dword [eax + 4], 0
lea eax, [edi + 1]
add eax, eax
lea esi, [esp + eax*8 + 0xd8]
movzx eax, dx
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xc0], 0
je 0x402760
mov ecx, dword [0x4ad2b8]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x34]
cdq
mov dword [esi + 4], edx
lea edx, [edi + 2]
mov dword [esi], eax
mov eax, dword [esp + 0x7c]
add edx, edx
mov dword [esi + 8], 1
lea esi, [esp + edx*8 + 0xd8]
mov edx, dword [esp + 0xc]
add edi, 3
shr eax, 0x10
cmp byte [edx + 0xc0], 0
mov dword [esp + 0x2c], edi
je 0x4027a8
mov ecx, dword [0x4ad2b8]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x34]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x14]
jmp 0x4028a9
mov al, byte [esi + 4]
cmp al, 0xa
je 0x4027ef
cmp al, 0x19
jne 0x402864
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x50]
mov dword [esi + 4], eax
mov ecx, dword [ecx + 4]
call fcn.00473800
mov esi, dword [esp + 0x14]
jmp 0x402860
cmp cl, 0x49
jne 0x402864
lea eax, [esp + 0x84]
test ecx, 0x100
je 0x40280d
mov byte [esp + 0x84], 0x53
jmp 0x40281d
test ecx, 0x200
je 0x402824
mov byte [esp + 0x84], 0x73
lea eax, [esp + 0x85]
test ecx, 0x400
je 0x402831
mov byte [eax], 0x46
jmp 0x40283c
test ecx, 0x800
je 0x40283d
mov byte [eax], 0x66
inc eax
test ecx, 0x1000
je 0x40284a
mov byte [eax], 0x43
jmp 0x402855
test ecx, 0x2000
je 0x402856
mov byte [eax], 0x63
inc eax
mov byte [eax], dl
mov dword [esp + 0x34], 0x49
mov ecx, dword [esp + 0x34]
mov edx, edi
add edx, edx
mov eax, ecx
mov dword [ebx + 0x34], ecx
lea edx, [esp + edx*8 + 0xd8]
call fcn.0045c150
mov dword [edx], eax
lea eax, [edi + 1]
mov dword [edx + 8], 0
mov edx, dword [esp + 0x28]
add eax, eax
lea eax, [esp + eax*8 + 0xd8]
add edi, 2
mov dword [eax + 8], 1
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [esp + 0x2c], edi
cmp byte [esp + 0x12], 0
je 0x40299b
cmp byte [esi + 4], 0x17
jne 0x40299b
push 0x10b8
lea eax, [esp + 0x1fc]
push 0
push eax
call fcn.0048e920
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
add esp, 0xc
lea edx, [esp + 0x1f8]
push edx
push 0
push 0x703
dec ecx
push eax
mov dword [esp + 0x208], 0xd
mov dword [esp + 0x20c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4029fe
cmp word [esp + 0x268], 0
lea ecx, [esp + 0x268]
jne 0x402925
lea ecx, [esp + 0x208]
push 0xffffffffffffffff
lea edx, [esp + 0x140]
push edx
call fcn.00403900
push 1
push 0
push 0xffffffffffffffff
mov dword [esp + 0x12c8], 0
call fcn.00403810
push eax
mov eax, dword [0x4abaa0]
push eax
call fcn.00475300
lea eax, [esp + 0x13c]
mov dword [esp + 0x12bc], 0xffffffff
call fcn.00403830
mov ecx, edi
add ecx, ecx
push 0
lea esi, [esp + ecx*8 + 0xdc]
mov ecx, dword [0x4abaa0]
inc edi
push 1
mov dword [esp + 0x34], edi
call fcn.00401210
mov dword [esi + 8], 0
mov dword [esi], eax
mov esi, dword [esp + 0x14]
jmp 0x4029fe
cmp byte [esp + 0x84], 0
je 0x4029c5
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xd8]
inc edi
lea edx, [esp + 0x84]
mov dword [esp + 0x2c], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x4029eb
cmp ecx, 5
je 0x4029eb
mov ecx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
push ecx
call fcn.00475300
jmp 0x4029fe
mov edx, dword [esp + 0x28]
mov eax, dword [0x4abaa0]
push 0x18
push 0
push edx
call fcn.004010d0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x74]
mov dword [ebx + 0xa4], ecx
add dword [eax + 0x20], 2
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x38], eax
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x402a30
mov byte [ebx], 1
jmp 0x402a3b
cmp byte [esp + 0x12], 0
je 0x402a3b
or byte [esi + 5], 4
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xdc]
push edx
push str.call
push esi
xor eax, eax
mov edx, edi
mov ecx, esi
call fcn.0046aa70
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp dword [eax + 4], 0
je 0x402b0c
test ebx, ebx
je 0x402ab5
cmp dword [esp + 0x34], 6
mov byte [ebx], 0
jne 0x402ac4
cmp dword [esp + 0x94], 0
jne 0x402b0c
push esi
call fcn.0046d950
add esp, 4
test eax, eax
jne 0x402a9e
test esi, esi
jne 0x402b0c
mov eax, dword [esp + 0xc]
call fcn.00463430
mov esi, dword [esp + 0xc]
call fcn.0045bf90
jmp 0x402cb1
cmp byte [esp + 0x12], 0
je 0x402ac4
mov eax, dword [esp + 0x14]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x34], 5
jne 0x402b0c
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
push 0xffffffffffffffec
push ecx
mov dword [esi + 0x68], 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [esi + 4]
or eax, 0x10
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [esp + 0xc]
call fcn.0045bf90
jmp 0x402cb1
mov esi, dword [esp + 0xc]
cmp esi, edi
je 0x402b3c
mov eax, dword [esi + 4]
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0x34], 1
add dword [esi + 0x20], 2
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
mov eax, 0x4ad328
mov dword [esp + 0x150], edi
mov dword [esp + 0x148], 0x4ad6a4
call fcn.00443430
xor ecx, ecx
mov dword [esp + 0x15c], ecx
push edi
inc eax
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x160], eax
xor eax, eax
push str.call
push ecx
lea edx, [eax + 3]
mov dword [esp + 0x170], 1
mov dword [esp + 0x180], edi
mov dword [esp + 0x178], 0x4ad7a9
call fcn.0046aa70
add esp, 0x10
cmp esi, edi
je 0x402cb1
mov esi, dword [esp + 0xc]
call fcn.0045bf90
jmp 0x402cb1
mov edx, dword [esp + 0x58]
mov dword [ebx + 0xa4], edx
mov al, byte [esi + 0x21]
mov byte [ebx + 0xd6], al
call fcn.0040c3d0
jmp 0x402cb1
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402c07
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x402c00
push 0xf
call esi
test eax, eax
jne 0x402c00
mov eax, 2
jmp 0x402c09
mov eax, 1
jmp 0x402c09
xor eax, eax
push 0x18
push edi
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4abaa0]
call fcn.004010d0
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x4ad8e8]
mov dword [esp + 0xb0], 1
mov dword [esp + 0xac], edi
mov byte [0x4ad8f4], 1
cmp ecx, edi
je 0x402c52
call fcn.00401280
mov ecx, dword [0x4ad8e8]
cmp dword [esp + 0x40], edi
jne 0x402c74
xor edx, edx
cmp ecx, edi
sete dl
lea eax, [esp + 0xa8]
mov ebx, 0x4ad8c8
push edx
push 1
push eax
call fcn.0046da50
mov byte [0x4ad8f4], 0
jmp 0x402cb1
mov esi, dword [esp + 0x6c]
mov al, byte [esi + 0x10]
cmp al, 0x9c
jb 0x402c93
cmp al, 0x9f
ja 0x402c93
mov ecx, dword [esp + 0x44]
mov dword [ebx + 0x38], ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov dword [ebx + 0xa4], edx
mov cl, byte [eax + 0x18]
push eax
push esi
mov byte [ebx + 0xd6], cl
call fcn.0040a3a0
lea edx, [esp + 0x178]
push edx
call fcn.00403590
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x4014f9
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00402ea0
add esp, 8
test eax, eax
je 0x4014f9
mov byte [esp + 0x26], 1
mov byte [esp + 0x60], 1
jmp 0x4014f9
mov ecx, dword [0x4a7978]
mov byte [ecx + 0xc8], 0
mov eax, dword [0x4ab2b4]
test eax, eax
je 0x402d27
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [0x4ab2a0]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4014f9
mov eax, dword [0x4a7978]
mov byte [eax + 0xc8], 1
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x38]
push edx
mov dword [eax + 0xc4], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x4a7978]
mov byte [ecx + 0xc8], 0
jmp 0x4014f9
cmp ebx, 0xffffffff
jle 0x402d83
mov dword [0x4ad940], 0
mov dword [0x4ad944], 0
mov dword [0x4ad950], eax
cmp byte [esp + 0x27], 0
mov dword [0x4ad954], eax
je 0x402d96
mov byte [0x4ab3fd], 0
cmp byte [esp + 0x1f], 0
je 0x401d03
dec dword [0x4ab40c]
test ebx, ebx
jle 0x401d03
cmp dword [0x4ab40c], 0
jne 0x401d03
cmp dword [0x4ad908], 0
jne 0x401d03
cmp dword [0x4acb9c], 0
jne 0x401d03
cmp byte [0x4ab3f7], 0
je 0x401d03
mov edx, dword [0x4ab2a0]
push 9
push edx
jmp 0x401cf2