Function at 0x4014c0
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, 0x136c
call fcn.004a7e90
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x22], 0
lea ebx, [edi + 1]
jne 0x4014f9
cmp byte [0x4da86e], 0
mov dword [ebp + 0xc], ebx
jne 0x4014f9
mov byte [0x4da86e], bl
mov byte [esp + 0x22], bl
cmp dword [0x4dc290], edi
je 0x40152d
cmp dword [0x4dc280], edi
je 0x40151b
mov eax, dword [0x4dc278]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4dc280], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4dc290], edi
mov dword [0x4dc278], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x40154d
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x64], 1
mov dword [esp + 0x70], edi
jmp 0x40156b
cmp esi, 5
setle al
mov byte [esp + 0x64], al
test al, al
je 0x401561
mov dword [esp + 0x70], edi
jmp 0x40156b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x70], eax
cmp dword [0x4daf7c], edi
je 0x401578
call fcn.00403620
mov byte [esp + 0x1b], 0
cmp dword [0x4dc1d4], edi
je 0x401593
call fcn.004033f0
test al, al
je 0x401593
mov byte [esp + 0x1b], 1
cmp esi, edi
jle 0x4017ca
cmp dword [ebp + 0xc], ebx
jne 0x4017ca
add dword [0x4da87c], ebx
cmp byte [0x4da868], 0
mov byte [esp + 0x21], 1
jne 0x4015d5
mov ecx, dword [0x4da70c]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4da868], dl
mov byte [esp + 0x37], 0
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [esp + 0x24], esi
jle 0x4017d4
cmp byte [esp + 0x23], 0
jne 0x4017d4
cmp byte [0x4da86e], 0
jne 0x4017e1
call fcn.00403c50
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4015e3
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x40164b
mov dword [0x4dc230], eax
inc dword [esp + 0x6c]
cmp dword [0x4db720], 0
je 0x401687
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
lea edi, [esp + 0x11c]
call fcn.00403690
add esp, 0x10
test al, al
jne 0x4015e3
cmp dword [0x4daeb0], 0
mov ebx, dword [esp + 0x3c]
je 0x401d1d
test ebx, ebx
je 0x401d1d
cmp ebx, dword [0x4da70c]
je 0x401d1d
mov eax, dword [esp + 0x40]
cmp eax, 0x414
je 0x401d1d
cmp eax, 0x402
je 0x401d1d
add eax, 0xffffff00
cmp eax, 9
ja 0x401c84
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x401c8a
call fcn.004852c0
mov edi, eax
test edi, edi
je 0x401c8a
mov eax, esi
call fcn.00466fa0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x401c8a
mov eax, dword [esi + 0x74]
test eax, eax
je 0x401728
lea ecx, [esp + 0x3c]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4015e3
cmp dword [esp + 0x40], 0x100
mov edi, dword [esp + 0x44]
jne 0x401c3d
cmp byte [esi + 0xb8], 0
je 0x401b6f
cmp edi, 0x22
je 0x401764
cmp edi, 0x21
je 0x401764
cmp edi, 9
je 0x401764
cmp edi, 0x25
je 0x401764
cmp edi, 0x27
jne 0x401b6f
mov eax, dword [esp + 0x1c]
mov ebx, esi
call fcn.00401440
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x401b5d
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401b5d
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], 0
cmp al, 0x13
jne 0x401a8b
mov dword [esp + 0x24], ebx
cmp edi, 0x25
je 0x4017ae
cmp edi, 0x27
jne 0x401a8b
cmp edi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, esi
call fcn.00474260
jmp 0x4015e3
mov byte [esp + 0x21], 0
jmp 0x4015d5
cmp byte [0x4da86e], 0
je 0x401972
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x401972
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4db710]
jne 0x401972
cmp dword [0x4da8b4], 0
je 0x401864
push 0x20
lea edx, [esp + 0x184]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.32770
lea eax, [esp + 0x180]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401856
test dx, dx
je 0x401852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401856
add eax, 4
add ecx, 4
test dx, dx
jne 0x401830
xor eax, eax
jmp 0x40185b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4018b9
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x401972
push 0x20
lea ecx, [esp + 0x184]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
lea edx, [esp + 0x180]
push str.SysTreeView32
push edx
call fcn.00499ce9
add esp, 8
test eax, eax
je 0x4018b9
lea eax, [esp + 0x180]
push str.SysListView32
push eax
call fcn.00499ce9
add esp, 8
test eax, eax
jne 0x401972
call fcn.00403c50
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0
push 0x1ff
neg eax
push 0
sbb esi, esi
push 0
lea ecx, [esp + 0x4c]
and esi, 0xfffffcee
push ecx
add esi, 0x311
call edi
test eax, eax
jne 0x4018ff
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x4c]
push edx
call edi
jmp 0x401a00
mov ebx, dword [esp + 0x4c]
push 0
push esi
push 0x20e
push 0
lea eax, [esp + 0x4c]
push eax
call edi
push 1
test eax, eax
jne 0x401933
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x4c]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401a00
mov edx, dword [esp + 0x50]
sub edx, ebx
test edx, edx
jle 0x401958
push 0x1ff
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401a00
push esi
push 0x20e
push 0
lea ecx, [esp + 0x4c]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401a00
cmp dword [0x4d6a1c], 0
je 0x4019de
cmp dword [0x4da8a8], 0
jne 0x4019de
mov eax, dword [0x4d6b14]
cmp byte [eax + 0xec], 0
jne 0x4019d5
cmp byte [eax + 0xee], 0
jne 0x4019d5
cmp dword [eax + 0xe0], 0xffffffff
jle 0x4019d5
call ebx
mov edx, eax
mov eax, dword [0x4d6b14]
sub edx, dword [eax + 0xdc]
cmp edx, dword [eax + 0xe0]
jb 0x4019d5
cmp byte [eax + 0xee], 0
mov byte [eax + 0xec], 1
jne 0x4019d5
mov dword [eax + 0xd8], 5
movzx eax, byte [eax + 0xec]
jmp 0x4019e0
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 + 0x4c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x40164b
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x24]
cmp ecx, 3
jbe 0x401a1a
mov dword [0x4dc230], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x401a39
cmp byte [esp + 0x37], 0
jne 0x401a39
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x37], 1
jmp 0x4015e3
cmp dword [esp + 0x6c], 0
jne 0x401a60
cmp byte [esp + 0x64], 0
je 0x401a60
test esi, esi
jle 0x401a53
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x6c], 1
jmp 0x4015e3
call ebx
cmp byte [esp + 0x64], 0
jne 0x403219
mov edx, dword [esp + 0x70]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x403219
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4015e3
cmp edi, 0x25
je 0x401b61
cmp edi, 0x27
je 0x401b61
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401b5d
mov edi, dword [esp + 0x44]
cmp edi, 9
jne 0x401ad9
cmp byte [ebx + 4], 0xc
jne 0x401ad9
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x401b5d
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x24], 0
jne 0x401b01
mov bl, byte [ebx + 6]
mov ecx, esi
call fcn.00473fa0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x401b01
xor bl, bl
call fcn.00473fa0
mov dword [esp + 0x24], eax
test eax, eax
je 0x401b61
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x401b5d
mov eax, dword [esp + 0x44]
cmp eax, 0x22
je 0x401b47
cmp eax, 9
jne 0x401b32
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401b47
xor al, al
push 1
push 1
mov ecx, esi
push eax
mov eax, edi
call fcn.00474260
jmp 0x4015e3
mov eax, 1
push eax
push eax
push eax
mov eax, edi
mov ecx, esi
call fcn.00474260
jmp 0x4015e3
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x40], 0x100
jne 0x401c3d
cmp edi, 0x1b
je 0x401bb1
cmp edi, 9
je 0x401bb1
cmp edi, 0x41
jne 0x401c3d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x401c39
push 0xa5
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x401c39
mov eax, dword [esp + 0x1c]
mov ebx, esi
call fcn.00401440
mov dword [esp + 0x14], eax
test eax, eax
je 0x401c39
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401c39
mov edi, dword [esp + 0x44]
cmp edi, 0x1b
je 0x401c2d
cmp edi, 0x41
je 0x401c10
test byte [eax + 5], 0x80
je 0x401c3d
mov eax, dword [eax]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x800
jne 0x401c39
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0x4b0950
push 1
push 0xc2
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4015e3
test byte [eax + 5], 2
jne 0x401c3d
mov eax, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4015e3
mov eax, esi
call fcn.004708e0
jmp 0x4015e3
mov edi, dword [esp + 0x44]
mov eax, dword [0x4db64c]
test eax, eax
je 0x401c8e
cmp dword [esp + 0x40], 0x100
jne 0x401c8e
cmp edi, 0xd
jne 0x401c6a
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4015e3
cmp edi, 0x1b
jne 0x401c8e
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4015e3
mov edi, dword [esp + 0x44]
jmp 0x401c92
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
xor esi, esi
cmp dword [0x4daeb0], esi
jle 0x401d25
mov eax, dword [0x4da8bc]
mov edx, dword [eax + esi*4]
cmp dword [edx + 0x10], 0
jne 0x401cba
cmp ecx, 0x106
je 0x401cfc
mov ecx, dword [0x4d6b14]
mov byte [ecx + 0xe8], 1
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xe4], edx
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x401d0b
mov ecx, dword [0x4d6b14]
mov byte [ecx + 0xe8], al
mov eax, dword [0x4da8bc]
mov ecx, dword [esp + 0x40]
inc esi
cmp esi, dword [0x4daeb0]
jl 0x401ca9
mov ebx, dword [esp + 0x3c]
jmp 0x401d21
mov edx, dword [0x4d6b14]
mov byte [edx + 0xe8], 0
jmp 0x4015e3
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
cmp ecx, 0x401
ja 0x401ef3
cmp ecx, 0x400
jae 0x401f14
cmp ecx, 0x100
ja 0x401d98
je 0x401d78
cmp ecx, 0x12
je 0x401d65
cmp ecx, 0x4b
jne case.0x401f09.1027
mov dword [0x4da844], 0
mov byte [esp + 0x23], 1
jmp 0x4015e3
push 0
push 4
mov ecx, 0x4db728
call fcn.0041ebf0
jmp 0x4015e3
cmp ebx, dword [0x4da710]
jne case.0x401f09.1027
cmp edi, 0x1b
jne case.0x401f09.1027
mov eax, dword [0x4da70c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4015e3
cmp ecx, 0x113
je 0x401e23
cmp ecx, 0x312
je 0x401f28
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4031b8
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4db710]
jne 0x4031b8
push 0x20
lea eax, [esp + 0x184]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.32770
lea eax, [esp + 0x180]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403147
test dx, dx
je 0x401e1c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403147
add eax, 4
add ecx, 4
test dx, dx
jne 0x401df2
xor eax, eax
jmp 0x40314c
cmp dword [esp + 0x48], 0
jne case.0x401f09.1027
cmp ebx, dword [0x4da70c]
jne case.0x401f09.1027
cmp dword [0x4daf7c], 0
je 0x401e44
call fcn.00403620
cmp dword [0x4dc1d4], 0
je 0x401e5b
call fcn.004033f0
test al, al
je 0x401e5b
mov byte [esp + 0x1b], 1
cmp dword [ebp + 0xc], 0
je 0x4015e3
cmp dword [ebp + 8], 1
jl 0x4015e3
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.004033b0
add esp, 8
test eax, eax
je 0x4015e3
cmp byte [esp + 0x22], 0
je 0x401e9a
mov byte [0x4da86e], 0
cmp byte [esp + 0x21], 0
je 0x401ee8
dec dword [0x4da87c]
test esi, esi
jle 0x401ee8
cmp dword [0x4da87c], 0
jne 0x401ee8
cmp dword [0x4dc1d4], 0
jne 0x401ee8
cmp dword [0x4daf7c], 0
jne 0x401ee8
cmp byte [0x4da868], 0
je 0x401ee8
mov eax, dword [0x4da70c]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401ee8
mov byte [0x4da868], 0
mov al, byte [esp + 0x1b]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x402]
cmp eax, 0x1c
ja case.0x401f09.1027
movzx eax, byte [eax + 0x4032b4]
jmp dword [eax*4 + 0x4032a8]
mov ecx, dword [esp + 0x40]
test ebx, ebx
je 0x401f28
cmp ebx, dword [0x4da70c]
jne case.0x401f09.1027
mov ecx, dword [esp + 0x40]
xor edx, edx
lea eax, [ecx - 0x401]
mov dword [esp + 0x24], edx
cmp eax, 0x1d
ja case.0x401f44.1027
movzx ecx, byte [eax + 0x4032f0]
jmp dword [ecx*4 + 0x4032d4]
mov esi, ebx
call fcn.00466f70
mov dword [esp + 0x10], eax
test eax, eax
je case.0x401f09.1027
mov eax, dword [esp + 0x48]
movzx ecx, di
shr edi, 0x10
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x30], ebx
cmp ecx, 8
jne 0x401f93
mov dword [esp + 0x74], 0x2af8
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 0x10]
jae 0x401fab
mov esi, dword [eax + 0x18]
lea edx, [edi + edi*4]
lea edx, [esi + edx*4]
mov dword [esp + 0x14], edx
jmp 0x401faf
mov dword [esp + 0x14], ebx
add ecx, 0xfffffffb
mov dword [esp + 0x68], ebx
mov byte [esp + 0x1a], bl
cmp ecx, 4
ja case.default.0x401fc3
jmp dword [ecx*4 + 0x403310]
mov esi, dword [eax + 0x2c]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4015e3
mov eax, dword [esp + 0x10]
add eax, 0x3a
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x401ff4
cmp byte [eax], bl
jne 0x4015e3
xor edi, edi
jmp 0x4023e4
mov esi, dword [eax + 0x24]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4015e3
mov ecx, dword [esp + 0x10]
add ecx, 0x38
mov dword [esp + 0x68], ecx
jmp 0x401fe4
mov esi, dword [eax + 0x28]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4015e3
mov edx, dword [esp + 0x10]
add edx, 0x39
mov dword [esp + 0x68], edx
jmp 0x401fe4
mov esi, dword [eax + 0x34]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4015e3
xor edi, edi
jmp 0x4023e4
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0x68]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x40207c
cmp edi, ebx
je 0x4015e3
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x401ff4
cmp edi, ebx
je 0x4015e3
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x68], 0
jmp 0x4015e3
cmp dword [esp + 0x14], ebx
je 0x4015e3
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4020d0
test byte [eax + 5], 1
je 0x4015e3
mov eax, dword [esp + 0x10]
call fcn.00470880
jmp 0x4015e3
test byte [eax + 5], 4
jne 0x4015e3
mov byte [esp + 0x1a], 1
xor edi, edi
jmp 0x4023e4
cmp edi, edx
je 0x40210b
mov esi, edi
call fcn.00466f70
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40210f
test ebx, ebx
je 0x40210f
cmp ebx, dword [0x4da70c]
jne case.0x401f09.1027
jmp 0x40210f
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov eax, 0x4db728
call fcn.00401490
mov dword [esp + 0x78], eax
test eax, eax
je 0x4015e3
mov edx, eax
mov esi, dword [edx + 8]
test esi, esi
je 0x4015e3
mov edi, dword [eax + 0x18]
jmp 0x4023e0
cmp edi, dword [0x4daf84]
jae 0x4015e3
mov ecx, dword [0x4daf80]
mov edi, dword [ecx + edi*4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x5c], edi
test esi, esi
je 0x40218f
mov edx, dword [edi + 4]
push edx
call fcn.0040f2f0
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
je 0x4015e3
mov eax, edi
mov ecx, dword [eax + 0x10]
mov al, byte [ecx]
cmp al, 2
je 0x4021c8
cmp al, 4
je 0x4021c8
cmp al, 5
jb 0x402193
mov edx, dword [0x4da89c]
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x48]
push eax
push edi
call fcn.004124c0
cmp dword [edi + 0xc], 0
jne 0x4015e3
mov eax, dword [esp + 0x5c]
cmp byte [eax + 0x2a], 0
je 0x4021d6
mov cx, word [esp + 0x48]
mov word [0x4dc1ec], cx
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x4023e0
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
jmp 0x402193
xor edx, edx
mov word [0x4dc1ec], dx
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x4023e0
cmp byte [0x4dc1c0], dl
jne 0x4015e3
mov esi, dword [0x4dc1b4]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x40220d
mov esi, dword [0x4dbd60]
mov dword [esp + 0x1c], esi
xor edi, edi
jmp 0x4023e4
mov eax, edi
call fcn.0043f6f0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4015e3
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x35c]
xor edi, edi
jmp 0x4023e0
mov eax, dword [0x4daf18]
mov dword [esp + 0x2c], eax
cmp eax, edx
je 0x4015e3
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x402260
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x402248
jmp 0x4015e3
test eax, eax
je 0x4015e3
mov eax, dword [esp + 0x40]
cmp eax, 0x41c
jne 0x402282
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x360]
jmp 0x4022a5
cmp eax, 0x41e
jne 0x402298
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x368]
jmp 0x4022a5
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x364]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4015e3
xor edi, edi
jmp 0x4023e4
mov ecx, dword [0x4d7d3c]
mov edx, edi
and edx, 0x7fff
mov eax, edx
cmp ax, word [ecx]
jae 0x4015e3
movzx edx, ax
mov eax, dword [0x4daf60]
mov ecx, dword [eax + edx*4]
shr edi, 0x10
mov eax, edi
mov dword [esp + 0x84], ecx
test ax, ax
je 0x40231b
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x60], edx
test ax, ax
je 0x402313
mov edx, dword [esp + 0x60]
mov edx, dword [edx + 8]
add eax, 0xffff
mov dword [esp + 0x60], edx
test ax, ax
jne 0x4022fe
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x402352
cmp dword [esp + 0x40], 0x400
jne 0x402335
mov edx, dword [esp + 0x48]
shr edx, 0x10
mov eax, 0xffc3d44d
sub eax, edx
jmp 0x402337
xor eax, eax
push 0
push eax
push ecx
lea eax, [esp + 0x64]
call fcn.0040fea0
mov dword [esp + 0x60], eax
test eax, eax
je 0x4015e3
mov edi, eax
mov esi, dword [edi]
push esi
call fcn.0047ad10
add esp, 4
sub eax, 0
je 0x402365
dec eax
jne 0x402370
mov esi, dword [esi + 8]
test esi, esi
je 0x402370
mov al, byte [esi]
jmp 0x402372
xor al, al
mov cl, byte [edi + 0x16]
cmp cl, byte [edi + 0x17]
jb 0x4023b2
cmp al, 0xe0
je 0x4023b2
cmp al, 0xcc
je 0x4023b2
cmp al, 0xda
je 0x4023b2
cmp al, 0xdb
je 0x4023b2
cmp al, 0xd6
je 0x4023b2
cmp al, 0xd7
je 0x4023b2
cmp al, 0xd8
je 0x4023b2
cmp al, 0xd9
je 0x4023b2
cmp byte [edi + 0x1a], 0
je 0x4023a4
mov byte [edi + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xc], eax
jmp 0x4015e3
mov eax, dword [edi + 4]
test eax, eax
je 0x4023d3
mov al, byte [eax]
cmp al, 2
je 0x4023d3
cmp al, 4
je 0x4023d3
cmp al, 5
jb 0x4023db
mov edx, dword [0x4da89c]
mov dword [esp + 0x58], edx
jmp 0x4023db
mov dword [esp + 0x58], 0
mov esi, dword [edi]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x1c], esi
push esi
call fcn.0047ad10
xor ebx, ebx
add esp, 4
sub eax, ebx
je 0x4023f6
dec eax
jne 0x402401
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x402401
mov al, byte [esi]
jmp 0x402403
xor al, al
mov ecx, dword [0x4da880]
mov edx, dword [0x4d6a28]
mov byte [esp + 0x80], al
cmp ecx, edx
jl 0x402479
add edx, 2
cmp ecx, edx
jge 0x402441
cmp al, 0xe0
je 0x402479
cmp al, 0xcc
je 0x402479
cmp al, 0xda
je 0x402479
cmp al, 0xdb
je 0x402479
cmp al, 0xd6
je 0x402479
cmp al, 0xd7
je 0x402479
cmp al, 0xd8
je 0x402479
cmp al, 0xd9
je 0x402479
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x402457
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x68], ebx
cmp dword [esp + 0x40], 0x41b
jne 0x4015e3
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4015e3
mov ecx, dword [0x4d6b14]
cmp edi, dword [ecx + 0x2c]
jge 0x4024bc
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x40249a
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x68], ebx
cmp dword [esp + 0x40], 0x41b
jne 0x4015e3
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4015e3
mov ecx, dword [esp + 0x40]
lea eax, [ecx - 0x402]
mov byte [esp + 0x1b], 1
cmp eax, 0x1c
ja case.0x4024d7.1027
movzx eax, byte [eax + 0x403330]
jmp dword [eax*4 + 0x403324]
mov esi, dword [esp + 0x78]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x4dbd68
call fcn.0049d114
xor edx, edx
mov word [0x4dbf70], dx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add esp, 0xc
push 0x104
push ecx
push 0x4dbf72
call fcn.0049d114
add esp, 0xc
xor edx, edx
mov word [0x4dc17a], dx
mov dword [0x4dbd64], esi
jmp case.0x4024d7.1044
mov eax, dword [0x4dc17c]
mov edx, dword [0x4dc1e4]
mov dword [0x4dc180], eax
mov dword [0x4dc1e8], edx
cmp ecx, 0x401
jne 0x402556
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov dword [0x4dc17c], ecx
jmp 0x402565
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x1c]
mov dword [0x4dc17c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4dc1e4], eax
mov esi, dword [0x4daf14]
cmp byte [esi + 0x17], bl
jne 0x40257e
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x40258b
mov eax, esi
call fcn.004011c0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4025a8
test byte [esi + 0x15], 4
je 0x4025a3
push esi
mov ecx, 0x4db728
call fcn.0043ab70
mov eax, dword [esi + 8]
jmp 0x4025b8
cmp al, 2
jne 0x4025b3
call fcn.00401060
jmp 0x4025b8
mov eax, 0x4db68c
push 0x7f
push eax
lea ecx, [esp + 0x1c8]
push ecx
call fcn.0049d114
mov eax, dword [esp + 0x8c]
add esp, 0xc
push eax
xor edx, edx
push edx
push edi
mov al, 1
mov word [esp + 0x2ca], dx
call fcn.00403a70
mov ebx, dword [0x4d6b14]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4dc234], eax
mov dword [0x4dc230], eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x402618.1027
movzx ecx, byte [eax + 0x403370]
jmp dword [ecx*4 + 0x403350]
mov esi, dword [esp + 0x10]
xor edx, edx
mov word [esp + 0xc8], dx
cmp byte [esp + 0x1a], dl
je 0x40263b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jmp 0x40263e
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x30]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x110]
mov edx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov dword [eax + 4], 0
add edi, edx
lea eax, [ecx - 5]
mov dword [esp + 0x30], edi
cmp eax, 4
ja case.default.0x402674
jmp dword [eax*4 + 0x403390]
xor eax, eax
cmp dword [esp + 0x28], eax
mov dword [esp + 0x28], 0
sete al
cmp dword [esp + 0x14], 0
lea eax, [eax + eax + 1]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x3c], ecx
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x40], eax
je 0x402762
cmp dword [ebx + 0x34], edx
jne 0x4026be
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x3c]
push eax
call fcn.00474b30
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 4]
sub eax, 9
je 0x402747
dec eax
je 0x402735
dec eax
jne 0x402762
cmp dword [ebx + 0x34], 1
jne 0x4026f0
push eax
push 9
mov edx, ecx
mov eax, dword [edx]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40275e
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xe8]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esi]
push eax
push ecx
mov dword [esp + 0xf4], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi]
lea edx, [esp + 0xe8]
push edx
push 0
push 0x1111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40275e
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x402757
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0
push 0x19f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
lea esi, [ebx + 0x3c]
call fcn.00481450
mov eax, edi
add eax, eax
cmp dword [esp + 0x14], 0
mov ecx, 1
lea eax, [esp + eax*8 + 0x110]
je 0x40279e
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 0x4027ac
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4b09ac
mov edx, edi
add edx, edx
mov dword [esp + edx*8 + 0x118], ecx
mov dword [esp + edx*8 + 0x114], 0
lea eax, [esp + edx*8 + 0x110]
mov edx, dword [esp + 0x28]
mov dword [eax], edx
add edi, ecx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0x110]
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 + 0x110]
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 + 0x110]
mov eax, dword [ebx + 0x40]
cdq
mov dword [esi + 8], ecx
add edi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x10]
jmp 0x402b49
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x34], ecx
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
lea esi, [ebx + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 4], eax
mov ecx, dword [ecx + 4]
call fcn.00481450
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
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_SetWindowLongW]
mov edx, dword [esp + 0x24]
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0x110]
push edx
mov dword [esp + 0x34], ecx
call fcn.004692f0
mov ecx, dword [esp + 0x34]
add esp, 4
cmp dword [esp + 0x14], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x4028ca
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0x110]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x4028e3
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0x110]
mov dword [eax + 8], 0
mov dword [eax], 0x4b09ac
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 + 0x110]
mov dword [esp + 0x30], ecx
je 0x402915
mov eax, dword [0x4db714]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x402917
mov eax, esi
mov ecx, dword [esp + 0x30]
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 + 0x110]
mov dword [esp + 0x30], edi
je 0x40295b
mov ecx, dword [0x4db714]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x38]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x10]
jmp 0x402b4d
mov dword [ebx + 0x34], edx
cmp ecx, 8
jne 0x402b4d
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x28]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
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 + 0x110]
movzx eax, dx
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xc0], 0
je 0x4029d7
mov ecx, dword [0x4db714]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x38]
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 + 0x110]
mov edx, dword [esp + 0x10]
add edi, 3
shr eax, 0x10
cmp byte [edx + 0xc0], 0
mov dword [esp + 0x30], edi
je 0x402a1f
mov ecx, dword [0x4db714]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x38]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x10]
jmp 0x402b4d
mov edx, dword [esp + 0x14]
mov al, byte [edx + 4]
cmp al, 0xa
je 0x402a6d
cmp al, 0x19
jne 0x402b08
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
lea esi, [ebx + 0x3c]
mov dword [esi], eax
mov ecx, dword [esp + 0x54]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
call fcn.00481450
mov esi, dword [esp + 0x10]
jmp 0x402b04
cmp cl, 0x49
jne 0x402b08
lea eax, [esp + 0xc8]
test ecx, 0x100
je 0x402a94
mov eax, 0x53
mov word [esp + 0xc8], ax
jmp 0x402aa9
test ecx, 0x200
je 0x402ab0
mov edx, 0x73
mov word [esp + 0xc8], dx
lea eax, [esp + 0xca]
test ecx, 0x400
je 0x402abf
mov edx, 0x46
jmp 0x402acc
test ecx, 0x800
je 0x402ad2
mov edx, 0x66
mov word [eax], dx
add eax, 2
test ecx, 0x1000
je 0x402ae4
mov ecx, 0x43
mov word [eax], cx
jmp 0x402af4
test ecx, 0x2000
je 0x402af7
mov edx, 0x63
mov word [eax], dx
add eax, 2
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x38], 0x49
mov ecx, dword [esp + 0x38]
mov edx, edi
add edx, edx
mov dword [ebx + 0x34], ecx
lea edx, [esp + edx*8 + 0x110]
mov eax, ecx
mov dword [edx + 8], 0
call fcn.004692d0
mov dword [edx], eax
mov edx, dword [esp + 0x28]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0x110]
add edi, 2
mov dword [eax + 8], 1
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [esp + 0x30], edi
cmp byte [esp + 0x1a], 0
je 0x402c87
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0x17
jne 0x402c87
push 0x10b8
lea ecx, [esp + 0x2c4]
push 0
push ecx
call fcn.004a4a80
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x2c0]
push eax
dec edx
push 0
mov dword [esp + 0x2cc], edx
mov edx, dword [ecx]
push 0x703
push edx
mov dword [esp + 0x2d0], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x402ceb
cmp word [esp + 0x330], 0
lea eax, [esp + 0x330]
jne 0x402bd1
lea eax, [esp + 0x2d0]
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4daf14]
push eax
call fcn.004833e0
mov esi, dword [0x4daf14]
mov ecx, edi
add ecx, ecx
inc edi
cmp byte [esi + 0x17], 0
lea edx, [esp + ecx*8 + 0x110]
mov dword [esp + 0x90], edx
mov dword [esp + 0x30], edi
jne 0x402c09
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x402c16
mov eax, esi
call fcn.004011c0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x402c4a
test byte [esi + 0x15], 4
je 0x402c2e
push esi
mov ecx, 0x4db728
call fcn.0043ab70
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x10]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402ceb
cmp al, 2
jne 0x402c6c
call fcn.00401060
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x10]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402ceb
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x10]
mov eax, 0x4db68c
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402ceb
cmp word [esp + 0xc8], 0
je 0x402cb2
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
inc edi
lea edx, [esp + 0xc8]
mov dword [esp + 0x30], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x402cd8
cmp ecx, 5
je 0x402cd8
mov ecx, dword [0x4daf14]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0xd4]
push eax
push ecx
call fcn.004833e0
jmp 0x402ceb
mov edx, dword [esp + 0x28]
mov eax, dword [0x4daf14]
push 0x18
push 0
push edx
call fcn.00401140
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0xc4], eax
add dword [esi + 0x20], 2
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x38], edx
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x402d19
mov byte [ebx], 1
jmp 0x402d28
cmp byte [esp + 0x1a], 0
je 0x402d28
mov eax, dword [esp + 0x14]
or byte [eax + 5], 4
lea eax, [esp + 0x94]
push eax
push edi
lea ecx, [esp + 0x118]
push ecx
push 0x4b0954
lea edx, [esp + 0x2c]
push edx
call fcn.0047ac70
cmp dword [esi + 4], 0
je 0x402de7
test ebx, ebx
je 0x402d94
cmp dword [esp + 0x38], 6
mov byte [ebx], 0
jne 0x402da3
cmp dword [esp + 0x94], 0
jne 0x402de7
mov edi, dword [esp + 0x1c]
push edi
call fcn.0047ad10
add esp, 4
test eax, eax
jne 0x402d7f
test edi, edi
jne 0x402de7
mov eax, esi
call fcn.00470880
mov esi, dword [esp + 0x10]
call fcn.00469110
jmp 0x403101
cmp byte [esp + 0x1a], 0
je 0x402da3
mov eax, dword [esp + 0x14]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x38], 5
jne 0x402de7
mov eax, dword [esp + 0x120]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
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_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 + 0x10]
call fcn.00469110
jmp 0x403101
mov edi, dword [esp + 0x10]
xor esi, esi
cmp edi, esi
je 0x402e19
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, 0x4db728
mov dword [esp + 0xa0], esi
mov dword [esp + 0x98], 0x4dbd68
call fcn.00450820
push esi
xor ecx, ecx
push 3
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0xa0]
push ecx
push str.Menu
lea edx, [esp + 0x2c]
inc eax
push edx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xbc], eax
mov dword [esp + 0xd4], esi
mov dword [esp + 0xcc], 0x4dbf72
call fcn.0047ac70
cmp edi, esi
je 0x403101
mov esi, dword [esp + 0x10]
call fcn.00469110
jmp 0x403101
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov dword [ebx + 0xc4], eax
mov cl, byte [esi + 0x21]
mov byte [ebx + 0xf6], cl
call fcn.00412440
jmp 0x403101
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402ee2
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x402edb
push 0xf
call esi
test eax, eax
jne 0x402edb
mov eax, 2
jmp 0x402ee4
mov eax, 1
jmp 0x402ee4
xor eax, eax
push 0x18
xor esi, esi
push esi
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4daf14]
call fcn.00401140
mov edx, dword [ebx + 0x38]
mov eax, dword [0x4db6a4]
mov dword [esp + 0x100], 1
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], esi
mov byte [0x4dc1c0], 1
cmp eax, dword [0x4db6a8]
jne 0x402f31
call fcn.0040565f
mov eax, dword [0x4db6a4]
cmp eax, dword [0x4db6a0]
jb 0x402f46
mov ecx, dword [0x4dbd5c]
mov dword [eax], ecx
mov eax, dword [0x4db6a4]
add eax, 0xc
mov dword [0x4db6a4], eax
mov dword [eax], esi
mov dword [eax + 4], 0x4b095c
mov dword [eax + 8], esi
mov ecx, dword [0x4dc1b4]
cmp ecx, esi
je 0x402f6f
call fcn.00401300
mov ecx, dword [0x4dc1b4]
cmp dword [esp + 0x44], esi
jne 0x402f91
xor edx, edx
cmp ecx, esi
sete dl
lea eax, [esp + 0xf8]
mov ebx, 0x4dc194
push edx
push 1
push eax
call fcn.0047ae10
call fcn.004094c7
mov byte [0x4dc1c0], 0
jmp 0x403101
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
push 0
push 1
lea edx, [esp + 0x178]
push edx
push str.InputHook
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x18c], 6
mov dword [esp + 0x184], ecx
call fcn.0047ac70
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x403101
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x48]
movzx eax, cl
cdq
mov dword [esp + 0xa8], eax
sar ecx, 0x10
movzx eax, cx
mov dword [esp + 0xac], edx
cdq
push 0
push 3
mov dword [esp + 0xc4], edx
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0xc4], eax
push str.InputHook
lea eax, [esp + 0x2c]
mov edi, 1
push eax
mov dword [esp + 0xb4], 6
mov dword [esp + 0xc4], edi
mov dword [esp + 0xd4], edi
call fcn.0047ac70
jmp 0x403101
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
mov word [esp + 0x88], ax
sar eax, 0x10
push 0
mov word [esp + 0x8e], ax
mov eax, dword [edx + 8]
push 2
xor ecx, ecx
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0xa4], eax
mov word [esp + 0x98], cx
mov dword [esp + 0xbc], ecx
push str.InputHook
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x98]
push eax
mov dword [esp + 0xb4], 6
mov dword [esp + 0xbc], ecx
call fcn.0047ac70
jmp 0x403101
mov ecx, dword [esp + 0x84]
mov al, byte [ecx + 0x10]
cmp al, 0x9c
jb 0x4030e3
cmp al, 0x9f
ja 0x4030e3
movzx edx, word [esp + 0x48]
mov dword [ebx + 0x38], edx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
mov dword [ebx + 0xc4], eax
mov dl, byte [esi + 0x18]
push esi
push ecx
mov byte [ebx + 0xf6], dl
call fcn.004102f0
lea eax, [esp + 0x1c0]
push eax
call fcn.00403b80
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x4015e3
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.004033b0
add esp, 8
test eax, eax
je 0x4015e3
mov byte [esp + 0x23], 1
mov byte [esp + 0x64], 1
jmp 0x4015e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4031b8
mov eax, dword [0x4d6b14]
lea edx, [esp + 0x3c]
mov byte [eax + 0xe8], 1
mov ecx, dword [esp + 0x40]
push edx
push esi
mov dword [eax + 0xe4], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x4031ab
cmp dword [0x4da8b4], 0
je 0x40319a
mov eax, dword [0x4d7d34]
test eax, eax
je 0x40318e
mov eax, dword [eax]
test eax, eax
jne 0x403193
mov eax, 0x4b09ac
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x4d6b14]
mov byte [eax + 0xe8], 0
jmp 0x4015e3
mov ecx, dword [0x4d6b14]
mov byte [ecx + 0xe8], 0
mov eax, dword [0x4da720]
test eax, eax
je 0x4031db
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [0x4da70c]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4015e3
mov eax, dword [0x4d6b14]
mov byte [eax + 0xe8], 1
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x3c]
push edx
mov dword [eax + 0xe4], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [0x4d6b14]
mov byte [ecx + 0xe8], 0
jmp 0x4015e3
cmp esi, 0xffffffff
jle 0x403237
mov dword [0x4dc220], 0
mov dword [0x4dc224], 0
mov dword [0x4dc230], eax
cmp byte [esp + 0x22], 0
mov dword [0x4dc234], eax
je 0x40324a
mov byte [0x4da86e], 0
cmp byte [esp + 0x21], 0
je 0x401ee8
dec dword [0x4da87c]
test esi, esi
jle 0x401ee8
cmp dword [0x4da87c], 0
jne 0x401ee8
cmp dword [0x4dc1d4], 0
jne 0x401ee8
cmp dword [0x4daf7c], 0
jne 0x401ee8
cmp byte [0x4da868], 0
je 0x401ee8
mov edx, dword [0x4da70c]
push 9
push edx
jmp 0x401ed7