Function at 0x401430
Capabilities:
Check for foreground window switch
Check for software breakpoints
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
mov eax, 0x1364
call fcn.0049bfd0
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x1e], 0
lea ebx, [edi + 1]
jne 0x401469
cmp byte [0x4cb6bb], 0
mov dword [ebp + 0xc], ebx
jne 0x401469
mov byte [0x4cb6bb], bl
mov byte [esp + 0x1e], bl
cmp dword [0x4cc514], edi
je 0x40149d
cmp dword [0x4cc504], edi
je 0x40148b
mov eax, dword [0x4cc4fc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4cc504], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4cc514], edi
mov dword [0x4cc4fc], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x4014bd
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x60], 1
mov dword [esp + 0x6c], edi
jmp 0x4014db
cmp esi, 5
setle al
mov byte [esp + 0x60], al
test al, al
je 0x4014d1
mov dword [esp + 0x6c], edi
jmp 0x4014db
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x6c], eax
cmp dword [0x4cbdc8], edi
je 0x4014e8
call fcn.00403470
mov byte [esp + 0x17], 0
cmp dword [0x4ccfc4], edi
je 0x401503
call fcn.00403270
test al, al
je 0x401503
mov byte [esp + 0x17], 1
cmp esi, edi
jle 0x40173a
cmp dword [ebp + 0xc], ebx
jne 0x40173a
add dword [0x4cb6c8], ebx
cmp byte [0x4cb6b5], 0
mov byte [esp + 0x1d], 1
jne 0x401545
mov ecx, dword [0x4cb558]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4cb6b5], dl
mov byte [esp + 0x33], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x68], 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 0x401744
cmp byte [esp + 0x1f], 0
jne 0x401744
cmp byte [0x4cb6bb], 0
jne 0x401751
call fcn.00403a40
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_GetMessageW]
cmp eax, 0xffffffff
je 0x401553
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x4015bb
mov dword [0x4cd018], eax
inc dword [esp + 0x68]
cmp dword [0x4cc4f4], 0
je 0x4015f7
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 + 0x114]
call fcn.004034e0
add esp, 0x10
test al, al
jne 0x401553
cmp dword [0x4cbcfc], 0
mov ebx, dword [esp + 0x38]
je 0x401c8d
test ebx, ebx
je 0x401c8d
cmp ebx, dword [0x4cb558]
je 0x401c8d
mov eax, dword [esp + 0x3c]
cmp eax, 0x414
je 0x401c8d
cmp eax, 0x402
je 0x401c8d
add eax, 0xffffff00
cmp eax, 9
ja 0x401bf4
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x401bfa
call fcn.0047c530
mov edi, eax
test edi, edi
je 0x401bfa
mov eax, esi
call fcn.0045e650
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x401bfa
mov eax, dword [esi + 0x74]
test eax, eax
je 0x401698
lea ecx, [esp + 0x38]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401553
cmp dword [esp + 0x3c], 0x100
mov edi, dword [esp + 0x40]
jne 0x401bad
cmp byte [esi + 0xb8], 0
je 0x401adf
cmp edi, 0x22
je 0x4016d4
cmp edi, 0x21
je 0x4016d4
cmp edi, 9
je 0x4016d4
cmp edi, 0x25
je 0x4016d4
cmp edi, 0x27
jne 0x401adf
mov eax, dword [esp + 0x18]
mov ebx, esi
call fcn.004013b0
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x401acd
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401acd
mov edi, dword [esp + 0x40]
mov dword [esp + 0x20], 0
cmp al, 0x13
jne 0x4019fb
mov dword [esp + 0x20], ebx
cmp edi, 0x25
je 0x40171e
cmp edi, 0x27
jne 0x4019fb
cmp edi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, esi
call fcn.0046b880
jmp 0x401553
mov byte [esp + 0x1d], 0
jmp 0x401545
cmp byte [0x4cb6bb], 0
je 0x4018e2
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4018e2
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4cc4e4]
jne 0x4018e2
cmp dword [0x4cb700], 0
je 0x4017d4
push 0x20
lea edx, [esp + 0x17c]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x4a48b0
lea eax, [esp + 0x178]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4017c6
test dx, dx
je 0x4017c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4017c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4017a0
xor eax, eax
jmp 0x4017cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x401829
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4018e2
push 0x20
lea ecx, [esp + 0x17c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
lea edx, [esp + 0x178]
push 0x4a48c0
push edx
call fcn.00490f59
add esp, 8
test eax, eax
je 0x401829
lea eax, [esp + 0x178]
push 0x4a48dc
push eax
call fcn.00490f59
add esp, 8
test eax, eax
jne 0x4018e2
call fcn.00403a40
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
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 0x40186f
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x48]
push edx
call edi
jmp 0x401970
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 0x4018a3
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x48]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401970
mov edx, dword [esp + 0x4c]
sub edx, ebx
test edx, edx
jle 0x4018c8
push 0x1ff
push 0
push 0
lea eax, [esp + 0x48]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401970
push esi
push 0x20e
push 0
lea ecx, [esp + 0x48]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401970
cmp dword [0x4c795c], 0
je 0x40194e
cmp dword [0x4cb6f4], 0
jne 0x40194e
mov eax, dword [0x4c7a54]
cmp byte [eax + 0xec], 0
jne 0x401945
cmp byte [eax + 0xee], 0
jne 0x401945
cmp dword [eax + 0xe0], 0xffffffff
jle 0x401945
call ebx
mov edx, eax
mov eax, dword [0x4c7a54]
sub edx, dword [eax + 0xdc]
cmp edx, dword [eax + 0xe0]
jb 0x401945
cmp byte [eax + 0xee], 0
mov byte [eax + 0xec], 1
jne 0x401945
mov dword [eax + 0xd8], 5
movzx eax, byte [eax + 0xec]
jmp 0x401950
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_PeekMessageW]
test eax, eax
jne 0x4015bb
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x20]
cmp ecx, 3
jbe 0x40198a
mov dword [0x4cd018], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4019a9
cmp byte [esp + 0x33], 0
jne 0x4019a9
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x33], 1
jmp 0x401553
cmp dword [esp + 0x68], 0
jne 0x4019d0
cmp byte [esp + 0x60], 0
je 0x4019d0
test esi, esi
jle 0x4019c3
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x68], 1
jmp 0x401553
call ebx
cmp byte [esp + 0x60], 0
jne 0x40309e
mov edx, dword [esp + 0x6c]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x40309e
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401553
cmp edi, 0x25
je 0x401ad1
cmp edi, 0x27
je 0x401ad1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401acd
mov edi, dword [esp + 0x40]
cmp edi, 9
jne 0x401a49
cmp byte [ebx + 4], 0xc
jne 0x401a49
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x401acd
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x20], 0
jne 0x401a71
mov bl, byte [ebx + 6]
mov ecx, esi
call fcn.0046b5c0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x401a71
xor bl, bl
call fcn.0046b5c0
mov dword [esp + 0x20], eax
test eax, eax
je 0x401ad1
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x401acd
mov eax, dword [esp + 0x40]
cmp eax, 0x22
je 0x401ab7
cmp eax, 9
jne 0x401aa2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401ab7
xor al, al
push 1
push 1
mov ecx, esi
push eax
mov eax, edi
call fcn.0046b880
jmp 0x401553
mov eax, 1
push eax
push eax
push eax
mov eax, edi
mov ecx, esi
call fcn.0046b880
jmp 0x401553
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x3c], 0x100
jne 0x401bad
cmp edi, 0x1b
je 0x401b21
cmp edi, 9
je 0x401b21
cmp edi, 0x41
jne 0x401bad
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x401ba9
push 0xa5
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x401ba9
mov eax, dword [esp + 0x18]
mov ebx, esi
call fcn.004013b0
mov dword [esp + 0x10], eax
test eax, eax
je 0x401ba9
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401ba9
mov edi, dword [esp + 0x40]
cmp edi, 0x1b
je 0x401b9d
cmp edi, 0x41
je 0x401b80
test byte [eax + 5], 0x80
je 0x401bad
mov eax, dword [eax]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x800
jne 0x401ba9
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 0x4a48f8
push 1
push 0xc2
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401553
test byte [eax + 5], 2
jne 0x401bad
mov eax, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401553
mov eax, esi
call fcn.00467f00
jmp 0x401553
mov edi, dword [esp + 0x40]
mov eax, dword [0x4cc490]
test eax, eax
je 0x401bfe
cmp dword [esp + 0x3c], 0x100
jne 0x401bfe
cmp edi, 0xd
jne 0x401bda
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401553
cmp edi, 0x1b
jne 0x401bfe
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401553
mov edi, dword [esp + 0x40]
jmp 0x401c02
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
xor esi, esi
cmp dword [0x4cbcfc], esi
jle 0x401c95
mov eax, dword [0x4cbcf8]
mov edx, dword [eax + esi*4]
cmp dword [edx + 0x10], 0
jne 0x401c2a
cmp ecx, 0x106
je 0x401c6c
mov ecx, dword [0x4c7a54]
mov byte [ecx + 0xe8], 1
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xe4], edx
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x401c7b
mov ecx, dword [0x4c7a54]
mov byte [ecx + 0xe8], al
mov eax, dword [0x4cbcf8]
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, dword [0x4cbcfc]
jl 0x401c19
mov ebx, dword [esp + 0x38]
jmp 0x401c91
mov edx, dword [0x4c7a54]
mov byte [edx + 0xe8], 0
jmp 0x401553
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
cmp ecx, 0x401
ja 0x401e63
cmp ecx, 0x400
jae 0x401e84
cmp ecx, 0x100
ja 0x401d08
je 0x401ce8
cmp ecx, 0x12
je 0x401cd5
cmp ecx, 0x4b
jne case.0x401e79.1027
mov dword [0x4cb690], 0
mov byte [esp + 0x1f], 1
jmp 0x401553
push 0
push 4
push 0x4cc518
call fcn.00418290
jmp 0x401553
cmp ebx, dword [0x4cb55c]
jne case.0x401e79.1027
cmp edi, 0x1b
jne case.0x401e79.1027
mov eax, dword [0x4cb558]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401553
cmp ecx, 0x113
je 0x401d93
cmp ecx, 0x312
je 0x401e98
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x40303d
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4cc4e4]
jne 0x40303d
push 0x20
lea edx, [esp + 0x17c]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x4a48b0
lea eax, [esp + 0x178]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402fcc
test dx, dx
je 0x401d8c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402fcc
add eax, 4
add ecx, 4
test dx, dx
jne 0x401d62
xor eax, eax
jmp 0x402fd1
cmp dword [esp + 0x44], 0
jne case.0x401e79.1027
cmp ebx, dword [0x4cb558]
jne case.0x401e79.1027
cmp dword [0x4cbdc8], 0
je 0x401db4
call fcn.00403470
cmp dword [0x4ccfc4], 0
je 0x401dcb
call fcn.00403270
test al, al
je 0x401dcb
mov byte [esp + 0x17], 1
cmp dword [ebp + 0xc], 0
je 0x401553
cmp dword [ebp + 8], 1
jl 0x401553
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.00403230
add esp, 8
test eax, eax
je 0x401553
cmp byte [esp + 0x1e], 0
je 0x401e0a
mov byte [0x4cb6bb], 0
cmp byte [esp + 0x1d], 0
je 0x401e58
dec dword [0x4cb6c8]
test esi, esi
jle 0x401e58
cmp dword [0x4cb6c8], 0
jne 0x401e58
cmp dword [0x4ccfc4], 0
jne 0x401e58
cmp dword [0x4cbdc8], 0
jne 0x401e58
cmp byte [0x4cb6b5], 0
je 0x401e58
mov eax, dword [0x4cb558]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401e58
mov byte [0x4cb6b5], 0
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x402]
cmp eax, 0x1c
ja case.0x401e79.1027
movzx eax, byte [eax + 0x403138]
jmp dword [eax*4 + 0x40312c]
mov ecx, dword [esp + 0x3c]
test ebx, ebx
je 0x401e98
cmp ebx, dword [0x4cb558]
jne case.0x401e79.1027
mov ecx, dword [esp + 0x3c]
xor edx, edx
lea eax, [ecx - 0x401]
mov dword [esp + 0x20], edx
cmp eax, 0x1d
ja case.0x401eb4.1027
movzx ecx, byte [eax + 0x403174]
jmp dword [ecx*4 + 0x403158]
mov esi, ebx
call fcn.0045e620
mov dword [esp + 0xc], eax
test eax, eax
je case.0x401e79.1027
mov eax, dword [esp + 0x44]
movzx ecx, di
shr edi, 0x10
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x2c], ebx
cmp ecx, 8
jne 0x401f03
mov dword [esp + 0x70], 0x2af8
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc]
cmp edi, dword [eax + 0x10]
jae 0x401f1b
mov esi, dword [eax + 0x18]
lea edx, [edi + edi*4]
lea edx, [esi + edx*4]
mov dword [esp + 0x10], edx
jmp 0x401f1f
mov dword [esp + 0x10], ebx
add ecx, 0xfffffffb
mov dword [esp + 0x64], ebx
mov byte [esp + 0x16], bl
cmp ecx, 4
ja case.default.0x401f33
jmp dword [ecx*4 + 0x403194]
mov esi, dword [eax + 0x2c]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x401553
mov eax, dword [esp + 0xc]
add eax, 0x3a
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x401f64
cmp byte [eax], bl
jne 0x401553
xor edi, edi
jmp 0x40234e
mov esi, dword [eax + 0x24]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x401553
mov ecx, dword [esp + 0xc]
add ecx, 0x38
mov dword [esp + 0x64], ecx
jmp 0x401f54
mov esi, dword [eax + 0x28]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x401553
mov edx, dword [esp + 0xc]
add edx, 0x39
mov dword [esp + 0x64], edx
jmp 0x401f54
mov esi, dword [eax + 0x34]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x401553
xor edi, edi
jmp 0x40234e
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0x68]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x401fec
cmp edi, ebx
je 0x401553
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x401f64
cmp edi, ebx
je 0x401553
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 0x401553
cmp dword [esp + 0x10], ebx
je 0x401553
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x402040
test byte [eax + 5], 1
je 0x401553
mov eax, dword [esp + 0xc]
call fcn.00467ea0
jmp 0x401553
test byte [eax + 5], 4
jne 0x401553
mov byte [esp + 0x16], 1
xor edi, edi
jmp 0x40234e
cmp edi, edx
je 0x40207b
mov esi, edi
call fcn.0045e620
mov dword [esp + 0xc], eax
test eax, eax
jne 0x40207f
test ebx, ebx
je 0x40207f
cmp ebx, dword [0x4cb558]
jne case.0x401e79.1027
jmp 0x40207f
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov eax, 0x4cc518
call fcn.00401400
mov dword [esp + 0x74], eax
test eax, eax
je 0x401553
mov edx, eax
mov esi, dword [edx + 8]
test esi, esi
je 0x401553
mov edi, dword [eax + 0x18]
jmp 0x40234a
cmp edi, dword [0x4cbdd0]
jae 0x401553
mov ecx, dword [0x4cbdcc]
mov edi, dword [ecx + edi*4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x58], edi
test esi, esi
je 0x4020ff
mov edx, dword [edi + 4]
push edx
call fcn.0040a220
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
je 0x401553
mov eax, edi
mov ecx, dword [eax + 0x10]
mov al, byte [ecx]
cmp al, 2
je 0x402138
cmp al, 4
je 0x402138
cmp al, 5
jb 0x402103
mov edx, dword [0x4cb6e8]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x44]
push eax
push edi
call fcn.0040d3a0
cmp dword [edi + 0xc], 0
jne 0x401553
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x2a], 0
je 0x402146
mov cx, word [esp + 0x44]
mov word [0x4ccfdc], cx
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x40234a
mov edi, dword [esp + 0x58]
mov dword [esp + 0x54], 0
jmp 0x402103
xor edx, edx
mov word [0x4ccfdc], dx
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x40234a
cmp byte [0x4ccfb0], dl
jne 0x401553
mov esi, dword [0x4ccfa4]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x40217d
mov esi, dword [0x4ccb50]
mov dword [esp + 0x18], esi
xor edi, edi
jmp 0x40234e
mov eax, edi
call fcn.00436760
mov dword [esp + 0x28], eax
test eax, eax
je 0x401553
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x35c]
xor edi, edi
jmp 0x40234a
mov eax, dword [0x4cbd64]
mov dword [esp + 0x28], eax
cmp eax, edx
je 0x401553
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x4021d0
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4021b8
jmp 0x401553
test eax, eax
je 0x401553
mov eax, dword [esp + 0x3c]
cmp eax, 0x41c
jne 0x4021f2
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x360]
jmp 0x402215
cmp eax, 0x41e
jne 0x402208
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x368]
jmp 0x402215
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x364]
mov dword [esp + 0x18], esi
test esi, esi
je 0x401553
xor edi, edi
jmp 0x40234e
mov ecx, dword [0x4c8b90]
mov eax, edi
and eax, 0x7fff
cmp ax, word [ecx]
jae 0x401553
movzx edx, ax
mov eax, dword [0x4cbdac]
mov ecx, dword [eax + edx*4]
shr edi, 0x10
mov eax, edi
mov dword [esp + 0x78], ecx
test ax, ax
je 0x402285
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
je 0x40227d
mov edx, dword [esp + 0x5c]
mov edx, dword [edx + 8]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
jne 0x402268
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x4022bc
cmp dword [esp + 0x3c], 0x400
jne 0x40229f
mov edx, dword [esp + 0x44]
shr edx, 0x10
mov eax, 0xffc3d44d
sub eax, edx
jmp 0x4022a1
xor eax, eax
push 0
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.0040add0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x401553
mov edi, eax
mov esi, dword [edi]
push esi
call fcn.00472470
add esp, 4
sub eax, 0
je 0x4022cf
dec eax
jne 0x4022da
mov esi, dword [esi + 8]
test esi, esi
je 0x4022da
mov al, byte [esi]
jmp 0x4022dc
xor al, al
mov cl, byte [edi + 0x16]
cmp cl, byte [edi + 0x17]
jb 0x40231c
cmp al, 0xe0
je 0x40231c
cmp al, 0xcc
je 0x40231c
cmp al, 0xda
je 0x40231c
cmp al, 0xdb
je 0x40231c
cmp al, 0xd6
je 0x40231c
cmp al, 0xd7
je 0x40231c
cmp al, 0xd8
je 0x40231c
cmp al, 0xd9
je 0x40231c
cmp byte [edi + 0x1a], 0
je 0x40230e
mov byte [edi + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xc], eax
jmp 0x401553
mov eax, dword [edi + 4]
test eax, eax
je 0x40233d
mov al, byte [eax]
cmp al, 2
je 0x40233d
cmp al, 4
je 0x40233d
cmp al, 5
jb 0x402345
mov edx, dword [0x4cb6e8]
mov dword [esp + 0x54], edx
jmp 0x402345
mov dword [esp + 0x54], 0
mov esi, dword [edi]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x18], esi
push esi
call fcn.00472470
xor ebx, ebx
add esp, 4
sub eax, ebx
je 0x402360
dec eax
jne 0x40236b
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x40236b
mov al, byte [esi]
jmp 0x40236d
xor al, al
mov ecx, dword [0x4cb6cc]
mov edx, dword [0x4c7968]
mov byte [esp + 0x80], al
cmp ecx, edx
jl 0x4023e3
add edx, 2
cmp ecx, edx
jge 0x4023ab
cmp al, 0xe0
je 0x4023e3
cmp al, 0xcc
je 0x4023e3
cmp al, 0xda
je 0x4023e3
cmp al, 0xdb
je 0x4023e3
cmp al, 0xd6
je 0x4023e3
cmp al, 0xd7
je 0x4023e3
cmp al, 0xd8
je 0x4023e3
cmp al, 0xd9
je 0x4023e3
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4023c1
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x68], ebx
cmp dword [esp + 0x3c], 0x41b
jne 0x401553
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x401553
mov ecx, dword [0x4c7a54]
cmp edi, dword [ecx + 0x2c]
jge 0x402426
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x402404
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [esp + 0xc]
mov dword [edx + 0x68], ebx
cmp dword [esp + 0x3c], 0x41b
jne 0x401553
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x401553
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 0x402]
mov byte [esp + 0x17], 1
cmp eax, 0x1c
ja case.0x402441.1027
movzx eax, byte [eax + 0x4031b4]
jmp dword [eax*4 + 0x4031a8]
mov esi, dword [esp + 0x74]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x4ccb58
call fcn.00493864
xor edx, edx
mov word [0x4ccd60], dx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add esp, 0xc
push 0x104
push ecx
push 0x4ccd62
call fcn.00493864
add esp, 0xc
xor edx, edx
mov word [0x4ccf6a], dx
mov dword [0x4ccb54], esi
jmp case.0x402441.1044
mov eax, dword [0x4ccf6c]
mov edx, dword [0x4ccfd4]
mov dword [0x4ccf70], eax
mov dword [0x4ccfd8], edx
cmp ecx, 0x401
jne 0x4024c0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov dword [0x4ccf6c], ecx
jmp 0x4024cc
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x1c]
mov dword [0x4ccf6c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ccfd4], eax
mov ecx, dword [0x4cbd60]
xor esi, esi
push esi
push 1
call fcn.00401280
push 0x7f
push eax
lea ecx, [esp + 0x1c0]
push ecx
call fcn.00493864
mov eax, dword [esp + 0x8c]
add esp, 0xc
push eax
xor edx, edx
push esi
push edi
mov al, 1
mov word [esp + 0x2c2], dx
call fcn.00403860
mov ebx, dword [0x4c7a54]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4cd01c], eax
mov dword [0x4cd018], eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x402547.1027
movzx ecx, byte [eax + 0x4031f4]
jmp dword [ecx*4 + 0x4031d4]
xor edx, edx
mov word [esp + 0xc0], dx
cmp byte [esp + 0x16], dl
je 0x402566
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
jmp 0x40256d
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
mov edi, dword [esp + 0x2c]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x108]
mov edx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov dword [eax + 4], esi
add edi, edx
lea eax, [ecx - 5]
mov dword [esp + 0x2c], edi
cmp eax, 4
ja case.default.0x40259f
jmp dword [eax*4 + 0x403214]
xor eax, eax
cmp dword [esp + 0x24], esi
mov dword [esp + 0x24], esi
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 dword [esp + 0x10], esi
je 0x40268f
cmp dword [ebx + 0x34], edx
jne 0x4025e6
mov esi, dword [esp + 0x10]
lea eax, [ebx + 0x3c]
push eax
call fcn.0046c150
xor esi, esi
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 4]
sub eax, 9
je 0x402676
dec eax
je 0x402664
dec eax
jne 0x40268f
cmp dword [ebx + 0x34], 1
jne 0x40261c
push esi
push 9
mov edx, ecx
mov eax, dword [edx]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40268b
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xe0]
mov dword [esp + 0xe4], edx
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
lea eax, [esp + 0xe0]
push eax
push esi
push 0x1111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40268b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
jmp 0x402684
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push esi
push esi
push 0x19f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
lea esi, [ebx + 0x3c]
call fcn.00478760
cmp dword [esp + 0x10], 0
mov ecx, 1
je 0x4026cb
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x108]
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
add edi, ecx
mov dword [eax + 8], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
jmp 0x4026e4
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x108]
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4a4910
mov edx, edi
add edx, edx
mov dword [esp + edx*8 + 0x110], ecx
mov dword [esp + edx*8 + 0x10c], 0
lea eax, [esp + edx*8 + 0x108]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
add edi, ecx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0x108]
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 + 0x108]
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 + 0x108]
mov eax, dword [ebx + 0x40]
cdq
add edi, ecx
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi], eax
mov dword [esi + 4], edx
xor esi, esi
jmp 0x402a71
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0x34], ecx
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.00478760
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
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_SetWindowLongW]
mov edx, dword [esp + 0x20]
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0x108]
push edx
mov dword [esp + 0x30], ecx
call fcn.004609b0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp dword [esp + 0x10], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x402800
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0x108]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x402819
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0x108]
mov dword [eax + 8], 0
mov dword [eax], 0x4a4910
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 + 0x108]
mov dword [esp + 0x2c], ecx
je 0x40284b
mov eax, dword [0x4cc4e8]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x40284d
mov eax, esi
mov ecx, dword [esp + 0x2c]
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 + 0x108]
mov dword [esp + 0x2c], edi
je 0x402891
mov ecx, dword [0x4cc4e8]
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
xor esi, esi
jmp 0x402a75
mov dword [ebx + 0x34], edx
cmp ecx, 8
jne 0x402a75
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x108]
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 + 0x108]
movzx eax, dx
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xc0], 0
je 0x40290b
mov ecx, dword [0x4cc4e8]
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 + 0x108]
mov edx, dword [esp + 0xc]
add edi, 3
shr eax, 0x10
cmp byte [edx + 0xc0], 0
mov dword [esp + 0x2c], edi
je 0x402953
mov ecx, dword [0x4cc4e8]
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
xor esi, esi
jmp 0x402a75
mov edx, dword [esp + 0x10]
mov al, byte [edx + 4]
cmp al, 0xa
je 0x40299d
cmp al, 0x19
jne 0x402a38
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.00478760
xor esi, esi
jmp 0x402a34
cmp cl, 0x49
jne 0x402a38
lea eax, [esp + 0xc0]
test ecx, 0x100
je 0x4029c4
mov eax, 0x53
mov word [esp + 0xc0], ax
jmp 0x4029d9
test ecx, 0x200
je 0x4029e0
mov edx, 0x73
mov word [esp + 0xc0], dx
lea eax, [esp + 0xc2]
test ecx, 0x400
je 0x4029ef
mov edx, 0x46
jmp 0x4029fc
test ecx, 0x800
je 0x402a02
mov edx, 0x66
mov word [eax], dx
add eax, 2
test ecx, 0x1000
je 0x402a14
mov ecx, 0x43
mov word [eax], cx
jmp 0x402a24
test ecx, 0x2000
je 0x402a27
mov edx, 0x63
mov word [eax], dx
add eax, 2
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x34], 0x49
mov ecx, dword [esp + 0x34]
mov edx, edi
add edx, edx
mov dword [ebx + 0x34], ecx
lea edx, [esp + edx*8 + 0x108]
mov eax, ecx
mov dword [edx + 8], esi
call fcn.00460990
mov dword [edx], eax
mov edx, dword [esp + 0x24]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0x108]
add edi, 2
mov dword [eax + 8], 1
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [esp + 0x2c], edi
cmp byte [esp + 0x16], 0
je 0x402b34
mov eax, dword [esp + 0x10]
cmp byte [eax + 4], 0x17
jne 0x402b34
push 0x10b8
lea ecx, [esp + 0x2bc]
push esi
push ecx
call fcn.004998e0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x2b8]
push eax
dec edx
push esi
mov dword [esp + 0x2c4], edx
mov edx, dword [ecx]
push 0x703
push edx
mov dword [esp + 0x2c8], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x402b91
lea eax, [esp + 0x328]
cmp word [esp + 0x328], si
jne 0x402af6
lea eax, [esp + 0x2c8]
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4cbd60]
push eax
call fcn.0047a6b0
mov ecx, edi
add ecx, ecx
push 0
lea esi, [esp + ecx*8 + 0x10c]
mov ecx, dword [0x4cbd60]
inc edi
push 1
mov dword [esp + 0x34], edi
call fcn.00401280
mov dword [esi + 8], 0
mov dword [esi], eax
xor esi, esi
jmp 0x402b91
cmp word [esp + 0xc0], si
je 0x402b5a
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x108]
inc edi
lea edx, [esp + 0xc0]
mov dword [esp + 0x2c], edi
mov dword [eax + 8], esi
mov dword [eax], edx
cmp ecx, 8
je 0x402b7f
cmp ecx, 5
je 0x402b7f
mov ecx, dword [0x4cbd60]
push 1
push esi
push 0xffffffffffffffff
lea eax, [esp + 0xcc]
push eax
push ecx
call fcn.0047a6b0
jmp 0x402b91
mov edx, dword [esp + 0x24]
mov eax, dword [0x4cbd60]
push 0x18
push esi
push edx
call fcn.00401140
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x70]
mov dword [ebx + 0xc4], 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 + 0x64]
cmp ebx, esi
je 0x402bc3
mov byte [ebx], 1
jmp 0x402bd2
cmp byte [esp + 0x16], 0
je 0x402bd2
mov eax, dword [esp + 0x10]
or byte [eax + 5], 4
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x10c]
push edx
push 0x4a4904
push esi
xor eax, eax
mov edx, edi
mov ecx, esi
call fcn.0046f4d0
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp dword [eax + 4], 0
je 0x402ca3
test ebx, ebx
je 0x402c4c
cmp dword [esp + 0x34], 6
mov byte [ebx], 0
jne 0x402c5b
cmp dword [esp + 0x8c], 0
jne 0x402ca3
push esi
call fcn.00472470
add esp, 4
test eax, eax
jne 0x402c35
test esi, esi
jne 0x402ca3
mov eax, dword [esp + 0xc]
call fcn.00467ea0
mov esi, dword [esp + 0xc]
call fcn.004607d0
jmp 0x402f86
cmp byte [esp + 0x16], 0
je 0x402c5b
mov eax, dword [esp + 0x10]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x34], 5
jne 0x402ca3
mov eax, dword [esp + 0x118]
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_GetWindowLongW]
mov edx, dword [esi + 4]
or eax, 0x10
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [esp + 0xc]
call fcn.004607d0
jmp 0x402f86
mov edi, dword [esp + 0xc]
cmp edi, esi
je 0x402cd3
mov eax, dword [edi + 4]
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0x34], 1
add dword [edi + 0x20], 2
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x44], edi
mov eax, 0x4cc518
mov dword [esp + 0x98], esi
mov dword [esp + 0x90], 0x4ccb58
call fcn.004474b0
xor ecx, ecx
mov dword [esp + 0xa4], ecx
push esi
inc eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa8], eax
xor eax, eax
push 0x4a4904
push ecx
lea edx, [eax + 3]
mov dword [esp + 0xb8], 1
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc0], 0x4ccd62
call fcn.0046f4d0
add esp, 0x10
cmp edi, esi
je 0x402f86
mov esi, dword [esp + 0xc]
call fcn.004607d0
jmp 0x402f86
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov dword [ebx + 0xc4], edx
mov al, byte [esi + 0x21]
mov byte [ebx + 0xf6], al
call fcn.0040d320
jmp 0x402f86
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402da2
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call edi
test eax, eax
jne 0x402d9b
push 0xf
call edi
test eax, eax
jne 0x402d9b
mov eax, 2
jmp 0x402da4
mov eax, 1
jmp 0x402da4
xor eax, eax
push 0x18
push esi
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4cbd60]
call fcn.00401140
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0xf0], ecx
mov ecx, dword [0x4ccfa4]
mov dword [esp + 0xf8], 1
mov dword [esp + 0xf4], esi
mov byte [0x4ccfb0], 1
cmp ecx, esi
je 0x402ded
call fcn.004012f0
mov ecx, dword [0x4ccfa4]
cmp dword [esp + 0x40], esi
jne 0x402e0f
xor edx, edx
cmp ecx, esi
sete dl
lea eax, [esp + 0xf0]
mov ebx, 0x4ccf84
push edx
push 1
push eax
call fcn.00472570
mov byte [0x4ccfb0], 0
jmp 0x402f86
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 8]
push esi
lea edx, [esp + 0x16c]
push edx
mov dword [esp + 0x170], ecx
mov ecx, dword [esp + 0x20]
xor eax, eax
push 0x4a4904
push ecx
lea edx, [eax + 1]
mov dword [esp + 0x180], 6
call fcn.0046f4d0
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 0x10
push eax
call edx
jmp 0x402f86
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x44]
movzx eax, cl
cdq
mov dword [esp + 0xa0], eax
sar ecx, 0x10
movzx eax, cx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa4], edx
cdq
mov dword [esp + 0xb4], edx
push esi
lea edx, [esp + 0x94]
push edx
mov edi, 1
mov dword [esp + 0xb8], eax
push 0x4a4904
push ecx
xor eax, eax
lea edx, [edi + 2]
mov dword [esp + 0xa8], 6
mov dword [esp + 0xb8], edi
mov dword [esp + 0xc8], edi
call fcn.0046f4d0
add esp, 0x10
jmp 0x402f86
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov word [esp + 0x84], ax
sar eax, 0x10
mov word [esp + 0x86], ax
xor eax, eax
mov word [esp + 0x88], ax
push esi
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x8c]
mov dword [esp + 0xa8], eax
xor eax, eax
mov dword [esp + 0x98], edx
push 0x4a4904
push ecx
lea edx, [eax + 2]
mov dword [esp + 0xa8], 6
mov dword [esp + 0xb8], esi
call fcn.0046f4d0
add esp, 0x10
jmp 0x402f86
mov esi, dword [esp + 0x78]
mov al, byte [esi + 0x10]
cmp al, 0x9c
jb 0x402f68
cmp al, 0x9f
ja 0x402f68
movzx edx, word [esp + 0x44]
mov dword [ebx + 0x38], edx
mov eax, dword [esp + 0x54]
mov dword [ebx + 0xc4], eax
mov eax, dword [esp + 0x5c]
mov cl, byte [eax + 0x18]
push eax
push esi
mov byte [ebx + 0xf6], cl
call fcn.0040b220
lea edx, [esp + 0x1b8]
push edx
call fcn.00403970
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x401553
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00403230
add esp, 8
test eax, eax
je 0x401553
mov byte [esp + 0x1f], 1
mov byte [esp + 0x60], 1
jmp 0x401553
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40303d
mov eax, dword [0x4c7a54]
lea edx, [esp + 0x38]
mov byte [eax + 0xe8], 1
mov ecx, dword [esp + 0x3c]
push edx
push esi
mov dword [eax + 0xe4], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x403030
cmp dword [0x4cb700], 0
je 0x40301f
mov eax, dword [0x4c8b88]
test eax, eax
je 0x403013
mov eax, dword [eax]
test eax, eax
jne 0x403018
mov eax, 0x4a4910
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x4c7a54]
mov byte [eax + 0xe8], 0
jmp 0x401553
mov ecx, dword [0x4c7a54]
mov byte [ecx + 0xe8], 0
mov eax, dword [0x4cb56c]
test eax, eax
je 0x403060
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [0x4cb558]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401553
mov eax, dword [0x4c7a54]
mov byte [eax + 0xe8], 1
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x38]
push edx
mov dword [eax + 0xe4], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [0x4c7a54]
mov byte [ecx + 0xe8], 0
jmp 0x401553
cmp esi, 0xffffffff
jle 0x4030bc
mov dword [0x4cd008], 0
mov dword [0x4cd00c], 0
mov dword [0x4cd018], eax
cmp byte [esp + 0x1e], 0
mov dword [0x4cd01c], eax
je 0x4030cf
mov byte [0x4cb6bb], 0
cmp byte [esp + 0x1d], 0
je 0x401e58
dec dword [0x4cb6c8]
test esi, esi
jle 0x401e58
cmp dword [0x4cb6c8], 0
jne 0x401e58
cmp dword [0x4ccfc4], 0
jne 0x401e58
cmp dword [0x4cbdc8], 0
jne 0x401e58
cmp byte [0x4cb6b5], 0
je 0x401e58
mov edx, dword [0x4cb558]
push 9
push edx
jmp 0x401e47