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.004a7dd0
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 [0x4d986e], 0
mov dword [ebp + 0xc], ebx
jne 0x4014f9
mov byte [0x4d986e], bl
mov byte [esp + 0x22], bl
cmp dword [0x4db290], edi
je 0x40152d
cmp dword [0x4db280], edi
je 0x40151b
mov eax, dword [0x4db278]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4db280], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4db290], edi
mov dword [0x4db278], 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 [0x4d9f7c], edi
je 0x401578
call fcn.00403620
mov byte [esp + 0x1b], 0
cmp dword [0x4db1d4], 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 [0x4d987c], ebx
cmp byte [0x4d9868], 0
mov byte [esp + 0x21], 1
jne 0x4015d5
mov ecx, dword [0x4d970c]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4d9868], 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 [0x4d986e], 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 [0x4db230], eax
inc dword [esp + 0x6c]
cmp dword [0x4da720], 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 [0x4d9eb0], 0
mov ebx, dword [esp + 0x3c]
je 0x401d07
test ebx, ebx
je 0x401d07
cmp ebx, dword [0x4d970c]
je 0x401d07
mov eax, dword [esp + 0x40]
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.00485200
mov edi, eax
test edi, edi
je 0x401c74
mov eax, esi
call fcn.00466ee0
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 + 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 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 + 0x44]
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.004741a0
jmp 0x4015e3
mov byte [esp + 0x21], 0
jmp 0x4015d5
cmp byte [0x4d986e], 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 [0x4da710]
jne 0x40196f
cmp dword [0x4d98b4], 0
je 0x401864
push 0x20
lea edx, [esp + 0x184]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x4af8f8
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 0x4af908
push edx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x4018b9
lea eax, [esp + 0x180]
push 0x4af924
push eax
call fcn.00499c29
add esp, 8
test eax, eax
jne 0x40196f
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 0x4019ea
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 0x4019ea
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 0x4019ea
push esi
push 0x20e
push 0
lea ecx, [esp + 0x4c]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4019ea
cmp dword [0x4d5a1c], 0
je 0x4019c8
cmp dword [0x4d98a8], 0
jne 0x4019c8
mov eax, dword [0x4d5b14]
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 [0x4d5b14]
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 + 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 0x401a04
mov dword [0x4db230], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x401a23
cmp byte [esp + 0x37], 0
jne 0x401a23
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x37], 1
jmp 0x4015e3
cmp dword [esp + 0x6c], 0
jne 0x401a4a
cmp byte [esp + 0x64], 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 + 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 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 + 0x44]
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 + 0x44]
cmp dword [esp + 0x24], 0
jne 0x401aeb
mov bl, byte [ebx + 6]
mov ecx, esi
call fcn.00473ee0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x401aeb
xor bl, bl
call fcn.00473ee0
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 + 0x44]
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.004741a0
jmp 0x4015e3
mov eax, 1
push eax
push eax
push eax
mov eax, edi
mov ecx, esi
call fcn.004741a0
jmp 0x4015e3
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x40], 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 + 0x44]
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 0x4af940
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.00470820
jmp 0x4015e3
mov edi, dword [esp + 0x44]
mov eax, dword [0x4da64c]
test eax, eax
je 0x401c78
cmp dword [esp + 0x40], 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 + 0x44]
jmp 0x401c7c
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
xor esi, esi
cmp dword [0x4d9eb0], esi
jle 0x401d0f
mov eax, dword [0x4d98bc]
mov edx, dword [eax + esi*4]
cmp dword [edx + 0x10], 0
jne 0x401ca4
cmp ecx, 0x106
je 0x401ce6
mov ecx, dword [0x4d5b14]
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 0x401cf5
mov ecx, dword [0x4d5b14]
mov byte [ecx + 0xe8], al
mov eax, dword [0x4d98bc]
mov ecx, dword [esp + 0x40]
inc esi
cmp esi, dword [0x4d9eb0]
jl 0x401c93
mov ebx, dword [esp + 0x3c]
jmp 0x401d0b
mov edx, dword [0x4d5b14]
mov byte [edx + 0xe8], 0
jmp 0x4015e3
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
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 [0x4d9844], 0
mov byte [esp + 0x23], 1
jmp 0x4015e3
push 0
push 4
mov ecx, 0x4da728
call fcn.0041eb40
jmp 0x4015e3
cmp ebx, dword [0x4d9710]
jne case.0x401efb.1027
cmp edi, 0x1b
jne case.0x401efb.1027
mov eax, dword [0x4d970c]
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 0x4031b8
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4da710]
jne 0x4031b8
push 0x20
lea eax, [esp + 0x184]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x4af8f8
lea eax, [esp + 0x180]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403147
test dx, dx
je 0x401e0a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403147
add eax, 4
add ecx, 4
test dx, dx
jne 0x401de0
xor eax, eax
jmp 0x40314c
cmp dword [esp + 0x48], 0
jne case.0x401efb.1027
cmp ebx, dword [0x4d970c]
jne case.0x401efb.1027
cmp dword [0x4d9f7c], 0
je 0x401e36
call fcn.00403620
cmp dword [0x4db1d4], 0
je 0x401e4d
call fcn.004033f0
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 + 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 0x401e8c
mov byte [0x4d986e], 0
cmp byte [esp + 0x21], 0
je 0x401eda
dec dword [0x4d987c]
test esi, esi
jle 0x401eda
cmp dword [0x4d987c], 0
jne 0x401eda
cmp dword [0x4db1d4], 0
jne 0x401eda
cmp dword [0x4d9f7c], 0
jne 0x401eda
cmp byte [0x4d9868], 0
je 0x401eda
mov eax, dword [0x4d970c]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401eda
mov byte [0x4d9868], 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 + 0x4032b4]
jmp dword [eax*4 + 0x4032a8]
mov ecx, dword [esp + 0x40]
test ebx, ebx
je 0x401f1a
cmp ebx, dword [0x4d970c]
jne case.0x401efb.1027
mov ecx, dword [esp + 0x40]
xor edx, edx
lea eax, [ecx - 0x401]
mov dword [esp + 0x24], edx
cmp eax, 0x1d
ja case.0x401f36.1027
movzx ecx, byte [eax + 0x4032f0]
jmp dword [ecx*4 + 0x4032d4]
mov esi, ebx
call fcn.00466eb0
mov dword [esp + 0x10], eax
test eax, eax
je case.0x401efb.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 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 + 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 0x401fe6
cmp byte [eax], bl
jne 0x4015e3
xor edi, edi
jmp 0x4023dc
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 0x4023dc
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.004707c0
jmp 0x4015e3
test byte [eax + 5], 4
jne 0x4015e3
mov byte [esp + 0x1a], 1
xor edi, edi
jmp 0x4023dc
cmp edi, edx
je 0x4020fd
mov esi, edi
call fcn.00466eb0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x402101
test ebx, ebx
je 0x402101
cmp ebx, dword [0x4d970c]
jne case.0x401efb.1027
jmp 0x402101
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov eax, 0x4da728
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 0x4023d8
cmp edi, dword [0x4d9f84]
jae 0x4015e3
mov ecx, dword [0x4d9f80]
mov edi, dword [ecx + edi*4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x5c], edi
test esi, esi
je 0x402181
mov edx, dword [edi + 4]
push edx
call fcn.0040f2b0
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 0x4021ba
cmp al, 4
je 0x4021ba
cmp al, 5
jb 0x402185
mov edx, dword [0x4d989c]
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x48]
push eax
push edi
call fcn.00412480
cmp dword [edi + 0xc], 0
jne 0x4015e3
mov eax, dword [esp + 0x5c]
cmp byte [eax + 0x2a], 0
je 0x4021c8
mov cx, word [esp + 0x48]
mov word [0x4db1ec], cx
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x4023d8
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
jmp 0x402185
xor edx, edx
mov word [0x4db1ec], dx
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x4023d8
cmp byte [0x4db1c0], dl
jne 0x4015e3
mov esi, dword [0x4db1b4]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4021ff
mov esi, dword [0x4dad60]
mov dword [esp + 0x1c], esi
xor edi, edi
jmp 0x4023dc
mov eax, edi
call fcn.0043f630
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4015e3
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x35c]
xor edi, edi
jmp 0x4023d8
mov eax, dword [0x4d9f18]
mov dword [esp + 0x2c], eax
cmp eax, edx
je 0x4015e3
lea ebx, [ebx]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x402258
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x402240
jmp 0x4015e3
test eax, eax
je 0x4015e3
mov eax, dword [esp + 0x40]
cmp eax, 0x41c
jne 0x40227a
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x360]
jmp 0x40229d
cmp eax, 0x41e
jne 0x402290
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x368]
jmp 0x40229d
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 0x4023dc
mov ecx, dword [0x4d6d3c]
mov edx, edi
and edx, 0x7fff
mov eax, edx
cmp ax, word [ecx]
jae 0x4015e3
movzx edx, ax
mov eax, dword [0x4d9f60]
mov ecx, dword [eax + edx*4]
shr edi, 0x10
mov eax, edi
mov dword [esp + 0x84], ecx
test ax, ax
je 0x402313
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x60], edx
test ax, ax
je 0x40230b
mov edx, dword [esp + 0x60]
mov edx, dword [edx + 8]
add eax, 0xffff
mov dword [esp + 0x60], edx
test ax, ax
jne 0x4022f6
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x40234a
cmp dword [esp + 0x40], 0x400
jne 0x40232d
mov edx, dword [esp + 0x48]
shr edx, 0x10
mov eax, 0xffc3d44d
sub eax, edx
jmp 0x40232f
xor eax, eax
push 0
push eax
push ecx
lea eax, [esp + 0x64]
call fcn.0040fe60
mov dword [esp + 0x60], eax
test eax, eax
je 0x4015e3
mov edi, eax
mov esi, dword [edi]
push esi
call fcn.0047ac30
add esp, 4
sub eax, 0
je 0x40235d
dec eax
jne 0x402368
mov esi, dword [esi + 8]
test esi, esi
je 0x402368
mov al, byte [esi]
jmp 0x40236a
xor al, al
mov cl, byte [edi + 0x16]
cmp cl, byte [edi + 0x17]
jb 0x4023aa
cmp al, 0xe0
je 0x4023aa
cmp al, 0xcc
je 0x4023aa
cmp al, 0xda
je 0x4023aa
cmp al, 0xdb
je 0x4023aa
cmp al, 0xd6
je 0x4023aa
cmp al, 0xd7
je 0x4023aa
cmp al, 0xd8
je 0x4023aa
cmp al, 0xd9
je 0x4023aa
cmp byte [edi + 0x1a], 0
je 0x40239c
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 0x4023cb
mov al, byte [eax]
cmp al, 2
je 0x4023cb
cmp al, 4
je 0x4023cb
cmp al, 5
jb 0x4023d3
mov edx, dword [0x4d989c]
mov dword [esp + 0x58], edx
jmp 0x4023d3
mov dword [esp + 0x58], 0
mov esi, dword [edi]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x1c], esi
push esi
call fcn.0047ac30
xor ebx, ebx
add esp, 4
sub eax, ebx
je 0x4023ee
dec eax
jne 0x4023f9
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x4023f9
mov al, byte [esi]
jmp 0x4023fb
xor al, al
mov ecx, dword [0x4d9880]
mov edx, dword [0x4d5a28]
mov byte [esp + 0x80], al
cmp ecx, edx
jl 0x402471
add edx, 2
cmp ecx, edx
jge 0x402439
cmp al, 0xe0
je 0x402471
cmp al, 0xcc
je 0x402471
cmp al, 0xda
je 0x402471
cmp al, 0xdb
je 0x402471
cmp al, 0xd6
je 0x402471
cmp al, 0xd7
je 0x402471
cmp al, 0xd8
je 0x402471
cmp al, 0xd9
je 0x402471
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x40244f
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 [0x4d5b14]
cmp edi, dword [ecx + 0x2c]
jge 0x4024b4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x402492
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.0x4024cf.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 0x4dad68
call fcn.0049d054
xor edx, edx
mov word [0x4daf70], dx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add esp, 0xc
push 0x104
push ecx
push 0x4daf72
call fcn.0049d054
add esp, 0xc
xor edx, edx
mov word [0x4db17a], dx
mov dword [0x4dad64], esi
jmp case.0x4024cf.1044
mov eax, dword [0x4db17c]
mov edx, dword [0x4db1e4]
mov dword [0x4db180], eax
mov dword [0x4db1e8], edx
cmp ecx, 0x401
jne 0x40254e
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov dword [0x4db17c], ecx
jmp 0x40255d
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x1c]
mov dword [0x4db17c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4db1e4], eax
mov esi, dword [0x4d9f14]
cmp byte [esi + 0x17], bl
jne 0x402576
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x402583
mov eax, esi
call fcn.004011c0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4025a0
test byte [esi + 0x15], 4
je 0x40259b
push esi
mov ecx, 0x4da728
call fcn.0043aab0
mov eax, dword [esi + 8]
jmp 0x4025b0
cmp al, 2
jne 0x4025ab
call fcn.00401060
jmp 0x4025b0
mov eax, 0x4da68c
push 0x7f
push eax
lea ecx, [esp + 0x1c8]
push ecx
call fcn.0049d054
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 [0x4d5b14]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4db234], eax
mov dword [0x4db230], eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x402610.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 0x402633
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jmp 0x402636
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.0x40266c
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 0x40275e
cmp dword [ebx + 0x34], edx
jne 0x4026b6
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x3c]
push eax
call fcn.00474a70
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 4]
sub eax, 9
je 0x402743
dec eax
je 0x402731
dec eax
jne 0x40275e
cmp dword [ebx + 0x34], 1
jne 0x4026ec
push eax
push 9
mov edx, ecx
mov eax, dword [edx]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40275a
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 0x40275a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x402753
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.00481390
mov eax, edi
add eax, eax
cmp dword [esp + 0x14], 0
mov ecx, 1
lea eax, [esp + eax*8 + 0x110]
je 0x40279a
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 0x4027a8
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4b0cf8
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 0x402b45
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.00481390
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.00469230
mov ecx, dword [esp + 0x34]
add esp, 4
cmp dword [esp + 0x14], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x4028c6
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 0x4028df
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0x110]
mov dword [eax + 8], 0
mov dword [eax], 0x4b0cf8
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 0x402911
mov eax, dword [0x4da714]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x402913
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 0x402957
mov ecx, dword [0x4da714]
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 0x402b49
mov dword [ebx + 0x34], edx
cmp ecx, 8
jne 0x402b49
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 0x4029d3
mov ecx, dword [0x4da714]
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 0x402a1b
mov ecx, dword [0x4da714]
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 0x402b49
mov edx, dword [esp + 0x14]
mov al, byte [edx + 4]
cmp al, 0xa
je 0x402a69
cmp al, 0x19
jne 0x402b04
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.00481390
mov esi, dword [esp + 0x10]
jmp 0x402b00
cmp cl, 0x49
jne 0x402b04
lea eax, [esp + 0xc8]
test ecx, 0x100
je 0x402a90
mov eax, 0x53
mov word [esp + 0xc8], ax
jmp 0x402aa5
test ecx, 0x200
je 0x402aac
mov edx, 0x73
mov word [esp + 0xc8], dx
lea eax, [esp + 0xca]
test ecx, 0x400
je 0x402abb
mov edx, 0x46
jmp 0x402ac8
test ecx, 0x800
je 0x402ace
mov edx, 0x66
mov word [eax], dx
add eax, 2
test ecx, 0x1000
je 0x402ae0
mov ecx, 0x43
mov word [eax], cx
jmp 0x402af0
test ecx, 0x2000
je 0x402af3
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.00469210
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 0x402c83
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0x17
jne 0x402c83
push 0x10b8
lea ecx, [esp + 0x2c4]
push 0
push ecx
call fcn.004a49c0
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 0x402ce7
cmp word [esp + 0x330], 0
lea eax, [esp + 0x330]
jne 0x402bcd
lea eax, [esp + 0x2d0]
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4d9f14]
push eax
call fcn.00483320
mov esi, dword [0x4d9f14]
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 0x402c05
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x402c12
mov eax, esi
call fcn.004011c0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x402c46
test byte [esi + 0x15], 4
je 0x402c2a
push esi
mov ecx, 0x4da728
call fcn.0043aab0
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 0x402ce7
cmp al, 2
jne 0x402c68
call fcn.00401060
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x10]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402ce7
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x10]
mov eax, 0x4da68c
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402ce7
cmp word [esp + 0xc8], 0
je 0x402cae
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 0x402cd4
cmp ecx, 5
je 0x402cd4
mov ecx, dword [0x4d9f14]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0xd4]
push eax
push ecx
call fcn.00483320
jmp 0x402ce7
mov edx, dword [esp + 0x28]
mov eax, dword [0x4d9f14]
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 0x402d15
mov byte [ebx], 1
jmp 0x402d24
cmp byte [esp + 0x1a], 0
je 0x402d24
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 0x4af944
lea edx, [esp + 0x2c]
push edx
call fcn.0047ab90
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.0047ac30
add esp, 4
test eax, eax
jne 0x402d7f
test edi, edi
jne 0x402de7
mov eax, esi
call fcn.004707c0
mov esi, dword [esp + 0x10]
call fcn.00469050
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.00469050
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, 0x4da728
mov dword [esp + 0xa0], esi
mov dword [esp + 0x98], 0x4dad68
call fcn.00450760
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], 0x4daf72
call fcn.0047ab90
cmp edi, esi
je 0x403101
mov esi, dword [esp + 0x10]
call fcn.00469050
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.00412400
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 [0x4d9f14]
call fcn.00401140
mov edx, dword [ebx + 0x38]
mov eax, dword [0x4da6a4]
mov dword [esp + 0x100], 1
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], esi
mov byte [0x4db1c0], 1
cmp eax, dword [0x4da6a8]
jne 0x402f31
call fcn.0040563f
mov eax, dword [0x4da6a4]
cmp eax, dword [0x4da6a0]
jb 0x402f46
mov ecx, dword [0x4dad5c]
mov dword [eax], ecx
mov eax, dword [0x4da6a4]
add eax, 0xc
mov dword [0x4da6a4], eax
mov dword [eax], esi
mov dword [eax + 4], 0x4af94c
mov dword [eax + 8], esi
mov ecx, dword [0x4db1b4]
cmp ecx, esi
je 0x402f6f
call fcn.00401300
mov ecx, dword [0x4db1b4]
cmp dword [esp + 0x44], esi
jne 0x402f91
xor edx, edx
cmp ecx, esi
sete dl
lea eax, [esp + 0xf8]
mov ebx, 0x4db194
push edx
push 1
push eax
call fcn.0047ad30
call fcn.004094a7
mov byte [0x4db1c0], 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.0047ab90
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.0047ab90
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.0047ab90
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.004102b0
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 [0x4d5b14]
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 [0x4d98b4], 0
je 0x40319a
mov eax, dword [0x4d6d34]
test eax, eax
je 0x40318e
mov eax, dword [eax]
test eax, eax
jne 0x403193
mov eax, 0x4b0cf8
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x4d5b14]
mov byte [eax + 0xe8], 0
jmp 0x4015e3
mov ecx, dword [0x4d5b14]
mov byte [ecx + 0xe8], 0
mov eax, dword [0x4d9720]
test eax, eax
je 0x4031db
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [0x4d970c]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4015e3
mov eax, dword [0x4d5b14]
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 [0x4d5b14]
mov byte [ecx + 0xe8], 0
jmp 0x4015e3
cmp esi, 0xffffffff
jle 0x403237
mov dword [0x4db220], 0
mov dword [0x4db224], 0
mov dword [0x4db230], eax
cmp byte [esp + 0x22], 0
mov dword [0x4db234], eax
je 0x40324a
mov byte [0x4d986e], 0
cmp byte [esp + 0x21], 0
je 0x401eda
dec dword [0x4d987c]
test esi, esi
jle 0x401eda
cmp dword [0x4d987c], 0
jne 0x401eda
cmp dword [0x4db1d4], 0
jne 0x401eda
cmp dword [0x4d9f7c], 0
jne 0x401eda
cmp byte [0x4d9868], 0
je 0x401eda
mov edx, dword [0x4d970c]
push 9
push edx
jmp 0x401ec9