Function at 0x401910
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Check os version
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 0x4ccfab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12a4
call fcn.004c6f60
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x21], 0
lea ebx, [edi + 1]
jne 0x40195f
cmp byte [0x4f0d35], 0
mov dword [ebp + 0xc], ebx
jne 0x40195f
mov byte [0x4f0d35], bl
mov byte [esp + 0x21], bl
cmp dword [0x4f2360], edi
je 0x401993
cmp dword [0x4f2350], edi
je 0x401981
mov eax, dword [0x4f2348]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4f2350], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4f2360], edi
mov dword [0x4f2348], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x4019b3
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x60], 1
mov dword [esp + 0x70], edi
jmp 0x4019d1
cmp esi, 5
setle al
mov byte [esp + 0x60], al
test al, al
je 0x4019c7
mov dword [esp + 0x70], edi
jmp 0x4019d1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x70], eax
cmp dword [0x4f153c], edi
je 0x4019de
call fcn.00403680
mov byte [esp + 0x17], 0
cmp dword [0x4f22b8], edi
je 0x4019f9
call fcn.004034a0
test al, al
je 0x4019f9
mov byte [esp + 0x17], 1
cmp esi, edi
jle 0x401c84
cmp dword [ebp + 0xc], ebx
jne 0x401c84
add dword [0x4f0d44], ebx
cmp byte [0x4f0d2f], 0
mov byte [esp + 0x22], 1
jne 0x401a3b
mov ecx, dword [0x4f0bd8]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4f0d2f], dl
mov byte [esp + 0x2f], 0
mov byte [esp + 0x23], 0
mov dword [esp + 0x78], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov edi, eax
mov dword [esp + 0x58], edi
cmp dword [0x4ec2c0], ebx
jg 0x401aa1
mov esi, dword [0x4ec2cc]
mov dword [0x4ec2c0], ebx
cmp esi, 0xffffffff
jne 0x401a7d
mov esi, dword fs:[0x30]
mov dword [0x4ec2cc], esi
call fcn.004012f0
cmp esi, ebx
je 0x401c8e
movzx eax, byte [esi + 2]
mov dword [0x4ec2c0], eax
cmp eax, ebx
je 0x401aa1
mov dword [0x4f0bc0], 0xde
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x401ca6
cmp byte [esp + 0x23], 0
jne 0x401ca6
cmp byte [0x4f0d35], 0
jne 0x401cb3
call fcn.00403c40
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x401a49
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, edi
cmp ecx, 3
jbe 0x401b04
mov dword [0x4f2300], eax
inc dword [esp + 0x78]
cmp dword [0x4f1c90], 0
je 0x401b3d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea edi, [esp + 0x38]
call fcn.004036f0
add esp, 0x10
test al, al
jne 0x401a49
mov edx, dword [0x4f1370]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
test edx, edx
je 0x402190
test ebx, ebx
je 0x402190
cmp ebx, dword [0x4f0bd8]
je 0x402190
cmp ecx, 0x414
je 0x402190
cmp ecx, 0x402
je 0x402190
lea eax, [ecx - 0x100]
cmp eax, 9
ja 0x402116
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x40211c
call fcn.004a7a70
mov ebx, eax
test ebx, ebx
je 0x40211c
mov eax, esi
call fcn.004597f0
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x40211c
mov eax, dword [edi + 0x74]
test eax, eax
je 0x401be2
lea ecx, [esp + 0x34]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401a49
cmp dword [esp + 0x38], 0x100
mov esi, dword [esp + 0x3c]
jne 0x4020cf
cmp byte [edi + 0xb8], 0
je 0x40201d
cmp esi, 0x22
je 0x401c1e
cmp esi, 0x21
je 0x401c1e
cmp esi, 9
je 0x401c1e
cmp esi, 0x25
je 0x401c1e
cmp esi, 0x27
jne 0x40201d
mov eax, dword [esp + 0x1c]
mov ebx, edi
call fcn.00401800
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x40200b
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x40200b
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x28], 0
cmp al, 0x13
jne 0x401f39
mov dword [esp + 0x28], ebx
cmp esi, 0x25
je 0x401c68
cmp esi, 0x27
jne 0x401f39
cmp esi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, edi
call fcn.004666c0
jmp 0x401a49
mov byte [esp + 0x22], 0
jmp 0x401a3b
cmp eax, ebx
je 0x401c9b
movzx eax, byte [eax + 2]
jmp 0x401a8e
mov dword [0x4ec2c0], ebx
jmp 0x401aa1
cmp byte [0x4f0d35], 0
je 0x401e2d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x401e2d
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4f1c80]
jne 0x401e2d
cmp dword [0x4f0d74], 0
je 0x401d19
push 0x20
lea edx, [esp + 0x120]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x4d6964
call fcn.0049be50
add esp, 4
push eax
lea eax, [esp + 0x120]
push eax
call fcn.004ba285
add esp, 8
test eax, eax
sete al
test al, al
jne 0x401d80
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x401e2d
push 0x20
lea ecx, [esp + 0x120]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x4d6974
call fcn.0049be50
add esp, 4
push eax
lea edx, [esp + 0x120]
push edx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x401d80
push 0x4d698c
call fcn.0049be50
add esp, 4
push eax
lea eax, [esp + 0x120]
push eax
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x401e2d
call fcn.00403c40
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0x1ff
neg eax
push 0
sbb esi, esi
push 0
lea ecx, [esp + 0x44]
and esi, 0xfffffcee
push ecx
add esi, 0x311
call edi
test eax, eax
jne 0x401dc6
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x44]
push edx
call edi
jmp 0x401eac
mov ebx, dword [esp + 0x44]
push 0
push esi
push 0x20e
push 0
lea eax, [esp + 0x44]
push eax
call edi
push 1
test eax, eax
jne 0x401df7
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [ebp + 8]
jmp 0x401eac
mov edx, dword [esp + 0x48]
sub edx, ebx
test edx, edx
jle 0x401e19
push 0x1ff
push 0
push 0
lea eax, [esp + 0x44]
push eax
call edi
mov ebx, dword [ebp + 8]
jmp 0x401eac
push esi
push 0x20e
push 0
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [ebp + 8]
jmp 0x401eac
cmp dword [0x4ec46c], 0
je 0x401e8a
cmp dword [0x4f0d68], 0
jne 0x401e8a
mov eax, dword [0x4ec48c]
cmp byte [eax + 0xcc], 0
jne 0x401e81
cmp byte [eax + 0xce], 0
jne 0x401e81
cmp dword [eax + 0xc0], 0xffffffff
jle 0x401e81
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [0x4ec48c]
sub edx, dword [eax + 0xbc]
cmp edx, dword [eax + 0xc0]
jb 0x401e81
mov byte [eax + 0xcc], 1
movzx eax, byte [eax + 0xcc]
jmp 0x401e8c
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 + 0x44]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x401b04
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, eax
sub ecx, dword [esp + 0x58]
cmp ecx, 3
jbe 0x401ecc
mov dword [0x4f2300], eax
test ebx, ebx
jne 0x401ee7
cmp byte [esp + 0x2f], bl
jne 0x401ee7
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x2f], 1
jmp 0x401a49
cmp dword [esp + 0x78], 0
jne 0x401f0e
cmp byte [esp + 0x60], 0
je 0x401f0e
test ebx, ebx
jle 0x401f01
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x78], 1
jmp 0x401a49
call esi
cmp byte [esp + 0x60], 0
jne 0x403322
mov edx, dword [esp + 0x70]
sub edx, eax
add edx, ebx
cmp edx, 5
jle 0x403322
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401a49
cmp esi, 0x25
je 0x40200f
cmp esi, 0x27
je 0x40200f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x40200b
mov esi, dword [esp + 0x3c]
cmp esi, 9
jne 0x401f87
cmp byte [ebx + 4], 0xc
jne 0x401f87
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x40200b
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x28], 0
jne 0x401faf
mov bl, byte [ebx + 6]
mov ecx, edi
call fcn.00466420
mov dword [esp + 0x28], eax
test eax, eax
jne 0x401faf
xor bl, bl
call fcn.00466420
mov dword [esp + 0x28], eax
test eax, eax
je 0x40200f
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40200b
mov eax, dword [esp + 0x3c]
cmp eax, 0x22
je 0x401ff5
cmp eax, 9
jne 0x401fe0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401ff5
xor al, al
push 1
push 1
mov ecx, edi
push eax
mov eax, esi
call fcn.004666c0
jmp 0x401a49
mov eax, 1
push eax
push eax
push eax
mov eax, esi
mov ecx, edi
call fcn.004666c0
jmp 0x401a49
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x38], 0x100
jne 0x4020cf
cmp esi, 0x1b
je 0x402059
cmp esi, 9
je 0x402059
cmp esi, 0x41
jne 0x4020cf
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov edx, 0x8000
test dx, ax
je 0x4020cb
push 0xa5
call esi
mov ecx, 0x8000
test cx, ax
jne 0x4020cb
mov eax, dword [esp + 0x1c]
mov ebx, edi
call fcn.00401800
mov dword [esp + 0x18], eax
test eax, eax
je 0x4020cb
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x4020cb
mov esi, dword [esp + 0x3c]
cmp esi, 0x1b
je 0x4020bf
cmp esi, 0x41
je 0x4020a2
test byte [eax + 5], 0x80
je 0x4020cf
mov eax, dword [eax]
push 0x4d69a4
push 1
push 0xc2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401a49
test byte [eax + 5], 2
jne 0x4020cf
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401a49
mov eax, edi
call fcn.00462eb0
jmp 0x401a49
mov esi, dword [esp + 0x3c]
mov eax, dword [0x4f1c08]
test eax, eax
je 0x402120
cmp dword [esp + 0x38], 0x100
jne 0x402120
cmp esi, 0xd
jne 0x4020fc
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401a49
cmp esi, 0x1b
jne 0x402120
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401a49
mov esi, dword [esp + 0x3c]
jmp 0x40212e
mov esi, dword [esp + 0x3c]
mov edx, dword [0x4f1370]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
xor edi, edi
test edx, edx
jle 0x402194
mov eax, dword [0x4ec48c]
lea esp, [esp]
mov ecx, dword [0x4f0d7c]
mov byte [eax + 0xc8], 1
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc4], edx
mov edx, dword [ecx + edi*4]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x403310
mov edx, dword [0x4f1370]
mov eax, dword [0x4ec48c]
inc edi
mov byte [eax + 0xc8], 0
cmp edi, edx
jl 0x402140
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
cmp ecx, 0x312
ja 0x4022fc
je case.0x40230e.1026
cmp ecx, 0x100
ja 0x40220e
je 0x4021e5
cmp ecx, 0x12
je 0x4021d2
cmp ecx, 0x4b
jne case.0x40230e.1027
mov dword [0x4f0d10], 0
mov byte [esp + 0x23], 1
jmp 0x401a49
push 0
push 6
push 0x4f1cd8
call fcn.0041cda0
jmp 0x401a49
cmp ebx, dword [0x4f0bdc]
jne case.0x40230e.1027
cmp esi, 0x1b
jne case.0x40230e.1027
mov edx, dword [0x4f0bd8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401a49
cmp ecx, 0x113
jne case.0x40230e.1027
cmp dword [esp + 0x40], 0
jne case.0x40230e.1027
cmp ebx, dword [0x4f0bd8]
jne case.0x40230e.1027
cmp dword [0x4f153c], 0
je 0x40223f
call fcn.00403680
cmp dword [0x4f22b8], 0
je 0x402256
call fcn.004034a0
test al, al
je 0x402256
mov byte [esp + 0x17], 1
cmp dword [ebp + 0xc], 0
je 0x401a49
cmp dword [ebp + 8], 1
jl 0x401a49
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00403460
add esp, 8
test eax, eax
je 0x401a49
cmp byte [esp + 0x21], 0
je 0x402295
mov byte [0x4f0d35], 0
cmp byte [esp + 0x22], 0
je 0x4022e3
dec dword [0x4f0d44]
test esi, esi
jle 0x4022e3
cmp dword [0x4f0d44], 0
jne 0x4022e3
cmp dword [0x4f22b8], 0
jne 0x4022e3
cmp dword [0x4f153c], 0
jne 0x4022e3
cmp byte [0x4f0d2f], 0
je 0x4022e3
mov eax, dword [0x4f0bd8]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4022e3
mov byte [0x4f0d2f], 0
mov ecx, dword [esp + 0x12b4]
mov al, byte [esp + 0x17]
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.0x40230e.1027
movzx eax, byte [eax + 0x4033bc]
jmp dword [eax*4 + 0x4033b0]
test ebx, ebx
je case.0x40230e.1026
cmp ebx, dword [0x4f0bd8]
jne case.0x40230e.1027
xor edi, edi
lea eax, [ecx - 0x401]
mov dword [esp + 0x28], edi
cmp eax, 0x14
ja case.0x40233d.1027
movzx ecx, byte [eax + 0x4033e8]
jmp dword [ecx*4 + 0x4033d4]
xor eax, eax
cmp edx, edi
jle 0x402361
mov ecx, dword [0x4f0d7c]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], ebx
je 0x402414
inc eax
cmp eax, edx
jl 0x402350
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4032c1
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4f1c80]
jne 0x4032c1
push 0x20
lea edx, [esp + 0x120]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x4d6964
call fcn.0049be50
add esp, 4
push eax
lea eax, [esp + 0x120]
push eax
call fcn.004ba285
add esp, 8
test eax, eax
jne 0x4032c1
mov eax, dword [0x4ec48c]
lea edx, [esp + 0x34]
mov byte [eax + 0xc8], 1
mov ecx, dword [esp + 0x38]
push edx
push esi
mov dword [eax + 0xc4], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x4032b4
cmp dword [0x4f0d74], 0
je 0x402403
push 0x4f13e0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x4ec48c]
mov byte [eax + 0xc8], 0
jmp 0x401a49
mov eax, edi
xor edi, edi
mov dword [esp + 0x10], eax
cmp eax, edi
je case.0x40230e.1027
mov eax, dword [esp + 0x40]
movzx ecx, si
shr esi, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x50], edi
cmp ecx, 8
jne 0x40245a
mov dword [esp + 0x7c], 0x2af8
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 0x10]
jae 0x402472
lea edx, [esi + esi*4]
mov esi, dword [eax + 0x18]
lea edx, [esi + edx*4]
mov dword [esp + 0x18], edx
jmp 0x402476
mov dword [esp + 0x18], edi
add ecx, 0xfffffffb
mov dword [esp + 0x68], edi
mov byte [esp + 0x16], 0
cmp ecx, 4
ja case.default.0x40248b
jmp dword [ecx*4 + 0x403400]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x401a49
mov eax, dword [esp + 0x10]
add eax, 0x3a
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4024bd
cmp byte [eax], 0
jne 0x401a49
xor ebx, ebx
jmp 0x402781
mov eax, dword [eax + 0x24]
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x401a49
mov ecx, dword [esp + 0x10]
add ecx, 0x38
mov dword [esp + 0x68], ecx
jmp 0x4024ac
mov eax, dword [eax + 0x28]
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x401a49
mov edx, dword [esp + 0x10]
add edx, 0x39
mov dword [esp + 0x68], edx
jmp 0x4024ac
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x401a49
xor ebx, ebx
jmp 0x402781
mov esi, dword [eax + 0x68]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x402545
cmp esi, edi
je 0x401a49
xor edi, edi
push edi
push edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [esp + 0x24], eax
cmp eax, edi
jne 0x4024bd
cmp esi, edi
je 0x401a49
push esi
jmp 0x402853
cmp dword [esp + 0x18], edi
je 0x401a49
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x402584
test byte [ecx + 5], 1
je 0x401a49
mov eax, dword [esp + 0x10]
call fcn.00462e50
jmp 0x401a49
test byte [ecx + 5], 4
jne 0x401a49
mov byte [esp + 0x16], 1
xor ebx, ebx
jmp 0x402781
cmp esi, edi
je 0x4025bd
call fcn.004597c0
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x4025c1
cmp ebx, edi
je 0x4025c1
cmp ebx, dword [0x4f0bd8]
jne case.0x40230e.1027
jmp 0x4025c1
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x40]
mov eax, 0x4f1cd8
call fcn.00401850
mov dword [esp + 0x6c], eax
test eax, eax
je 0x401a49
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x401a49
mov edx, ecx
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x1c], eax
jmp 0x402781
cmp esi, dword [0x4f1544]
jae 0x401a49
mov eax, dword [0x4f1540]
mov edi, dword [eax + esi*4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x54], edi
test esi, esi
je 0x40267f
mov ecx, dword [edi + 4]
push ecx
call fcn.00409d50
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
je 0x401a49
mov edx, edi
mov eax, dword [edx + 0x10]
mov al, byte [eax]
cmp al, 1
je 0x402644
cmp al, 3
je 0x402644
mov dword [esp + 0x5c], 0
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0040cda0
cmp dword [edi + 0xc], 0
jne 0x401a49
mov edi, dword [esp + 0x54]
mov dl, byte [edi + 0x2a]
neg dl
sbb dl, dl
and dl, byte [esp + 0x40]
mov byte [0x4f22d0], dl
mov eax, dword [edi]
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
jmp 0x402785
mov dword [esp + 0x5c], 0
jmp 0x402648
cmp byte [0x4f22a4], 0
jne 0x401a49
mov eax, dword [0x4f2298]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4026ad
mov ecx, dword [0x4f204c]
mov dword [esp + 0x1c], ecx
xor ebx, ebx
jmp 0x402781
mov ecx, dword [0x4ec518]
mov eax, esi
and eax, 0x7fff
cmp ax, word [ecx]
jae 0x401a49
movzx edx, ax
mov eax, dword [0x4f1520]
mov ecx, dword [eax + edx*4]
shr esi, 0x10
mov dword [esp + 0x74], ecx
test si, si
je 0x402713
mov edx, ecx
mov eax, dword [edx + 0x20]
add esi, 0xffff
mov dword [esp + 0x64], eax
test si, si
je 0x40270b
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 8]
add esi, 0xffff
mov dword [esp + 0x64], edx
test si, si
jne 0x4026f5
mov edi, dword [esp + 0x64]
test edi, edi
jne 0x40272f
mov eax, dword [esp + 0x74]
push eax
lea eax, [esp + 0x60]
call fcn.0040a800
mov dword [esp + 0x64], eax
test eax, eax
je 0x401a49
mov edi, eax
call fcn.00401880
test al, al
jne 0x40274f
cmp byte [edi + 0x1a], al
je 0x402741
mov byte [edi + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xc], eax
jmp 0x401a49
mov eax, dword [edi + 4]
test eax, eax
je 0x402770
mov al, byte [eax]
cmp al, 2
je 0x402770
cmp al, 4
je 0x402770
cmp al, 5
jb 0x402778
mov ecx, dword [0x4f0d5c]
mov dword [esp + 0x5c], ecx
jmp 0x402778
mov dword [esp + 0x5c], 0
mov edx, dword [edi]
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x1c], edx
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
push esi
call fcn.00499050
add esp, 4
sub eax, 0
je 0x40279a
dec eax
jne 0x4027a6
mov eax, dword [esi + 8]
test eax, eax
je 0x4027a6
movzx esi, word [eax]
jmp 0x4027a8
xor esi, esi
mov eax, dword [0x4f0d48]
mov ecx, dword [0x4ec478]
cmp eax, ecx
jl 0x402838
add ecx, 2
cmp eax, ecx
jge 0x402812
mov eax, 0xde
cmp si, ax
je 0x402838
mov ecx, 0xca
cmp si, cx
je 0x402838
mov edx, 0xd8
cmp si, dx
je 0x402838
mov eax, 0xd9
cmp si, ax
je 0x402838
mov ecx, 0xd4
cmp si, cx
je 0x402838
mov edx, 0xd5
cmp si, dx
je 0x402838
mov eax, 0xd6
cmp si, ax
je 0x402838
mov ecx, 0xd7
cmp si, cx
je 0x402838
cmp dword [esp + 0x28], 0
je 0x401a49
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x68], 0
jmp 0x401a49
mov ecx, dword [0x4ec48c]
cmp ebx, dword [ecx + 0x2c]
jge 0x402869
cmp dword [esp + 0x28], 0
je 0x401a49
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x68], 0
jmp 0x401a49
mov eax, dword [esp + 0x38]
mov byte [esp + 0x17], 1
cmp eax, 0x402
je 0x4028d9
cmp eax, 0x413
jbe 0x40288b
cmp eax, 0x415
jbe 0x402925
mov ecx, dword [0x4f2260]
mov edx, dword [0x4f22c8]
mov dword [0x4f2264], ecx
mov dword [0x4f22cc], edx
cmp eax, 0x401
jne 0x4028bf
mov eax, dword [edi + 4]
mov dword [0x4f2260], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f22c8], eax
jmp 0x402925
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x1c]
mov dword [0x4f2260], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f22c8], eax
jmp 0x402925
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
push 0x104
push eax
push 0x4f2054
call fcn.004bd1c0
mov ecx, dword [esp + 0x78]
mov byte [0x4f2158], 0
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
add esp, 0xc
push 0x104
push eax
push 0x4f2159
call fcn.004bd1c0
mov eax, dword [esp + 0x78]
add esp, 0xc
mov byte [0x4f225d], 0
mov dword [0x4f2050], eax
mov ecx, dword [0x4f13d8]
push 0
push 1
call fcn.004016d0
push 0x7f
push eax
lea ecx, [esp + 0x180]
push ecx
call fcn.004bd1c0
add esp, 0xc
push esi
push 0
push ebx
mov al, 1
mov byte [esp + 0x203], 0
call fcn.00403a70
mov ebx, dword [0x4ec48c]
add esp, 0xc
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f2304], eax
mov dword [0x4f2300], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.0x402990.1027
movzx edx, byte [eax + 0x403428]
jmp dword [edx*4 + 0x403414]
cmp byte [esp + 0x16], 0
mov esi, dword [esp + 0x18]
mov byte [esp + 0x84], 0
je 0x4029ae
mov ecx, dword [esi]
jmp 0x4029b5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x50]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xb8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov dword [eax + 8], 1
mov dword [eax + 4], edx
inc edi
lea eax, [ecx - 5]
mov dword [esp + 0x50], edi
cmp eax, 4
ja case.default.0x4029e7
jmp dword [eax*4 + 0x403440]
xor eax, eax
cmp dword [esp + 0x24], edx
mov dword [esp + 0x24], edx
sete al
lea eax, [eax + eax + 1]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x3c], ecx
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x40], eax
cmp esi, edx
je 0x402abd
cmp dword [ebx + 0x34], 1
jne 0x402a2b
mov esi, dword [esp + 0x18]
lea eax, [ebx + 0x3c]
push eax
call fcn.00466fb0
movzx eax, byte [esi + 4]
sub eax, 9
je 0x402aa6
dec eax
je 0x402a98
dec eax
jne 0x402abd
cmp dword [ebx + 0x34], 1
jne 0x402a57
mov ecx, dword [esi]
push eax
push 9
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402ab9
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], edx
mov edx, dword [esi]
push ecx
push edx
mov dword [esp + 0xb4], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0xa8]
push eax
push 0
push 0x1111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402ab9
mov edx, dword [esi]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x402ab2
mov eax, dword [esi]
push 0
push 0
push 0x19f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
lea esi, [ebx + 0x3c]
call fcn.004a41c0
cmp dword [esp + 0x18], 0
mov ecx, 1
je 0x402af9
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xb8]
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
add edi, ecx
mov dword [eax + 8], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
jmp 0x402b12
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0xb8]
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4d6959
mov edx, edi
add edx, edx
mov dword [esp + edx*8 + 0xc0], ecx
mov dword [esp + edx*8 + 0xbc], 0
lea eax, [esp + edx*8 + 0xb8]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
add edi, ecx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0xb8]
xor eax, eax
add edi, ecx
cmp dword [ebx + 0x34], 3
mov dword [esi + 8], ecx
sete al
cdq
mov dword [esi + 4], edx
mov dword [esi], eax
mov eax, dword [ebx + 0x3c]
mov edx, edi
add edx, edx
lea esi, [esp + edx*8 + 0xb8]
cdq
mov dword [esi], eax
add edi, ecx
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0xb8]
mov eax, dword [ebx + 0x40]
cdq
add edi, ecx
mov dword [esi + 8], ecx
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x402e5b
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x34], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
lea esi, [ebx + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 4], eax
mov ecx, dword [ecx + 4]
call fcn.004a41c0
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esp + 0x28]
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0xb8]
push edx
mov dword [esp + 0x5c], ecx
call fcn.0045bbb0
mov ecx, dword [esp + 0x5c]
add esp, 4
cmp dword [esp + 0x18], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x402c28
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0xb8]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x402c41
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0xb8]
mov dword [eax + 8], 0
mov dword [eax], 0x4d6959
mov edx, dword [esp + 0x10]
mov esi, dword [esi]
add edi, 2
mov eax, edi
add eax, eax
cmp byte [edx + 0xc0], 0
lea ecx, [esp + eax*8 + 0xb8]
mov dword [esp + 0x58], ecx
je 0x402c73
mov eax, dword [0x4f1c84]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x402c75
mov eax, esi
mov ecx, dword [esp + 0x58]
cdq
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov eax, dword [ebx + 0x40]
lea ecx, [edi + 1]
add ecx, ecx
add edi, 2
cmp byte [edx + 0xc0], 0
lea esi, [esp + ecx*8 + 0xb8]
mov dword [esp + 0x50], edi
je 0x402cb9
mov ecx, dword [0x4f1c84]
push ecx
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 0x402e5f
mov dword [ebx + 0x34], 1
cmp ecx, 8
jne 0x402e67
mov ecx, dword [esp + 0x80]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xb8]
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x3c], ecx
mov dword [eax], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 8], 1
mov dword [eax + 4], 0
lea eax, [edi + 1]
add eax, eax
cmp byte [edx + 0xc0], 0
lea esi, [esp + eax*8 + 0xb8]
movzx eax, cx
je 0x402d37
mov ecx, dword [0x4f1c84]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x80]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
lea edx, [edi + 2]
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], 1
add edx, edx
add edi, 3
shr eax, 0x10
cmp byte [ecx + 0xc0], 0
lea esi, [esp + edx*8 + 0xb8]
mov dword [esp + 0x50], edi
je 0x402cb9
mov edx, dword [0x4f1c84]
push edx
jmp 0x402cb0
mov al, byte [esi + 4]
cmp al, 0xa
je 0x402da7
cmp al, 0x19
jne 0x402e18
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x40], ecx
mov ecx, dword [edx + 4]
lea esi, [ebx + 0x3c]
call fcn.004a41c0
jmp 0x402e18
cmp cl, 0x49
jne 0x402e18
lea eax, [esp + 0x84]
test ecx, 0x100
je 0x402dc5
mov byte [esp + 0x84], 0x53
jmp 0x402dd5
test ecx, 0x200
je 0x402ddc
mov byte [esp + 0x84], 0x73
lea eax, [esp + 0x85]
test ecx, 0x400
je 0x402de9
mov byte [eax], 0x46
jmp 0x402df4
test ecx, 0x800
je 0x402df5
mov byte [eax], 0x66
inc eax
test ecx, 0x1000
je 0x402e02
mov byte [eax], 0x43
jmp 0x402e0d
test ecx, 0x2000
je 0x402e0e
mov byte [eax], 0x63
inc eax
mov byte [eax], dl
mov dword [esp + 0x30], 0x49
mov eax, ebx
mov ebx, dword [esp + 0x30]
mov ecx, edi
add ecx, ecx
mov dword [eax + 0x34], ebx
lea esi, [esp + ecx*8 + 0xb8]
call fcn.0045bb10
mov ebx, dword [esp + 0x58]
lea edx, [edi + 1]
mov dword [esi], eax
add edx, edx
lea eax, [esp + edx*8 + 0xb8]
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov dword [esi + 8], ecx
add edi, 2
mov dword [eax + 8], 1
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [esp + 0x50], edi
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x16], 0
je 0x402f59
cmp byte [esi + 4], 0x17
jne 0x402f59
push 0x10b8
lea eax, [esp + 0x1fc]
push 0
push eax
call fcn.004c16a0
mov ecx, dword [esp + 0x30]
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 0x402fbc
cmp word [esp + 0x268], 0
lea ecx, [esp + 0x268]
jne 0x402ee3
lea ecx, [esp + 0x208]
push 0xffffffffffffffff
lea edx, [esp + 0x140]
push edx
call fcn.00403f30
push 1
push 0
push 0xffffffffffffffff
mov dword [esp + 0x12c8], 0
call fcn.00403e10
push eax
mov eax, dword [0x4f13d8]
push eax
call fcn.004a5c20
lea eax, [esp + 0x13c]
mov dword [esp + 0x12bc], 0xffffffff
call fcn.00403e30
mov ecx, edi
add ecx, ecx
push 0
lea esi, [esp + ecx*8 + 0xbc]
mov ecx, dword [0x4f13d8]
inc edi
push 1
mov dword [esp + 0x58], edi
call fcn.004016d0
mov dword [esi + 8], 0
mov dword [esi], eax
mov esi, dword [esp + 0x18]
jmp 0x402fbc
cmp byte [esp + 0x84], 0
je 0x402f83
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xb8]
inc edi
lea edx, [esp + 0x84]
mov dword [esp + 0x50], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x402fa9
cmp ecx, 5
je 0x402fa9
mov ecx, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
push ecx
call fcn.004a5c20
jmp 0x402fbc
mov edx, dword [esp + 0x24]
mov eax, dword [0x4f13d8]
push 0x18
push 0
push edx
call fcn.00401570
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x7c]
mov dword [ebx + 0xa4], ecx
add dword [eax + 0x20], 2
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x50], edx
test eax, eax
je 0x402fee
mov byte [eax], 1
jmp 0x402ff9
cmp byte [esp + 0x16], 0
je 0x402ff9
or byte [esi + 5], 4
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x94]
push ecx
push edi
lea edx, [esp + 0xc0]
push edx
push str.call
xor eax, eax
mov ecx, ebx
call fcn.00496190
mov esi, dword [esp + 0x20]
add esp, 0x10
cmp dword [esi + 4], 0
je 0x4030c2
mov eax, dword [esp + 0x68]
test eax, eax
je 0x40306f
cmp dword [esp + 0x30], 6
mov byte [eax], 0
jne 0x40307e
cmp dword [esp + 0x94], 0
jne 0x4030c2
push ebx
call fcn.00499050
add esp, 4
test eax, eax
jne 0x40305a
test ebx, ebx
jne 0x4030c2
mov eax, esi
call fcn.00462e50
mov esi, dword [esp + 0x10]
call fcn.0045b940
jmp 0x40326e
cmp byte [esp + 0x16], 0
je 0x40307e
mov eax, dword [esp + 0x18]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x30], 5
jne 0x4030c2
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
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 + 0x10]
call fcn.0045b940
jmp 0x40326e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4030f2
mov ecx, dword [eax + 4]
mov dword [ebx + 0xa4], ecx
mov dword [ebx + 0x34], 1
add dword [eax + 0x20], 2
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
xor esi, esi
mov eax, 0x4f1cd8
mov dword [esp + 0x150], esi
mov dword [esp + 0x148], 0x4f2054
call fcn.00443740
push esi
xor ecx, ecx
inc eax
push 3
lea edx, [esp + 0x150]
mov dword [esp + 0x164], ecx
mov ecx, dword [esp + 0x24]
push edx
mov dword [esp + 0x164], eax
push str.call
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x170], 1
mov dword [esp + 0x180], esi
mov dword [esp + 0x178], 0x4f2159
call fcn.00496190
mov esi, dword [esp + 0x20]
add esp, 0x10
test esi, esi
je 0x40326e
call fcn.0045b940
jmp 0x40326e
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0xa4], eax
mov cl, byte [edi + 0x21]
mov esi, edi
mov byte [ebx + 0xd6], cl
call fcn.0040cce0
jmp 0x40326e
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x4031c1
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x4031ba
push 0xf
call esi
test eax, eax
jne 0x4031ba
mov eax, 2
jmp 0x4031c3
mov eax, 1
jmp 0x4031c3
xor eax, eax
mov edx, dword [0x4f13d8]
push edx
mov dword [ebx + 0x38], eax
call fcn.004016b0
mov eax, dword [ebx + 0x38]
mov ecx, dword [0x4f2298]
mov dword [esp + 0xa0], 1
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov byte [0x4f22a4], 1
test ecx, ecx
je 0x40320e
call fcn.00401740
mov ecx, dword [0x4f2298]
cmp dword [esp + 0x3c], 0
jne 0x403231
xor edx, edx
test ecx, ecx
sete dl
lea eax, [esp + 0x98]
push edx
push 1
push eax
push 0x4f2278
call fcn.00499150
mov byte [0x4f22a4], 0
jmp 0x40326e
mov esi, dword [esp + 0x74]
mov al, byte [esi + 0x10]
cmp al, 0x9c
jb 0x403250
cmp al, 0x9f
ja 0x403250
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x38], ecx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0xa4], edx
mov cl, byte [eax + 0x18]
push eax
push esi
mov byte [ebx + 0xd6], cl
call fcn.0040abf0
lea edx, [esp + 0x178]
push edx
call fcn.00403b70
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x401a49
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00403460
add esp, 8
test eax, eax
je 0x401a49
mov byte [esp + 0x23], 1
mov byte [esp + 0x60], 1
jmp 0x401a49
mov ecx, dword [0x4ec48c]
mov byte [ecx + 0xc8], 0
mov eax, dword [0x4f0bec]
test eax, eax
je 0x4032e4
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [0x4f0bd8]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401a49
mov eax, dword [0x4ec48c]
mov byte [eax + 0xc8], 1
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov dword [eax + 0xc4], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x4ec48c]
mov byte [ecx + 0xc8], 0
jmp 0x401a49
cmp ebx, 0xffffffff
jle 0x403340
mov dword [0x4f22f0], 0
mov dword [0x4f22f4], 0
mov dword [0x4f2300], eax
cmp byte [esp + 0x21], 0
mov dword [0x4f2304], eax
je 0x403353
mov byte [0x4f0d35], 0
cmp byte [esp + 0x22], 0
je 0x4022e3
dec dword [0x4f0d44]
test ebx, ebx
jle 0x4022e3
cmp dword [0x4f0d44], 0
jne 0x4022e3
cmp dword [0x4f22b8], 0
jne 0x4022e3
cmp dword [0x4f153c], 0
jne 0x4022e3
cmp byte [0x4f0d2f], 0
je 0x4022e3
mov edx, dword [0x4f0bd8]
push 9
push edx
jmp 0x4022d2