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.004a7400
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 [0x4d8801], 0
mov dword [ebp + 0xc], ebx
jne 0x4014f9
mov byte [0x4d8801], bl
mov byte [esp + 0x22], bl
cmp dword [0x4d96cc], edi
je 0x40152d
cmp dword [0x4d96bc], edi
je 0x40151b
mov eax, dword [0x4d96b4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4d96bc], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4d96cc], edi
mov dword [0x4d96b4], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x40154d
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x5c], 1
mov dword [esp + 0x70], edi
jmp 0x40156b
cmp esi, 5
setle al
mov byte [esp + 0x5c], 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 [0x4d8f0c], edi
je 0x401578
call fcn.00403610
mov byte [esp + 0x1b], 0
cmp dword [0x4da17c], edi
je 0x401593
call fcn.004033e0
test al, al
je 0x401593
mov byte [esp + 0x1b], 1
cmp esi, edi
jle 0x4017ca
cmp dword [ebp + 0xc], ebx
jne 0x4017ca
add dword [0x4d8810], ebx
cmp byte [0x4d87df], 0
mov byte [esp + 0x21], 1
jne 0x4015d5
mov ecx, dword [0x4d86a0]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4d87df], dl
mov byte [esp + 0x53], 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 [0x4d8801], 0
jne 0x4017e1
call fcn.00403c40
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4015e3
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x40164b
mov dword [0x4da1d8], eax
inc dword [esp + 0x6c]
cmp dword [0x4d96ac], 0
je 0x401687
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 + 0x11c]
call fcn.00403680
add esp, 0x10
test al, al
jne 0x4015e3
cmp dword [0x4d8e40], 0
mov ebx, dword [esp + 0x34]
je 0x401d07
test ebx, ebx
je 0x401d07
cmp ebx, dword [0x4d86a0]
je 0x401d07
mov eax, dword [esp + 0x38]
cmp eax, 0x414
je 0x401d07
cmp eax, 0x402
je 0x401d07
add eax, 0xffffff00
cmp eax, 9
ja 0x401c6e
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x401c74
call fcn.00484640
mov edi, eax
test edi, edi
je 0x401c74
mov eax, esi
call fcn.00466440
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x401c74
mov eax, dword [esi + 0x74]
test eax, eax
je 0x401728
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4015e3
cmp dword [esp + 0x38], 0x100
mov edi, dword [esp + 0x3c]
jne 0x401c27
cmp byte [esi + 0xb8], 0
je 0x401b59
cmp edi, 0x22
je 0x401764
cmp edi, 0x21
je 0x401764
cmp edi, 9
je 0x401764
cmp edi, 0x25
je 0x401764
cmp edi, 0x27
jne 0x401b59
mov eax, dword [esp + 0x1c]
mov ebx, esi
call fcn.00401440
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x401b47
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401b47
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x24], 0
cmp al, 0x13
jne 0x401a75
mov dword [esp + 0x24], ebx
cmp edi, 0x25
je 0x4017ae
cmp edi, 0x27
jne 0x401a75
cmp edi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, esi
call fcn.004736a0
jmp 0x4015e3
mov byte [esp + 0x21], 0
jmp 0x4015d5
cmp byte [0x4d8801], 0
je 0x40196f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x40196f
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4d969c]
jne 0x40196f
cmp dword [0x4d8844], 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 0x40196f
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.00498fc9
add esp, 8
test eax, eax
je 0x4018b9
lea eax, [esp + 0x180]
push str.SysListView32
push eax
call fcn.00498fc9
add esp, 8
test eax, eax
jne 0x40196f
call fcn.00403c40
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
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 0x4018ff
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x44]
push edx
call edi
jmp 0x4019ea
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 0x401933
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4019ea
mov edx, dword [esp + 0x48]
sub edx, ebx
test edx, edx
jle 0x401958
push 0x1ff
push 0
push 0
lea eax, [esp + 0x44]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4019ea
push esi
push 0x20e
push 0
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4019ea
cmp dword [0x4d4a0c], 0
je 0x4019c8
cmp dword [0x4d8838], 0
jne 0x4019c8
mov eax, dword [0x4d4b04]
cmp byte [eax + 0xec], 0
jne 0x4019bf
cmp byte [eax + 0xee], 0
jne 0x4019bf
cmp dword [eax + 0xe0], 0xffffffff
jle 0x4019bf
call ebx
mov edx, eax
mov eax, dword [0x4d4b04]
sub edx, dword [eax + 0xdc]
cmp edx, dword [eax + 0xe0]
jb 0x4019bf
mov byte [eax + 0xec], 1
movzx eax, byte [eax + 0xec]
jmp 0x4019ca
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_PeekMessageW]
test eax, eax
jne 0x40164b
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x24]
cmp ecx, 3
jbe 0x401a04
mov dword [0x4da1d8], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x401a23
cmp byte [esp + 0x53], 0
jne 0x401a23
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x53], 1
jmp 0x4015e3
cmp dword [esp + 0x6c], 0
jne 0x401a4a
cmp byte [esp + 0x5c], 0
je 0x401a4a
test esi, esi
jle 0x401a3d
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x6c], 1
jmp 0x4015e3
call ebx
cmp byte [esp + 0x5c], 0
jne 0x403209
mov edx, dword [esp + 0x70]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x403209
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4015e3
cmp edi, 0x25
je 0x401b4b
cmp edi, 0x27
je 0x401b4b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401b47
mov edi, dword [esp + 0x3c]
cmp edi, 9
jne 0x401ac3
cmp byte [ebx + 4], 0xc
jne 0x401ac3
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x401b47
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x24], 0
jne 0x401aeb
mov bl, byte [ebx + 6]
mov ecx, esi
call fcn.004733e0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x401aeb
xor bl, bl
call fcn.004733e0
mov dword [esp + 0x24], eax
test eax, eax
je 0x401b4b
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x401b47
mov eax, dword [esp + 0x3c]
cmp eax, 0x22
je 0x401b31
cmp eax, 9
jne 0x401b1c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401b31
xor al, al
push 1
push 1
mov ecx, esi
push eax
mov eax, edi
call fcn.004736a0
jmp 0x4015e3
mov eax, 1
push eax
push eax
push eax
mov eax, edi
mov ecx, esi
call fcn.004736a0
jmp 0x4015e3
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x38], 0x100
jne 0x401c27
cmp edi, 0x1b
je 0x401b9b
cmp edi, 9
je 0x401b9b
cmp edi, 0x41
jne 0x401c27
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x401c23
push 0xa5
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x401c23
mov eax, dword [esp + 0x1c]
mov ebx, esi
call fcn.00401440
mov dword [esp + 0x14], eax
test eax, eax
je 0x401c23
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401c23
mov edi, dword [esp + 0x3c]
cmp edi, 0x1b
je 0x401c17
cmp edi, 0x41
je 0x401bfa
test byte [eax + 5], 0x80
je 0x401c27
mov eax, dword [eax]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x800
jne 0x401c23
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0x4af960
push 1
push 0xc2
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4015e3
test byte [eax + 5], 2
jne 0x401c27
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.0046fd60
jmp 0x4015e3
mov edi, dword [esp + 0x3c]
mov eax, dword [0x4d95e4]
test eax, eax
je 0x401c78
cmp dword [esp + 0x38], 0x100
jne 0x401c78
cmp edi, 0xd
jne 0x401c54
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4015e3
cmp edi, 0x1b
jne 0x401c78
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4015e3
mov edi, dword [esp + 0x3c]
jmp 0x401c7c
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
xor esi, esi
cmp dword [0x4d8e40], esi
jle 0x401d0f
mov eax, dword [0x4d884c]
mov edx, dword [eax + esi*4]
cmp dword [edx + 0x10], 0
jne 0x401ca4
cmp ecx, 0x106
je 0x401ce6
mov ecx, dword [0x4d4b04]
mov byte [ecx + 0xe8], 1
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xe4], edx
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x401cf5
mov ecx, dword [0x4d4b04]
mov byte [ecx + 0xe8], al
mov eax, dword [0x4d884c]
mov ecx, dword [esp + 0x38]
inc esi
cmp esi, dword [0x4d8e40]
jl 0x401c93
mov ebx, dword [esp + 0x34]
jmp 0x401d0b
mov edx, dword [0x4d4b04]
mov byte [edx + 0xe8], 0
jmp 0x4015e3
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp ecx, 0x401
ja 0x401ee5
cmp ecx, 0x400
jae 0x401f06
cmp ecx, 0x100
ja 0x401d82
je 0x401d62
cmp ecx, 0x12
je 0x401d4f
cmp ecx, 0x4b
jne case.0x401efb.1027
mov dword [0x4d87d8], 0
mov byte [esp + 0x23], 1
jmp 0x4015e3
push 0
push 4
mov ecx, 0x4d96d0
call fcn.0041e8e0
jmp 0x4015e3
cmp ebx, dword [0x4d86a4]
jne case.0x401efb.1027
cmp edi, 0x1b
jne case.0x401efb.1027
mov eax, dword [0x4d86a0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4015e3
cmp ecx, 0x113
je 0x401e11
cmp ecx, 0x312
je 0x401f1a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4031a8
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4d969c]
jne 0x4031a8
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]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403137
test dx, dx
je 0x401e0a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403137
add eax, 4
add ecx, 4
test dx, dx
jne 0x401de0
xor eax, eax
jmp 0x40313c
cmp dword [esp + 0x40], 0
jne case.0x401efb.1027
cmp ebx, dword [0x4d86a0]
jne case.0x401efb.1027
cmp dword [0x4d8f0c], 0
je 0x401e36
call fcn.00403610
cmp dword [0x4da17c], 0
je 0x401e4d
call fcn.004033e0
test al, al
je 0x401e4d
mov byte [esp + 0x1b], 1
cmp dword [ebp + 0xc], 0
je 0x4015e3
cmp dword [ebp + 8], 1
jl 0x4015e3
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.004033a0
add esp, 8
test eax, eax
je 0x4015e3
cmp byte [esp + 0x22], 0
je 0x401e8c
mov byte [0x4d8801], 0
cmp byte [esp + 0x21], 0
je 0x401eda
dec dword [0x4d8810]
test esi, esi
jle 0x401eda
cmp dword [0x4d8810], 0
jne 0x401eda
cmp dword [0x4da17c], 0
jne 0x401eda
cmp dword [0x4d8f0c], 0
jne 0x401eda
cmp byte [0x4d87df], 0
je 0x401eda
mov eax, dword [0x4d86a0]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401eda
mov byte [0x4d87df], 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.0x401efb.1027
movzx eax, byte [eax + 0x4032a4]
jmp dword [eax*4 + 0x403298]
mov ecx, dword [esp + 0x38]
test ebx, ebx
je 0x401f1a
cmp ebx, dword [0x4d86a0]
jne case.0x401efb.1027
mov ecx, dword [esp + 0x38]
xor edx, edx
lea eax, [ecx - 0x401]
mov dword [esp + 0x24], edx
cmp eax, 0x1d
ja case.0x401f36.1027
movzx ecx, byte [eax + 0x4032e0]
jmp dword [ecx*4 + 0x4032c4]
mov esi, ebx
call fcn.00466410
mov dword [esp + 0x10], eax
test eax, eax
je case.0x401efb.1027
mov eax, dword [esp + 0x40]
movzx ecx, di
shr edi, 0x10
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x2c], ebx
cmp ecx, 8
jne 0x401f85
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 0x401f9d
mov esi, dword [eax + 0x18]
lea edx, [edi + edi*4]
lea edx, [esi + edx*4]
mov dword [esp + 0x14], edx
jmp 0x401fa1
mov dword [esp + 0x14], ebx
add ecx, 0xfffffffb
mov dword [esp + 0x68], ebx
mov byte [esp + 0x1a], bl
cmp ecx, 4
ja case.default.0x401fb5
jmp dword [ecx*4 + 0x403300]
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 0x401fe6
cmp byte [eax], bl
jne 0x4015e3
xor edi, edi
jmp 0x4023cc
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 0x401fd6
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 0x401fd6
mov esi, dword [eax + 0x34]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4015e3
xor edi, edi
jmp 0x4023cc
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0x68]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x40206e
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 0x401fe6
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 0x4020c2
test byte [eax + 5], 1
je 0x4015e3
mov eax, dword [esp + 0x10]
call fcn.0046fd00
jmp 0x4015e3
test byte [eax + 5], 4
jne 0x4015e3
mov byte [esp + 0x1a], 1
xor edi, edi
jmp 0x4023cc
cmp edi, edx
je 0x4020fd
mov esi, edi
call fcn.00466410
mov dword [esp + 0x10], eax
test eax, eax
jne 0x402101
test ebx, ebx
je 0x402101
cmp ebx, dword [0x4d86a0]
jne case.0x401efb.1027
jmp 0x402101
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x40]
mov eax, 0x4d96d0
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 0x4023c8
cmp edi, dword [0x4d8f14]
jae 0x4015e3
mov ecx, dword [0x4d8f10]
mov edi, dword [ecx + edi*4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x60], edi
test esi, esi
je 0x4021b8
mov edx, dword [edi + 4]
push edx
call fcn.0040f090
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, 1
je 0x40217f
cmp al, 3
je 0x40217f
mov dword [esp + 0x58], 0
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
push edx
push edi
call fcn.00412370
cmp dword [edi + 0xc], 0
jne 0x4015e3
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x2a], 0
je 0x4021be
mov cx, word [esp + 0x40]
mov word [0x4da194], cx
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x4023c8
mov dword [esp + 0x58], edx
jmp 0x402183
xor edx, edx
mov word [0x4da194], dx
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x4023c8
cmp byte [0x4da168], dl
jne 0x4015e3
mov esi, dword [0x4da15c]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4021f5
mov esi, dword [0x4d9d08]
mov dword [esp + 0x1c], esi
xor edi, edi
jmp 0x4023cc
mov eax, edi
call fcn.0043f3b0
mov dword [esp + 0x30], eax
test eax, eax
je 0x4015e3
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x35c]
xor edi, edi
jmp 0x4023c8
mov eax, dword [0x4d8eac]
mov dword [esp + 0x30], eax
cmp eax, edx
je 0x4015e3
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x402248
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x402230
jmp 0x4015e3
test eax, eax
je 0x4015e3
mov eax, dword [esp + 0x38]
cmp eax, 0x41c
jne 0x40226a
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x360]
jmp 0x40228d
cmp eax, 0x41e
jne 0x402280
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x368]
jmp 0x40228d
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x364]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4015e3
xor edi, edi
jmp 0x4023cc
mov ecx, dword [0x4d5d2c]
mov edx, edi
and edx, 0x7fff
mov eax, edx
cmp ax, word [ecx]
jae 0x4015e3
movzx edx, ax
mov eax, dword [0x4d8ef0]
mov ecx, dword [eax + edx*4]
shr edi, 0x10
mov eax, edi
mov dword [esp + 0x84], ecx
test ax, ax
je 0x402303
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x64], edx
test ax, ax
je 0x4022fb
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 8]
add eax, 0xffff
mov dword [esp + 0x64], edx
test ax, ax
jne 0x4022e6
mov edi, dword [esp + 0x64]
test edi, edi
jne 0x40233a
cmp dword [esp + 0x38], 0x400
jne 0x40231d
mov edx, dword [esp + 0x40]
shr edx, 0x10
mov eax, 0xffc3d44d
sub eax, edx
jmp 0x40231f
xor eax, eax
push 0
push eax
push ecx
lea eax, [esp + 0x64]
call fcn.0040fc60
mov dword [esp + 0x64], eax
test eax, eax
je 0x4015e3
mov edi, eax
mov esi, dword [edi]
push esi
call fcn.0047a150
add esp, 4
sub eax, 0
je 0x40234d
dec eax
jne 0x402358
mov esi, dword [esi + 8]
test esi, esi
je 0x402358
mov al, byte [esi]
jmp 0x40235a
xor al, al
mov cl, byte [edi + 0x16]
cmp cl, byte [edi + 0x17]
jb 0x40239a
cmp al, 0xe0
je 0x40239a
cmp al, 0xcc
je 0x40239a
cmp al, 0xda
je 0x40239a
cmp al, 0xdb
je 0x40239a
cmp al, 0xd6
je 0x40239a
cmp al, 0xd7
je 0x40239a
cmp al, 0xd8
je 0x40239a
cmp al, 0xd9
je 0x40239a
cmp byte [edi + 0x1a], 0
je 0x40238c
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 0x4023bb
mov al, byte [eax]
cmp al, 2
je 0x4023bb
cmp al, 4
je 0x4023bb
cmp al, 5
jb 0x4023c3
mov edx, dword [0x4d882c]
mov dword [esp + 0x58], edx
jmp 0x4023c3
mov dword [esp + 0x58], 0
mov esi, dword [edi]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x1c], esi
push esi
call fcn.0047a150
xor ebx, ebx
add esp, 4
sub eax, ebx
je 0x4023de
dec eax
jne 0x4023e9
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x4023e9
mov al, byte [esi]
jmp 0x4023eb
xor al, al
mov ecx, dword [0x4d8814]
mov edx, dword [0x4d4a18]
mov byte [esp + 0x80], al
cmp ecx, edx
jl 0x402461
add edx, 2
cmp ecx, edx
jge 0x402429
cmp al, 0xe0
je 0x402461
cmp al, 0xcc
je 0x402461
cmp al, 0xda
je 0x402461
cmp al, 0xdb
je 0x402461
cmp al, 0xd6
je 0x402461
cmp al, 0xd7
je 0x402461
cmp al, 0xd8
je 0x402461
cmp al, 0xd9
je 0x402461
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x40243f
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x68], ebx
cmp dword [esp + 0x38], 0x41b
jne 0x4015e3
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4015e3
mov ecx, dword [0x4d4b04]
cmp edi, dword [ecx + 0x2c]
jge 0x4024a4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x402482
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x68], ebx
cmp dword [esp + 0x38], 0x41b
jne 0x4015e3
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4015e3
mov ecx, dword [esp + 0x38]
lea eax, [ecx - 0x402]
mov byte [esp + 0x1b], 1
cmp eax, 0x1c
ja case.0x4024bf.1027
movzx eax, byte [eax + 0x403320]
jmp dword [eax*4 + 0x403314]
mov esi, dword [esp + 0x78]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x4d9d10
call fcn.0049c6a4
xor edx, edx
mov word [0x4d9f18], dx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add esp, 0xc
push 0x104
push ecx
push 0x4d9f1a
call fcn.0049c6a4
add esp, 0xc
xor edx, edx
mov word [0x4da122], dx
mov dword [0x4d9d0c], esi
jmp case.0x4024bf.1044
mov eax, dword [0x4da124]
mov edx, dword [0x4da18c]
mov dword [0x4da128], eax
mov dword [0x4da190], edx
cmp ecx, 0x401
jne 0x40253e
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov dword [0x4da124], ecx
jmp 0x40254d
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x1c]
mov dword [0x4da124], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4da18c], eax
mov esi, dword [0x4d8ea8]
cmp byte [esi + 0x17], bl
jne 0x402566
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x402573
mov eax, esi
call fcn.004011c0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x402590
test byte [esi + 0x15], 4
je 0x40258b
push esi
mov ecx, 0x4d96d0
call fcn.0043a810
mov eax, dword [esi + 8]
jmp 0x4025a0
cmp al, 2
jne 0x40259b
call fcn.00401060
jmp 0x4025a0
mov eax, 0x4d9624
push 0x7f
push eax
lea ecx, [esp + 0x1c8]
push ecx
call fcn.0049c6a4
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.00403a60
mov ebx, dword [0x4d4b04]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4da1dc], eax
mov dword [0x4da1d8], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x402600.1027
movzx ecx, byte [eax + 0x403360]
jmp dword [ecx*4 + 0x403340]
mov esi, dword [esp + 0x10]
xor edx, edx
mov word [esp + 0xc8], dx
cmp byte [esp + 0x1a], dl
je 0x402623
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jmp 0x402626
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x2c]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x110]
mov edx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov dword [eax + 4], 0
add edi, edx
lea eax, [ecx - 5]
mov dword [esp + 0x2c], edi
cmp eax, 4
ja case.default.0x40265c
jmp dword [eax*4 + 0x403380]
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 + 0x48]
mov dword [ebx + 0x3c], ecx
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x40], eax
je 0x40274e
cmp dword [ebx + 0x34], edx
jne 0x4026a6
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x3c]
push eax
call fcn.00473f70
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 4]
sub eax, 9
je 0x402733
dec eax
je 0x402721
dec eax
jne 0x40274e
cmp dword [ebx + 0x34], 1
jne 0x4026dc
push eax
push 9
mov edx, ecx
mov eax, dword [edx]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40274a
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
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 0x40274a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x402743
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.00480860
mov eax, edi
add eax, eax
cmp dword [esp + 0x14], 0
mov ecx, 1
lea eax, [esp + eax*8 + 0x110]
je 0x40278a
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 0x402798
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4af9bc
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 + 0x54]
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x10]
jmp 0x402b35
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0x34], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
lea esi, [ebx + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 4], eax
mov ecx, dword [ecx + 4]
call fcn.00480860
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 + 0x30], ecx
call fcn.00468770
mov ecx, dword [esp + 0x30]
add esp, 4
cmp dword [esp + 0x14], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x4028b6
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 0x4028cf
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0x110]
mov dword [eax + 8], 0
mov dword [eax], 0x4af9bc
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 + 0x2c], ecx
je 0x402901
mov eax, dword [0x4d96a0]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x402903
mov eax, esi
mov ecx, dword [esp + 0x2c]
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 + 0x2c], edi
je 0x402947
mov ecx, dword [0x4d96a0]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x54]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x10]
jmp 0x402b39
mov dword [ebx + 0x34], edx
cmp ecx, 8
jne 0x402b39
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 0x4029c3
mov ecx, dword [0x4d96a0]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x54]
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 + 0x2c], edi
je 0x402a0b
mov ecx, dword [0x4d96a0]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x54]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x10]
jmp 0x402b39
mov edx, dword [esp + 0x14]
mov al, byte [edx + 4]
cmp al, 0xa
je 0x402a59
cmp al, 0x19
jne 0x402af4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
lea esi, [ebx + 0x3c]
mov dword [esi], eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
call fcn.00480860
mov esi, dword [esp + 0x10]
jmp 0x402af0
cmp cl, 0x49
jne 0x402af4
lea eax, [esp + 0xc8]
test ecx, 0x100
je 0x402a80
mov eax, 0x53
mov word [esp + 0xc8], ax
jmp 0x402a95
test ecx, 0x200
je 0x402a9c
mov edx, 0x73
mov word [esp + 0xc8], dx
lea eax, [esp + 0xca]
test ecx, 0x400
je 0x402aab
mov edx, 0x46
jmp 0x402ab8
test ecx, 0x800
je 0x402abe
mov edx, 0x66
mov word [eax], dx
add eax, 2
test ecx, 0x1000
je 0x402ad0
mov ecx, 0x43
mov word [eax], cx
jmp 0x402ae0
test ecx, 0x2000
je 0x402ae3
mov edx, 0x63
mov word [eax], dx
add eax, 2
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x54], 0x49
mov ecx, dword [esp + 0x54]
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.00468750
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 + 0x2c], edi
cmp byte [esp + 0x1a], 0
je 0x402c73
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0x17
jne 0x402c73
push 0x10b8
lea ecx, [esp + 0x2c4]
push 0
push ecx
call fcn.004a3ee0
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 0x402cd7
cmp word [esp + 0x330], 0
lea eax, [esp + 0x330]
jne 0x402bbd
lea eax, [esp + 0x2d0]
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4d8ea8]
push eax
call fcn.00482730
mov esi, dword [0x4d8ea8]
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 + 0x2c], edi
jne 0x402bf5
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x402c02
mov eax, esi
call fcn.004011c0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x402c36
test byte [esi + 0x15], 4
je 0x402c1a
push esi
mov ecx, 0x4d96d0
call fcn.0043a810
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 0x402cd7
cmp al, 2
jne 0x402c58
call fcn.00401060
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x10]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402cd7
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x10]
mov eax, 0x4d9624
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402cd7
cmp word [esp + 0xc8], 0
je 0x402c9e
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
inc edi
lea edx, [esp + 0xc8]
mov dword [esp + 0x2c], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x402cc4
cmp ecx, 5
je 0x402cc4
mov ecx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0xd4]
push eax
push ecx
call fcn.00482730
jmp 0x402cd7
mov edx, dword [esp + 0x28]
mov eax, dword [0x4d8ea8]
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 0x402d05
mov byte [ebx], 1
jmp 0x402d14
cmp byte [esp + 0x1a], 0
je 0x402d14
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 0x4af964
lea edx, [esp + 0x2c]
push edx
call fcn.0047a0b0
cmp dword [esi + 4], 0
je 0x402dd7
test ebx, ebx
je 0x402d84
cmp dword [esp + 0x54], 6
mov byte [ebx], 0
jne 0x402d93
cmp dword [esp + 0x94], 0
jne 0x402dd7
mov edi, dword [esp + 0x1c]
push edi
call fcn.0047a150
add esp, 4
test eax, eax
jne 0x402d6f
test edi, edi
jne 0x402dd7
mov eax, esi
call fcn.0046fd00
mov esi, dword [esp + 0x10]
call fcn.00468590
jmp 0x4030f1
cmp byte [esp + 0x1a], 0
je 0x402d93
mov eax, dword [esp + 0x14]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x54], 5
jne 0x402dd7
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.00468590
jmp 0x4030f1
mov edi, dword [esp + 0x10]
xor esi, esi
cmp edi, esi
je 0x402e09
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, 0x4d96d0
mov dword [esp + 0xa0], esi
mov dword [esp + 0x98], 0x4d9d10
call fcn.00450590
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], 0x4d9f1a
call fcn.0047a0b0
cmp edi, esi
je 0x4030f1
mov esi, dword [esp + 0x10]
call fcn.00468590
jmp 0x4030f1
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
mov dword [ebx + 0xc4], eax
mov cl, byte [esi + 0x21]
mov byte [ebx + 0xf6], cl
call fcn.004122f0
jmp 0x4030f1
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402ed2
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x402ecb
push 0xf
call esi
test eax, eax
jne 0x402ecb
mov eax, 2
jmp 0x402ed4
mov eax, 1
jmp 0x402ed4
xor eax, eax
push 0x18
xor esi, esi
push esi
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4d8ea8]
call fcn.00401140
mov edx, dword [ebx + 0x38]
mov eax, dword [0x4d963c]
mov dword [esp + 0x100], 1
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], esi
mov byte [0x4da168], 1
cmp eax, dword [0x4d9640]
jne 0x402f21
call fcn.00405573
mov eax, dword [0x4d963c]
cmp eax, dword [0x4d9638]
jb 0x402f36
mov ecx, dword [0x4d9d04]
mov dword [eax], ecx
mov eax, dword [0x4d963c]
add eax, 0xc
mov dword [0x4d963c], eax
mov dword [eax], esi
mov dword [eax + 4], 0x4af96c
mov dword [eax + 8], esi
mov ecx, dword [0x4da15c]
cmp ecx, esi
je 0x402f5f
call fcn.00401300
mov ecx, dword [0x4da15c]
cmp dword [esp + 0x3c], esi
jne 0x402f81
xor edx, edx
cmp ecx, esi
sete dl
lea eax, [esp + 0xf8]
mov ebx, 0x4da13c
push edx
push 1
push eax
call fcn.0047a250
call fcn.0040921d
mov byte [0x4da168], 0
jmp 0x4030f1
mov esi, dword [esp + 0x30]
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.0047a0b0
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4030f1
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x40]
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.0047a0b0
jmp 0x4030f1
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
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.0047a0b0
jmp 0x4030f1
mov ecx, dword [esp + 0x84]
mov al, byte [ecx + 0x10]
cmp al, 0x9c
jb 0x4030d3
cmp al, 0x9f
ja 0x4030d3
movzx edx, word [esp + 0x40]
mov dword [ebx + 0x38], edx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov dword [ebx + 0xc4], eax
mov dl, byte [esi + 0x18]
push esi
push ecx
mov byte [ebx + 0xf6], dl
call fcn.00410100
lea eax, [esp + 0x1c0]
push eax
call fcn.00403b70
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x4015e3
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.004033a0
add esp, 8
test eax, eax
je 0x4015e3
mov byte [esp + 0x23], 1
mov byte [esp + 0x5c], 1
jmp 0x4015e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4031a8
mov eax, dword [0x4d4b04]
lea edx, [esp + 0x34]
mov byte [eax + 0xe8], 1
mov ecx, dword [esp + 0x38]
push edx
push esi
mov dword [eax + 0xe4], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x40319b
cmp dword [0x4d8844], 0
je 0x40318a
mov eax, dword [0x4d5d24]
test eax, eax
je 0x40317e
mov eax, dword [eax]
test eax, eax
jne 0x403183
mov eax, 0x4af9bc
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x4d4b04]
mov byte [eax + 0xe8], 0
jmp 0x4015e3
mov ecx, dword [0x4d4b04]
mov byte [ecx + 0xe8], 0
mov eax, dword [0x4d86b4]
test eax, eax
je 0x4031cb
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [0x4d86a0]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4015e3
mov eax, dword [0x4d4b04]
mov byte [eax + 0xe8], 1
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov dword [eax + 0xe4], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [0x4d4b04]
mov byte [ecx + 0xe8], 0
jmp 0x4015e3
cmp esi, 0xffffffff
jle 0x403227
mov dword [0x4da1c8], 0
mov dword [0x4da1cc], 0
mov dword [0x4da1d8], eax
cmp byte [esp + 0x22], 0
mov dword [0x4da1dc], eax
je 0x40323a
mov byte [0x4d8801], 0
cmp byte [esp + 0x21], 0
je 0x401eda
dec dword [0x4d8810]
test esi, esi
jle 0x401eda
cmp dword [0x4d8810], 0
jne 0x401eda
cmp dword [0x4da17c], 0
jne 0x401eda
cmp dword [0x4d8f0c], 0
jne 0x401eda
cmp byte [0x4d87df], 0
je 0x401eda
mov edx, dword [0x4d86a0]
push 9
push edx
jmp 0x401ec9