Function at 0x401330
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 0x49589b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12a4
call fcn.004915d0
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x1e], 0
lea ebx, [edi + 1]
jne 0x40137f
cmp byte [0x4a9e79], 0
mov dword [ebp + 0xc], ebx
jne 0x40137f
mov byte [0x4a9e79], bl
mov byte [esp + 0x1e], bl
cmp dword [0x4ac3f8], edi
je 0x4013b3
cmp dword [0x4ac3e8], edi
je 0x4013a1
mov eax, dword [0x4ac3e0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4ac3e8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ac3f8], edi
mov dword [0x4ac3e0], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x4013d3
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x58], 1
mov dword [esp + 0x6c], edi
jmp 0x4013f1
cmp esi, 5
setle al
mov byte [esp + 0x58], al
test al, al
je 0x4013e7
mov dword [esp + 0x6c], edi
jmp 0x4013f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x6c], eax
cmp dword [0x4ab614], edi
je 0x4013fe
call fcn.004030c0
mov byte [esp + 0x12], 0
cmp dword [0x4ac34c], edi
je 0x401419
call fcn.00402f00
test al, al
je 0x401419
mov byte [esp + 0x12], 1
cmp esi, edi
jle 0x401651
cmp dword [ebp + 0xc], ebx
jne 0x401651
add dword [0x4a9e88], ebx
cmp byte [0x4a9e73], 0
mov byte [esp + 0x1f], 1
jne 0x40145b
mov ecx, dword [0x4a9d20]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4a9e73], dl
mov byte [esp + 0x2f], 0
mov byte [esp + 0x1d], 0
mov dword [esp + 0x64], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [esp + 0x20], esi
jle 0x40165b
cmp byte [esp + 0x1d], 0
jne 0x40165b
cmp byte [0x4a9e79], 0
jne 0x401668
call fcn.00403690
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 0x401469
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x4014d1
mov dword [0x4ac398], eax
inc dword [esp + 0x64]
cmp dword [0x4abd38], 0
je 0x40150d
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 + 0x8c]
call fcn.00403130
add esp, 0x10
test al, al
jne 0x401469
mov edx, dword [0x4aa4b8]
mov ebx, dword [esp + 0x34]
test edx, edx
je 0x401b0c
test ebx, ebx
je 0x401b0c
cmp ebx, dword [0x4a9d20]
je 0x401b0c
mov eax, dword [esp + 0x38]
cmp eax, 0x414
je 0x401b0c
cmp eax, 0x402
je 0x401b0c
add eax, 0xffffff00
cmp eax, 9
ja 0x401a9e
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x401aa4
call fcn.00476b40
mov ebx, eax
test ebx, ebx
je 0x401aa4
mov eax, esi
call fcn.0045a9c0
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x401aa4
mov eax, dword [edi + 0x74]
test eax, eax
je 0x4015af
lea ecx, [esp + 0x34]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401469
cmp dword [esp + 0x38], 0x100
mov esi, dword [esp + 0x3c]
jne 0x401a57
cmp byte [edi + 0xb8], 0
je 0x4019a5
cmp esi, 0x22
je 0x4015eb
cmp esi, 0x21
je 0x4015eb
cmp esi, 9
je 0x4015eb
cmp esi, 0x25
je 0x4015eb
cmp esi, 0x27
jne 0x4019a5
mov eax, dword [esp + 0x18]
mov ebx, edi
call fcn.004012b0
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x401993
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401993
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
cmp al, 0x13
jne 0x4018d6
mov dword [esp + 0x20], ebx
cmp esi, 0x25
je 0x401635
cmp esi, 0x27
jne 0x4018d6
cmp esi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, edi
call fcn.00467790
jmp 0x401469
mov byte [esp + 0x1f], 0
jmp 0x40145b
cmp byte [0x4a9e79], 0
je 0x4017d0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4017d0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4abd28]
jne 0x4017d0
cmp dword [0x4a9ebc], 0
je 0x4016c5
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.00484f51
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40171a
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4017d0
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.00484e01
add esp, 8
test eax, eax
je 0x40171a
lea eax, [esp + 0xb8]
push str.SysListView32
push eax
call fcn.00484e01
add esp, 8
test eax, eax
jne 0x4017d0
call fcn.00403690
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 0x401760
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x44]
push edx
call edi
jmp 0x40184b
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 0x401794
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x40184b
mov edx, dword [esp + 0x48]
sub edx, ebx
test edx, edx
jle 0x4017b9
push 0x1ff
push 0
push 0
lea eax, [esp + 0x44]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x40184b
push esi
push 0x20e
push 0
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x40184b
cmp dword [0x4a63a4], 0
je 0x401829
cmp dword [0x4a9eb0], 0
jne 0x401829
mov eax, dword [0x4a6440]
cmp byte [eax + 0xc8], 0
jne 0x401820
cmp byte [eax + 0xca], 0
jne 0x401820
cmp dword [eax + 0xbc], 0xffffffff
jle 0x401820
call ebx
mov edx, eax
mov eax, dword [0x4a6440]
sub edx, dword [eax + 0xb8]
cmp edx, dword [eax + 0xbc]
jb 0x401820
mov byte [eax + 0xc8], 1
movzx eax, byte [eax + 0xc8]
jmp 0x40182b
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 0x4014d1
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x20]
cmp ecx, 3
jbe 0x401865
mov dword [0x4ac398], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x401884
cmp byte [esp + 0x2f], 0
jne 0x401884
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x2f], 1
jmp 0x401469
cmp dword [esp + 0x64], 0
jne 0x4018ab
cmp byte [esp + 0x58], 0
je 0x4018ab
test esi, esi
jle 0x40189e
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x64], 1
jmp 0x401469
call ebx
cmp byte [esp + 0x58], 0
jne 0x402d85
mov edx, dword [esp + 0x6c]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x402d85
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401469
cmp esi, 0x25
je 0x401997
cmp esi, 0x27
je 0x401997
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401993
mov esi, dword [esp + 0x3c]
cmp esi, 9
jne 0x401920
cmp byte [ebx + 4], 0xc
jne 0x401920
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x401993
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x20], 0
jne 0x401948
mov bl, byte [ebx + 6]
mov ecx, edi
call fcn.00467520
mov dword [esp + 0x20], eax
test eax, eax
jne 0x401948
xor bl, bl
call fcn.00467520
mov dword [esp + 0x20], eax
test eax, eax
je 0x401997
cmp esi, 0x22
je 0x40197b
cmp esi, 9
jne 0x401964
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x40197b
xor al, al
push 1
push 1
mov ecx, edi
push eax
mov eax, dword [esp + 0x2c]
call fcn.00467790
jmp 0x401469
mov eax, 1
push eax
push eax
push eax
mov eax, dword [esp + 0x2c]
mov ecx, edi
call fcn.00467790
jmp 0x401469
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x38], 0x100
jne 0x401a57
cmp esi, 0x1b
je 0x4019e1
cmp esi, 9
je 0x4019e1
cmp esi, 0x41
jne 0x401a57
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov edx, 0x8000
test dx, ax
je 0x401a53
push 0xa5
call esi
mov ecx, 0x8000
test cx, ax
jne 0x401a53
mov eax, dword [esp + 0x18]
mov ebx, edi
call fcn.004012b0
mov dword [esp + 0x14], eax
test eax, eax
je 0x401a53
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401a53
mov esi, dword [esp + 0x3c]
cmp esi, 0x1b
je 0x401a47
cmp esi, 0x41
je 0x401a2a
test byte [eax + 5], 0x80
je 0x401a57
mov eax, dword [eax]
push 0x49882c
push 1
push 0xc2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401469
test byte [eax + 5], 2
jne 0x401a57
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401469
mov eax, edi
call fcn.00463c90
jmp 0x401469
mov esi, dword [esp + 0x3c]
mov eax, dword [0x4abcdc]
test eax, eax
je 0x401aa8
cmp dword [esp + 0x38], 0x100
jne 0x401aa8
cmp esi, 0xd
jne 0x401a84
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401469
cmp esi, 0x1b
jne 0x401aa8
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401469
mov esi, dword [esp + 0x3c]
jmp 0x401ab2
mov esi, dword [esp + 0x3c]
mov edx, dword [0x4aa4b8]
mov ebx, dword [esp + 0x34]
xor edi, edi
test edx, edx
jle 0x401b10
mov eax, dword [0x4a6440]
lea ecx, [ecx]
mov ecx, dword [0x4a9ec4]
mov byte [eax + 0xc4], 1
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc0], 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 0x402d73
mov edx, dword [0x4aa4b8]
mov eax, dword [0x4a6440]
inc edi
mov byte [eax + 0xc4], 0
cmp edi, edx
jl 0x401ac0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp eax, 0x312
ja 0x401c7c
je 0x401ca4
cmp eax, 0x100
ja 0x401b8f
je 0x401b66
cmp eax, 0x12
je 0x401b50
cmp eax, 0x4b
jne case.0x401c8d.1027
mov dword [0x4a9e58], 0
mov byte [esp + 0x1d], 1
jmp 0x401469
push 0
xor eax, eax
push 0x4abd80
lea edx, [eax + 6]
call fcn.00415a10
jmp 0x401469
cmp ebx, dword [0x4a9d24]
jne case.0x401c8d.1027
cmp esi, 0x1b
jne case.0x401c8d.1027
mov edx, dword [0x4a9d20]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401469
cmp eax, 0x113
jne case.0x401c8d.1027
cmp dword [esp + 0x40], 0
jne case.0x401c8d.1027
cmp ebx, dword [0x4a9d20]
jne case.0x401c8d.1027
cmp dword [0x4ab614], 0
je 0x401bbf
call fcn.004030c0
cmp dword [0x4ac34c], 0
je 0x401bd6
call fcn.00402f00
test al, al
je 0x401bd6
mov byte [esp + 0x12], 1
cmp dword [ebp + 0xc], 0
je 0x401469
cmp dword [ebp + 8], 1
jl 0x401469
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00402ec0
add esp, 8
test eax, eax
je 0x401469
cmp byte [esp + 0x1e], 0
je 0x401c15
mov byte [0x4a9e79], 0
cmp byte [esp + 0x1f], 0
je 0x401c63
dec dword [0x4a9e88]
test esi, esi
jle 0x401c63
cmp dword [0x4a9e88], 0
jne 0x401c63
cmp dword [0x4ac34c], 0
jne 0x401c63
cmp dword [0x4ab614], 0
jne 0x401c63
cmp byte [0x4a9e73], 0
je 0x401c63
mov eax, dword [0x4a9d20]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401c63
mov byte [0x4a9e73], 0
mov ecx, dword [esp + 0x12b4]
mov al, byte [esp + 0x12]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffc00
cmp eax, 0x15
ja case.0x401c8d.1027
movzx eax, byte [eax + 0x402e20]
jmp dword [eax*4 + 0x402e14]
test ebx, ebx
je case.0x401c8d.1026
cmp ebx, dword [0x4a9d20]
jne case.0x401c8d.1027
mov eax, dword [esp + 0x38]
xor ecx, ecx
add eax, 0xfffffbff
mov dword [esp + 0x20], ecx
cmp eax, 0x14
ja case.0x401cbf.1027
movzx eax, byte [eax + 0x402e4c]
jmp dword [eax*4 + 0x402e38]
xor eax, eax
cmp edx, ecx
jle 0x401ce3
mov ecx, dword [0x4a9ec4]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], ebx
je 0x401d8d
inc eax
cmp eax, edx
jl 0x401cd2
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x402d24
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4abd28]
jne 0x402d24
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.00484f51
add esp, 8
test eax, eax
jne 0x402d24
mov eax, dword [0x4a6440]
lea edx, [esp + 0x34]
mov byte [eax + 0xc4], 1
mov ecx, dword [esp + 0x38]
push edx
push esi
mov dword [eax + 0xc0], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x402d17
cmp dword [0x4a9ebc], 0
je 0x401d7c
push 0x4aa520
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x4a6440]
mov byte [eax + 0xc4], 0
jmp 0x401469
mov eax, edi
xor ebx, ebx
mov dword [esp + 0xc], eax
cmp eax, ebx
je case.0x401c8d.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 + 0x74], esi
mov dword [esp + 0x28], ebx
cmp ecx, 8
jne 0x401dd3
mov dword [esp + 0x74], 0x2af8
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xc]
cmp esi, dword [eax + 0x10]
jae 0x401deb
lea edx, [esi + esi*4]
mov esi, dword [eax + 0x18]
lea edx, [esi + edx*4]
mov dword [esp + 0x14], edx
jmp 0x401def
mov dword [esp + 0x14], ebx
add ecx, 0xfffffffb
mov dword [esp + 0x60], ebx
mov byte [esp + 0x13], bl
cmp ecx, 4
ja case.default.0x401e03
jmp dword [ecx*4 + 0x402e64]
mov edi, dword [eax + 0x2c]
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401469
mov eax, dword [esp + 0xc]
add eax, 0x3a
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x401e34
cmp byte [eax], bl
jne 0x401469
xor ebx, ebx
jmp 0x40215c
mov edi, dword [eax + 0x24]
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401469
mov ecx, dword [esp + 0xc]
add ecx, 0x38
mov dword [esp + 0x60], ecx
jmp 0x401e24
mov edi, dword [eax + 0x28]
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401469
mov edx, dword [esp + 0xc]
add edx, 0x39
mov dword [esp + 0x60], edx
jmp 0x401e24
mov edi, dword [eax + 0x34]
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401469
xor ebx, ebx
jmp 0x40215c
mov edi, dword [eax + 0x30]
mov esi, dword [eax + 0x68]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401eba
cmp esi, ebx
je 0x401469
push ebx
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x401e34
cmp esi, ebx
je 0x401469
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x68], ebx
jmp 0x401469
cmp dword [esp + 0x14], ebx
je 0x401469
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x18], edi
cmp edi, ebx
jne 0x401f06
test byte [eax + 5], 1
je 0x401469
mov eax, dword [esp + 0xc]
call fcn.00463c30
jmp 0x401469
test byte [eax + 5], 4
jne 0x401469
mov byte [esp + 0x13], 1
xor ebx, ebx
jmp 0x40215c
cmp esi, ecx
je 0x401f3f
call fcn.0045a990
mov dword [esp + 0xc], eax
test eax, eax
jne 0x401f43
test ebx, ebx
je 0x401f43
cmp ebx, dword [0x4a9d20]
jne case.0x401c8d.1027
jmp 0x401f43
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x40]
mov eax, 0x4abd80
call fcn.00401300
mov dword [esp + 0x70], eax
test eax, eax
je 0x401469
mov ecx, eax
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x401469
mov edx, eax
mov ebx, dword [edx + 0x18]
jmp 0x402158
cmp esi, dword [0x4ab61c]
jae 0x401469
mov eax, dword [0x4ab618]
mov esi, dword [eax + esi*4]
mov cl, byte [esi + 0x24]
mov dword [esp + 0x50], esi
test cl, cl
je 0x40201f
mov eax, dword [esi]
test eax, eax
je 0x401fa2
mov eax, dword [eax + 4]
jmp 0x401fa7
mov eax, 0x4987f9
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0xc]
mov bl, cl
call fcn.00409680
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x401469
mov eax, dword [esp + 0x50]
mov al, byte [eax + 0x24]
cmp al, 1
je 0x401fdf
cmp al, 3
je 0x401fdf
mov dword [esp + 0x54], 0
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
push ecx
mov edi, esi
call fcn.0040c620
mov edx, dword [esi + 8]
cmp byte [edx], 0
jne 0x401469
mov esi, dword [esp + 0x50]
mov al, byte [esi + 0x2f]
neg al
sbb al, al
and al, byte [esp + 0x40]
mov byte [0x4ac364], al
mov ecx, dword [esi]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
mov edi, ecx
jmp 0x402160
mov dword [esp + 0x54], 0
jmp 0x401fe3
cmp byte [0x4ac338], cl
jne 0x401469
mov edi, dword [0x4ac32c]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x40204d
mov edi, dword [0x4ac0f4]
mov dword [esp + 0x18], edi
xor ebx, ebx
jmp 0x40215c
mov ecx, dword [0x4a7554]
mov eax, esi
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x401469
movzx edx, ax
mov eax, dword [edx*4 + 0x4aa660]
shr esi, 0x10
mov dword [esp + 0x68], eax
mov eax, esi
test ax, ax
je 0x4020b4
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
je 0x4020ac
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x14]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
jne 0x402097
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jne 0x4020d0
mov eax, dword [esp + 0x68]
push eax
lea eax, [esp + 0x58]
call fcn.0040a030
mov dword [esp + 0x5c], eax
test eax, eax
je 0x401469
mov ebx, eax
mov esi, dword [ebx]
push esi
call fcn.0046d780
add esp, 4
sub eax, 0
je 0x4020e3
dec eax
jne 0x4020ee
mov esi, dword [esi + 8]
test esi, esi
je 0x4020ee
mov al, byte [esi]
jmp 0x4020f0
xor al, al
mov cl, byte [ebx + 0x1f]
cmp cl, byte [ebx + 0x20]
jb 0x402130
cmp al, 0xde
je 0x402130
cmp al, 0xca
je 0x402130
cmp al, 0xd8
je 0x402130
cmp al, 0xd9
je 0x402130
cmp al, 0xd4
je 0x402130
cmp al, 0xd5
je 0x402130
cmp al, 0xd6
je 0x402130
cmp al, 0xd7
je 0x402130
cmp byte [ebx + 0x23], 0
je 0x402122
mov byte [ebx + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 4], eax
jmp 0x401469
mov al, byte [ebx + 0x1e]
cmp al, 2
je 0x40214b
cmp al, 4
je 0x40214b
cmp al, 5
jne 0x402153
mov edx, dword [0x4a9eac]
mov dword [esp + 0x54], edx
jmp 0x402153
mov dword [esp + 0x54], 0
mov edi, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x50]
push edi
call fcn.0046d780
add esp, 4
sub eax, 0
je 0x402171
dec eax
jne 0x40217c
mov edi, dword [edi + 8]
test edi, edi
je 0x40217c
mov al, byte [edi]
jmp 0x40217e
xor al, al
mov ecx, dword [0x4a9e8c]
mov edx, dword [0x4a63b0]
mov byte [esp + 0x78], al
cmp ecx, edx
jl 0x4021df
add edx, 2
cmp ecx, edx
jge 0x4021b9
cmp al, 0xde
je 0x4021df
cmp al, 0xca
je 0x4021df
cmp al, 0xd8
je 0x4021df
cmp al, 0xd9
je 0x4021df
cmp al, 0xd4
je 0x4021df
cmp al, 0xd5
je 0x4021df
cmp al, 0xd6
je 0x4021df
cmp al, 0xd7
je 0x4021df
cmp dword [esp + 0x20], 0
je 0x401469
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], 0
jmp 0x401469
mov edx, dword [0x4a6440]
cmp ebx, dword [edx + 0x2c]
jge 0x402210
cmp dword [esp + 0x20], 0
je 0x401469
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], 0
jmp 0x401469
mov eax, dword [esp + 0x38]
mov byte [esp + 0x12], 1
cmp eax, 0x402
je 0x402282
cmp eax, 0x413
jbe 0x402232
cmp eax, 0x415
jbe 0x4022c1
mov edx, dword [0x4ac304]
mov ecx, dword [0x4ac35c]
mov dword [0x4ac308], edx
mov dword [0x4ac360], ecx
cmp eax, 0x401
jne 0x402268
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [0x4ac304], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac35c], eax
jmp 0x4022c1
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov dword [0x4ac304], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac35c], eax
jmp 0x4022c1
mov edi, dword [esp + 0x70]
mov eax, dword [edi]
push 0x104
push eax
push 0x4ac0f8
call fcn.00487da0
mov byte [0x4ac1fc], 0
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
add esp, 0xc
push 0x104
push eax
push 0x4ac1fd
call fcn.00487da0
add esp, 0xc
mov byte [0x4ac301], 0
mov edi, dword [0x4aa51c]
cmp byte [edi + 0x17], 0
jne 0x4022d0
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x4022dd
mov eax, edi
call fcn.00401150
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x4022f6
test byte [edi + 0x15], 4
je 0x4022f1
mov eax, edi
call fcn.0042ec60
mov eax, dword [edi + 8]
jmp 0x402306
cmp al, 2
jne 0x402301
call fcn.00401000
jmp 0x402306
mov eax, 0x4ab626
push 0x7f
push eax
lea ecx, [esp + 0x180]
push ecx
call fcn.00487da0
mov edx, dword [esp + 0x84]
add esp, 0xc
push edx
xor edi, edi
push edi
push ebx
mov al, 1
mov byte [esp + 0x203], 0
call fcn.004034e0
mov ebx, dword [0x4a6440]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac39c], eax
mov dword [0x4ac398], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.0x402366.1027
movzx eax, byte [eax + 0x402e8c]
jmp dword [eax*4 + 0x402e78]
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x14]
mov byte [esp + 0x84], 0
je 0x402384
mov ecx, dword [esi]
jmp 0x40238b
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
mov edi, dword [esp + 0x28]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xd8]
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 + 0x28], edi
cmp eax, 4
ja case.default.0x4023bd
jmp dword [eax*4 + 0x402ea4]
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 0x402493
cmp dword [ebx + 0x34], 1
jne 0x402401
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x3c]
push eax
call fcn.00467900
movzx eax, byte [esi + 4]
sub eax, 9
je 0x40247c
dec eax
je 0x40246e
dec eax
jne 0x402493
cmp dword [ebx + 0x34], 1
jne 0x40242d
mov ecx, dword [esi]
push eax
push 9
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40248f
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
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 0x40248f
mov edx, dword [esi]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x402488
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 + 0xc]
mov ecx, dword [ecx + 4]
lea esi, [ebx + 0x3c]
call fcn.004733d0
cmp dword [esp + 0x14], 0
mov ecx, 1
je 0x4024cf
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xd8]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
add edi, ecx
mov dword [eax + 8], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
jmp 0x4024e8
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0xd8]
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4987f9
mov edx, edi
add edx, edx
mov dword [esp + edx*8 + 0xe0], ecx
mov dword [esp + edx*8 + 0xdc], 0
lea eax, [esp + edx*8 + 0xd8]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
add edi, ecx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0xd8]
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 + 0xd8]
cdq
mov dword [esi], eax
add edi, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], edx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0xd8]
mov eax, dword [ebx + 0x40]
cdq
mov dword [esi + 8], ecx
add edi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x14]
jmp 0x402862
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x34], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
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.004733d0
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esp + 0xc]
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 + 0x20]
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0xd8]
push edx
mov dword [esp + 0x2c], ecx
call fcn.0045ccf0
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp dword [esp + 0x14], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x402606
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0xd8]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x40261f
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0xd8]
mov dword [eax + 8], 0
mov dword [eax], 0x4987f9
mov edx, dword [esp + 0xc]
mov esi, dword [esi]
add edi, 2
mov eax, edi
add eax, eax
cmp byte [edx + 0xc0], 0
lea ecx, [esp + eax*8 + 0xd8]
mov dword [esp + 0x28], ecx
je 0x402651
mov eax, dword [0x4abd2c]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x402653
mov eax, esi
mov ecx, dword [esp + 0x28]
cdq
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
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 + 0xd8]
mov dword [esp + 0x28], edi
je 0x402697
mov ecx, dword [0x4abd2c]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x14]
jmp 0x402866
mov dword [ebx + 0x34], 1
cmp ecx, 8
jne 0x402866
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x24]
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 0x40271a
mov ecx, dword [0x4abd2c]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 4], edx
lea edx, [edi + 2]
mov dword [esi], eax
mov eax, dword [esp + 0x80]
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 + 0x28], edi
je 0x402765
mov ecx, dword [0x4abd2c]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x14]
jmp 0x402866
mov al, byte [esi + 4]
cmp al, 0xa
je 0x4027ac
cmp al, 0x18
jne 0x402821
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
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.004733d0
mov esi, dword [esp + 0x14]
jmp 0x40281d
cmp cl, 0x49
jne 0x402821
lea eax, [esp + 0x84]
test ecx, 0x100
je 0x4027ca
mov byte [esp + 0x84], 0x53
jmp 0x4027da
test ecx, 0x200
je 0x4027e1
mov byte [esp + 0x84], 0x73
lea eax, [esp + 0x85]
test ecx, 0x400
je 0x4027ee
mov byte [eax], 0x46
jmp 0x4027f9
test ecx, 0x800
je 0x4027fa
mov byte [eax], 0x66
inc eax
test ecx, 0x1000
je 0x402807
mov byte [eax], 0x43
jmp 0x402812
test ecx, 0x2000
je 0x402813
mov byte [eax], 0x63
inc eax
mov byte [eax], dl
mov dword [esp + 0x30], 0x49
mov ecx, dword [esp + 0x30]
mov edx, edi
add edx, edx
mov eax, ecx
mov dword [ebx + 0x34], ecx
lea edx, [esp + edx*8 + 0xd8]
call fcn.0045ccd0
mov dword [edx], eax
lea eax, [edi + 1]
mov dword [edx + 8], 0
mov edx, dword [esp + 0x24]
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 + 0x28], edi
cmp byte [esp + 0x13], 0
je 0x4029bb
cmp byte [esi + 4], 0x16
jne 0x4029bb
push 0x10b8
lea eax, [esp + 0x1fc]
push 0
push eax
call fcn.0048e2d0
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 0x402a1e
cmp word [esp + 0x268], 0
lea ecx, [esp + 0x268]
jne 0x4028e2
lea ecx, [esp + 0x208]
push 0xffffffffffffffff
lea edx, [esp + 0x140]
push edx
call fcn.00403930
push 1
push 0
push 0xffffffffffffffff
mov dword [esp + 0x12c8], 0
call fcn.00403840
push eax
mov eax, dword [0x4aa51c]
push eax
call fcn.00474ce0
lea eax, [esp + 0x13c]
mov dword [esp + 0x12bc], 0xffffffff
call fcn.00403860
mov esi, dword [0x4aa51c]
mov ecx, edi
add ecx, ecx
inc edi
cmp byte [esi + 0x17], 0
lea edx, [esp + ecx*8 + 0xd8]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x28], edi
jne 0x40294d
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x40295a
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x402987
test byte [esi + 0x15], 4
je 0x40296e
mov eax, esi
call fcn.0042ec60
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x14]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402a1e
cmp al, 2
jne 0x4029a3
call fcn.00401000
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x14]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402a1e
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x14]
mov eax, 0x4ab626
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402a1e
cmp byte [esp + 0x84], 0
je 0x4029e5
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0xd8]
inc edi
lea edx, [esp + 0x84]
mov dword [esp + 0x28], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x402a0b
cmp ecx, 5
je 0x402a0b
mov ecx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
push ecx
call fcn.00474ce0
jmp 0x402a1e
mov edx, dword [esp + 0x24]
mov eax, dword [0x4aa51c]
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 + 0xa0], ecx
add dword [eax + 0x20], 2
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x38], eax
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x402a50
mov byte [ebx], 1
jmp 0x402a5b
cmp byte [esp + 0x13], 0
je 0x402a5b
or byte [esi + 5], 4
mov esi, dword [esp + 0x18]
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.0046aab0
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp dword [eax + 4], 0
je 0x402b2c
test ebx, ebx
je 0x402ad5
cmp dword [esp + 0x30], 6
mov byte [ebx], 0
jne 0x402ae4
cmp dword [esp + 0x94], 0
jne 0x402b2c
push esi
call fcn.0046d780
add esp, 4
test eax, eax
jne 0x402abe
test esi, esi
jne 0x402b2c
mov eax, dword [esp + 0xc]
call fcn.00463c30
mov esi, dword [esp + 0xc]
call fcn.0045cb10
jmp 0x402cd1
cmp byte [esp + 0x13], 0
je 0x402ae4
mov eax, dword [esp + 0x14]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x30], 5
jne 0x402b2c
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
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.0045cb10
jmp 0x402cd1
mov esi, dword [esp + 0xc]
cmp esi, edi
je 0x402b5c
mov eax, dword [esi + 4]
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0x34], 1
add dword [esi + 0x20], 2
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
mov eax, 0x4abd80
mov dword [esp + 0x150], edi
mov dword [esp + 0x148], 0x4ac0f8
call fcn.00444c70
xor ecx, ecx
mov dword [esp + 0x15c], ecx
push edi
inc eax
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [esp + 0x20]
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], 0x4ac1fd
call fcn.0046aab0
add esp, 0x10
cmp esi, edi
je 0x402cd1
mov esi, dword [esp + 0xc]
call fcn.0045cb10
jmp 0x402cd1
mov edx, dword [esp + 0x54]
mov dword [ebx + 0xa0], edx
mov al, byte [esi + 0x25]
mov byte [ebx + 0xd2], al
call fcn.0040c5b0
jmp 0x402cd1
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402c27
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x402c20
push 0xf
call esi
test eax, eax
jne 0x402c20
mov eax, 2
jmp 0x402c29
mov eax, 1
jmp 0x402c29
xor eax, eax
push 0x18
push edi
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4aa51c]
call fcn.004010d0
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x4ac32c]
mov dword [esp + 0xb0], 1
mov dword [esp + 0xac], edi
mov byte [0x4ac338], 1
cmp ecx, edi
je 0x402c72
call fcn.00401210
mov ecx, dword [0x4ac32c]
cmp dword [esp + 0x3c], edi
jne 0x402c94
xor edx, edx
cmp ecx, edi
sete dl
lea eax, [esp + 0xa8]
mov ebx, 0x4ac31c
push edx
push 1
push eax
call fcn.0046d880
mov byte [0x4ac338], 0
jmp 0x402cd1
mov esi, dword [esp + 0x68]
mov al, byte [esi + 0x12]
cmp al, 0x9c
jb 0x402cb3
cmp al, 0x9f
ja 0x402cb3
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x38], ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov dword [ebx + 0xa0], edx
mov cl, byte [eax + 0x21]
push eax
push esi
mov byte [ebx + 0xd2], cl
call fcn.0040a3f0
lea edx, [esp + 0x178]
push edx
call fcn.004035e0
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x401469
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00402ec0
add esp, 8
test eax, eax
je 0x401469
mov byte [esp + 0x1d], 1
mov byte [esp + 0x58], 1
jmp 0x401469
mov ecx, dword [0x4a6440]
mov byte [ecx + 0xc4], 0
mov eax, dword [0x4a9d34]
test eax, eax
je 0x402d47
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [0x4a9d20]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401469
mov eax, dword [0x4a6440]
mov byte [eax + 0xc4], 1
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov dword [eax + 0xc0], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x4a6440]
mov byte [ecx + 0xc4], 0
jmp 0x401469
cmp esi, 0xffffffff
jle 0x402da3
mov dword [0x4ac388], 0
mov dword [0x4ac38c], 0
mov dword [0x4ac398], eax
cmp byte [esp + 0x1e], 0
mov dword [0x4ac39c], eax
je 0x402db6
mov byte [0x4a9e79], 0
cmp byte [esp + 0x1f], 0
je 0x401c63
dec dword [0x4a9e88]
test esi, esi
jle 0x401c63
cmp dword [0x4a9e88], 0
jne 0x401c63
cmp dword [0x4ac34c], 0
jne 0x401c63
cmp dword [0x4ab614], 0
jne 0x401c63
cmp byte [0x4a9e73], 0
je 0x401c63
mov edx, dword [0x4a9d20]
push 9
push edx
jmp 0x401c52