Function at 0x401360
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Get graphical window text
Hide graphical window
Log keystrokes via polling
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x134c
call fcn.00499d50
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x21], 0
lea ebx, [edi + 1]
jne 0x401399
cmp byte [0x4c9665], 0
mov dword [ebp + 0xc], ebx
jne 0x401399
mov byte [0x4c9665], bl
mov byte [esp + 0x21], bl
cmp dword [0x4cc1c0], edi
je 0x4013cd
cmp dword [0x4cc1b0], edi
je 0x4013bb
mov eax, dword [0x4cc1a8]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4cc1b0], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4cc1c0], edi
mov dword [0x4cc1a8], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x4013ed
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x58], 1
mov dword [esp + 0x68], edi
jmp 0x40140b
cmp esi, 5
setle al
mov byte [esp + 0x58], al
test al, al
je 0x401401
mov dword [esp + 0x68], edi
jmp 0x40140b
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x68], eax
cmp dword [0x4caf08], edi
je 0x401418
call fcn.00403180
mov byte [esp + 0x13], 0
cmp dword [0x4cc118], edi
je 0x401433
call fcn.00402f70
test al, al
je 0x401433
mov byte [esp + 0x13], 1
cmp esi, edi
jle 0x40166b
cmp dword [ebp + 0xc], ebx
jne 0x40166b
add dword [0x4c9674], ebx
cmp byte [0x4c965f], 0
mov byte [esp + 0x22], 1
jne 0x401475
mov ecx, dword [0x4c9508]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4c965f], dl
mov byte [esp + 0x2f], 0
mov byte [esp + 0x23], 0
mov dword [esp + 0x64], edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [esp + 0x18], esi
jle 0x401675
cmp byte [esp + 0x23], 0
jne 0x401675
cmp byte [0x4c9665], 0
jne 0x401682
call fcn.00403740
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 0x401483
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x4014eb
mov dword [0x4cc160], eax
inc dword [esp + 0x64]
cmp dword [0x4cb638], 0
je 0x401527
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 + 0xdc]
call fcn.004031f0
add esp, 0x10
test al, al
jne 0x401483
mov edx, dword [0x4c9ca0]
mov ebx, dword [esp + 0x34]
test edx, edx
je 0x401b5d
test ebx, ebx
je 0x401b5d
cmp ebx, dword [0x4c9508]
je 0x401b5d
mov eax, dword [esp + 0x38]
cmp eax, 0x414
je 0x401b5d
cmp eax, 0x402
je 0x401b5d
add eax, 0xffffff00
cmp eax, 9
ja 0x401af2
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x401af8
call fcn.00479cb0
mov ebx, eax
test ebx, ebx
je 0x401af8
mov eax, esi
call fcn.0045c3d0
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x401af8
mov eax, dword [edi + 0x74]
test eax, eax
je 0x4015c9
lea ecx, [esp + 0x34]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401483
cmp dword [esp + 0x38], 0x100
mov esi, dword [esp + 0x3c]
jne 0x401aab
cmp byte [edi + 0xb8], 0
je 0x4019f9
cmp esi, 0x22
je 0x401605
cmp esi, 0x21
je 0x401605
cmp esi, 9
je 0x401605
cmp esi, 0x25
je 0x401605
cmp esi, 0x27
jne 0x4019f9
mov eax, dword [esp + 0x1c]
mov ebx, edi
call fcn.004012e0
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4019e7
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x4019e7
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x18], 0
cmp al, 0x13
jne 0x401915
mov dword [esp + 0x18], ebx
cmp esi, 0x25
je 0x40164f
cmp esi, 0x27
jne 0x401915
cmp esi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, edi
call fcn.00469740
jmp 0x401483
mov byte [esp + 0x22], 0
jmp 0x401475
cmp byte [0x4c9665], 0
je 0x40180f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x40180f
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4cb628]
jne 0x40180f
cmp dword [0x4c96a4], 0
je 0x401704
push 0x20
lea edx, [esp + 0x164]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x4a2878
lea eax, [esp + 0x160]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4016f6
test dx, dx
je 0x4016f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4016f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4016d0
xor eax, eax
jmp 0x4016fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x401759
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x40180f
push 0x20
lea ecx, [esp + 0x164]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
lea edx, [esp + 0x160]
push 0x4a2888
push edx
call fcn.0048e559
add esp, 8
test eax, eax
je 0x401759
lea eax, [esp + 0x160]
push 0x4a28a4
push eax
call fcn.0048e559
add esp, 8
test eax, eax
jne 0x40180f
call fcn.00403740
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 0x40179f
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x44]
push edx
call edi
jmp 0x40188a
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 0x4017d3
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
jmp 0x40188a
mov edx, dword [esp + 0x48]
sub edx, ebx
test edx, edx
jle 0x4017f8
push 0x1ff
push 0
push 0
lea eax, [esp + 0x44]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
jmp 0x40188a
push esi
push 0x20e
push 0
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
jmp 0x40188a
cmp dword [0x4c58e0], 0
je 0x401868
cmp dword [0x4c9698], 0
jne 0x401868
mov eax, dword [0x4c590c]
cmp byte [eax + 0xec], 0
jne 0x40185f
cmp byte [eax + 0xee], 0
jne 0x40185f
cmp dword [eax + 0xe0], 0xffffffff
jle 0x40185f
call ebx
mov edx, eax
mov eax, dword [0x4c590c]
sub edx, dword [eax + 0xdc]
cmp edx, dword [eax + 0xe0]
jb 0x40185f
mov byte [eax + 0xec], 1
movzx eax, byte [eax + 0xec]
jmp 0x40186a
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 0x4014eb
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x18]
cmp ecx, 3
jbe 0x4018a4
mov dword [0x4cc160], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4018c3
cmp byte [esp + 0x2f], 0
jne 0x4018c3
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov byte [esp + 0x2f], 1
jmp 0x401483
cmp dword [esp + 0x64], 0
jne 0x4018ea
cmp byte [esp + 0x58], 0
je 0x4018ea
test esi, esi
jle 0x4018dd
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [esp + 0x64], 1
jmp 0x401483
call ebx
cmp byte [esp + 0x58], 0
jne 0x402df8
mov edx, dword [esp + 0x68]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x402df8
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x401483
cmp esi, 0x25
je 0x4019eb
cmp esi, 0x27
je 0x4019eb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4019e7
mov esi, dword [esp + 0x3c]
cmp esi, 9
jne 0x401963
cmp byte [ebx + 4], 0xc
jne 0x401963
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x4019e7
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x18], 0
jne 0x40198b
mov bl, byte [ebx + 6]
mov ecx, edi
call fcn.00469480
mov dword [esp + 0x18], eax
test eax, eax
jne 0x40198b
xor bl, bl
call fcn.00469480
mov dword [esp + 0x18], eax
test eax, eax
je 0x4019eb
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4019e7
mov eax, dword [esp + 0x3c]
cmp eax, 0x22
je 0x4019d1
cmp eax, 9
jne 0x4019bc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4019d1
xor al, al
push 1
push 1
mov ecx, edi
push eax
mov eax, esi
call fcn.00469740
jmp 0x401483
mov eax, 1
push eax
push eax
push eax
mov eax, esi
mov ecx, edi
call fcn.00469740
jmp 0x401483
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x38], 0x100
jne 0x401aab
cmp esi, 0x1b
je 0x401a35
cmp esi, 9
je 0x401a35
cmp esi, 0x41
jne 0x401aab
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov edx, 0x8000
test dx, ax
je 0x401aa7
push 0xa5
call esi
mov ecx, 0x8000
test cx, ax
jne 0x401aa7
mov eax, dword [esp + 0x1c]
mov ebx, edi
call fcn.004012e0
mov dword [esp + 0x14], eax
test eax, eax
je 0x401aa7
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401aa7
mov esi, dword [esp + 0x3c]
cmp esi, 0x1b
je 0x401a9b
cmp esi, 0x41
je 0x401a7e
test byte [eax + 5], 0x80
je 0x401aab
mov eax, dword [eax]
push 0x4a28c0
push 1
push 0xc2
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401483
test byte [eax + 5], 2
jne 0x401aab
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401483
mov eax, edi
call fcn.00465c20
jmp 0x401483
mov esi, dword [esp + 0x3c]
mov eax, dword [0x4cb5d4]
test eax, eax
je 0x401afc
cmp dword [esp + 0x38], 0x100
jne 0x401afc
cmp esi, 0xd
jne 0x401ad8
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401483
cmp esi, 0x1b
jne 0x401afc
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401483
mov esi, dword [esp + 0x3c]
jmp 0x401b06
mov esi, dword [esp + 0x3c]
mov edx, dword [0x4c9ca0]
mov ebx, dword [esp + 0x34]
xor edi, edi
test edx, edx
jle 0x401b61
mov eax, dword [0x4c590c]
mov ecx, dword [0x4c96ac]
mov byte [eax + 0xe8], 1
mov edx, dword [esp + 0x38]
mov dword [eax + 0xe4], edx
mov edx, dword [ecx + edi*4]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x402de6
mov edx, dword [0x4c9ca0]
mov eax, dword [0x4c590c]
inc edi
mov byte [eax + 0xe8], 0
cmp edi, edx
jl 0x401b11
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp eax, 0x312
ja 0x401cbf
je 0x401ce7
cmp eax, 0x100
ja 0x401be0
je 0x401bb7
cmp eax, 0x12
je 0x401ba1
cmp eax, 0x4b
jne case.0x401cd0.1027
mov dword [0x4c9640], 0
mov byte [esp + 0x23], 1
jmp 0x401483
push 0
xor eax, eax
push 0x4cb680
lea edx, [eax + 6]
call fcn.00416960
jmp 0x401483
cmp ebx, dword [0x4c950c]
jne case.0x401cd0.1027
cmp esi, 0x1b
jne case.0x401cd0.1027
mov edx, dword [0x4c9508]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401483
cmp eax, 0x113
jne case.0x401cd0.1027
cmp dword [esp + 0x40], 0
jne case.0x401cd0.1027
cmp ebx, dword [0x4c9508]
jne case.0x401cd0.1027
cmp dword [0x4caf08], 0
je 0x401c10
call fcn.00403180
cmp dword [0x4cc118], 0
je 0x401c27
call fcn.00402f70
test al, al
je 0x401c27
mov byte [esp + 0x13], 1
cmp dword [ebp + 0xc], 0
je 0x401483
cmp dword [ebp + 8], 1
jl 0x401483
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00402f30
add esp, 8
test eax, eax
je 0x401483
cmp byte [esp + 0x21], 0
je 0x401c66
mov byte [0x4c9665], 0
cmp byte [esp + 0x22], 0
je 0x401cb4
dec dword [0x4c9674]
test esi, esi
jle 0x401cb4
cmp dword [0x4c9674], 0
jne 0x401cb4
cmp dword [0x4cc118], 0
jne 0x401cb4
cmp dword [0x4caf08], 0
jne 0x401cb4
cmp byte [0x4c965f], 0
je 0x401cb4
mov eax, dword [0x4c9508]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401cb4
mov byte [0x4c965f], 0
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffc00
cmp eax, 0x15
ja case.0x401cd0.1027
movzx eax, byte [eax + 0x402e90]
jmp dword [eax*4 + 0x402e84]
test ebx, ebx
je case.0x401cd0.1026
cmp ebx, dword [0x4c9508]
jne case.0x401cd0.1027
mov eax, dword [esp + 0x38]
xor ecx, ecx
add eax, 0xfffffbff
mov dword [esp + 0x18], ecx
cmp eax, 0x14
ja case.0x401d02.1027
movzx eax, byte [eax + 0x402ebc]
jmp dword [eax*4 + 0x402ea8]
xor eax, eax
cmp edx, ecx
jle 0x401d31
mov ecx, dword [0x4c96ac]
jmp 0x401d20
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], ebx
je 0x401db1
inc eax
cmp eax, edx
jl 0x401d20
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x402d97
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4cb628]
jne 0x402d97
push 0x20
lea edx, [esp + 0x164]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x4a2878
lea eax, [esp + 0x160]
jmp 0x401d80
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402d36
test dx, dx
je 0x401daa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402d36
add eax, 4
add ecx, 4
test dx, dx
jne 0x401d80
xor eax, eax
jmp 0x402d3b
mov eax, edi
xor ebx, ebx
mov dword [esp + 0xc], eax
cmp eax, ebx
je case.0x401cd0.1027
mov eax, dword [esp + 0x40]
movzx ecx, si
shr esi, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x28], ebx
cmp ecx, 8
jne 0x401df4
mov dword [esp + 0x74], 0x2af8
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
cmp esi, dword [eax + 0x10]
jae 0x401e0c
lea edx, [esi + esi*4]
mov esi, dword [eax + 0x18]
lea edx, [esi + edx*4]
mov dword [esp + 0x14], edx
jmp 0x401e10
mov dword [esp + 0x14], ebx
add ecx, 0xfffffffb
mov dword [esp + 0x60], ebx
mov byte [esp + 0x12], bl
cmp ecx, 4
ja case.default.0x401e24
jmp dword [ecx*4 + 0x402ed4]
mov edi, dword [eax + 0x2c]
mov dword [esp + 0x1c], edi
cmp edi, ebx
je 0x401483
mov eax, dword [esp + 0xc]
add eax, 0x3a
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x401e55
cmp byte [eax], bl
jne 0x401483
xor ebx, ebx
jmp 0x40216a
mov edi, dword [eax + 0x24]
mov dword [esp + 0x1c], edi
cmp edi, ebx
je 0x401483
mov ecx, dword [esp + 0xc]
add ecx, 0x38
mov dword [esp + 0x60], ecx
jmp 0x401e45
mov edi, dword [eax + 0x28]
mov dword [esp + 0x1c], edi
cmp edi, ebx
je 0x401483
mov edx, dword [esp + 0xc]
add edx, 0x39
mov dword [esp + 0x60], edx
jmp 0x401e45
mov edi, dword [eax + 0x34]
mov dword [esp + 0x1c], edi
cmp edi, ebx
je 0x401483
xor ebx, ebx
jmp 0x40216a
mov edi, dword [eax + 0x30]
mov esi, dword [eax + 0x68]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
cmp edi, ebx
je 0x401edd
cmp esi, ebx
je 0x401483
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x401e55
cmp esi, ebx
jmp 0x4021fd
cmp dword [esp + 0x14], ebx
je 0x401483
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x401f15
test byte [eax + 5], 1
je 0x401483
mov eax, dword [esp + 0xc]
call fcn.00465bc0
jmp 0x401483
test byte [eax + 5], 4
jne 0x401483
mov byte [esp + 0x12], 1
xor ebx, ebx
jmp 0x40216a
cmp esi, ecx
je 0x401f4e
call fcn.0045c3a0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x401f52
test ebx, ebx
je 0x401f52
cmp ebx, dword [0x4c9508]
jne case.0x401cd0.1027
jmp 0x401f52
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x40]
mov eax, 0x4cb680
call fcn.00401330
mov dword [esp + 0x70], eax
test eax, eax
je 0x401483
mov edx, eax
mov edi, dword [edx + 8]
test edi, edi
je 0x401483
mov ebx, dword [eax + 0x18]
jmp 0x402166
cmp esi, dword [0x4caf10]
jae 0x401483
mov ecx, dword [0x4caf0c]
mov esi, dword [ecx + esi*4]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], esi
test eax, eax
je 0x402010
mov edx, dword [esi + 4]
push edx
mov esi, eax
call fcn.004098d0
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
je 0x401483
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x10]
mov al, byte [ecx]
cmp al, 1
je 0x401fd4
cmp al, 3
je 0x401fd4
mov dword [esp + 0x54], 0
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
push edx
push esi
call fcn.0040ca40
cmp dword [esi + 0xc], 0
jne 0x401483
mov esi, dword [esp + 0x50]
cmp byte [esi + 0x2a], 0
je 0x40201a
mov ax, word [esp + 0x40]
mov word [0x4cc130], ax
mov edi, dword [esi]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x40216e
mov dword [esp + 0x54], 0
jmp 0x401fd8
xor ecx, ecx
mov word [0x4cc130], cx
mov edi, dword [esi]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x40216e
cmp byte [0x4cc104], cl
jne 0x401483
mov edi, dword [0x4cc0f8]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x402055
mov edi, dword [0x4cbcb4]
mov dword [esp + 0x1c], edi
xor ebx, ebx
jmp 0x40216a
mov ecx, dword [0x4c6aec]
mov eax, esi
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x401483
movzx edx, ax
mov eax, dword [edx*4 + 0x4c9f58]
shr esi, 0x10
mov dword [esp + 0x6c], eax
mov eax, esi
test ax, ax
je 0x4020bc
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
je 0x4020b4
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
jne 0x40209f
mov esi, dword [esp + 0x5c]
test esi, esi
jne 0x4020d8
mov eax, dword [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
call fcn.0040a460
mov dword [esp + 0x5c], eax
test eax, eax
je 0x401483
mov esi, eax
mov edi, dword [esi]
push edi
call fcn.004703d0
add esp, 4
sub eax, 0
je 0x4020eb
dec eax
jne 0x4020f6
mov edi, dword [edi + 8]
test edi, edi
je 0x4020f6
mov al, byte [edi]
jmp 0x4020f8
xor al, al
mov cl, byte [esi + 0x16]
cmp cl, byte [esi + 0x17]
jb 0x402138
cmp al, 0xde
je 0x402138
cmp al, 0xca
je 0x402138
cmp al, 0xd8
je 0x402138
cmp al, 0xd9
je 0x402138
cmp al, 0xd4
je 0x402138
cmp al, 0xd5
je 0x402138
cmp al, 0xd6
je 0x402138
cmp al, 0xd7
je 0x402138
cmp byte [esi + 0x1a], 0
je 0x40212a
mov byte [esi + 0x1b], 1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0xc], eax
jmp 0x401483
mov eax, dword [esi + 4]
test eax, eax
je 0x402159
mov al, byte [eax]
cmp al, 2
je 0x402159
cmp al, 4
je 0x402159
cmp al, 5
jb 0x402161
mov edx, dword [0x4c968c]
mov dword [esp + 0x54], edx
jmp 0x402161
mov dword [esp + 0x54], 0
mov edi, dword [esi]
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x50]
push edi
call fcn.004703d0
add esp, 4
sub eax, 0
je 0x40217f
dec eax
jne 0x40218a
mov edi, dword [edi + 8]
test edi, edi
je 0x40218a
mov al, byte [edi]
jmp 0x40218c
xor al, al
mov ecx, dword [0x4c9678]
mov edx, dword [0x4c58ec]
mov byte [esp + 0x7c], al
cmp ecx, edx
jl 0x4021ed
add edx, 2
cmp ecx, edx
jge 0x4021c7
cmp al, 0xde
je 0x4021ed
cmp al, 0xca
je 0x4021ed
cmp al, 0xd8
je 0x4021ed
cmp al, 0xd9
je 0x4021ed
cmp al, 0xd4
je 0x4021ed
cmp al, 0xd5
je 0x4021ed
cmp al, 0xd6
je 0x4021ed
cmp al, 0xd7
je 0x4021ed
cmp dword [esp + 0x18], 0
je 0x401483
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], 0
jmp 0x401483
mov edx, dword [0x4c590c]
cmp ebx, dword [edx + 0x2c]
jge 0x40221e
cmp dword [esp + 0x18], 0
je 0x401483
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], 0
jmp 0x401483
mov eax, dword [esp + 0x38]
mov byte [esp + 0x13], 1
cmp eax, 0x402
je 0x40228f
cmp eax, 0x413
jbe 0x402240
cmp eax, 0x415
jbe 0x4022d6
mov edx, dword [0x4cc0d0]
mov ecx, dword [0x4cc128]
mov dword [0x4cc0d4], edx
mov dword [0x4cc12c], ecx
cmp eax, 0x401
jne 0x402275
mov edx, dword [esi + 4]
mov dword [0x4cc0d0], edx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x4cc128], eax
jmp 0x4022d6
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov dword [0x4cc0d0], ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x4cc128], eax
jmp 0x4022d6
mov edi, dword [esp + 0x70]
mov edx, dword [edi]
push 0x104
push edx
push 0x4cbcbc
call fcn.00491254
xor eax, eax
mov word [0x4cbec4], ax
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
add esp, 0xc
push 0x104
push edx
push 0x4cbec6
call fcn.00491254
add esp, 0xc
xor eax, eax
mov word [0x4cc0ce], ax
mov dword [0x4cbcb8], edi
mov edi, dword [0x4c9d08]
cmp byte [edi + 0x17], 0
jne 0x4022e5
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x4022f2
mov eax, edi
call fcn.00401160
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x40230b
test byte [edi + 0x15], 4
je 0x402306
mov eax, edi
call fcn.0042f290
mov eax, dword [edi + 8]
jmp 0x40231b
cmp al, 2
jne 0x402316
call fcn.00401000
jmp 0x40231b
mov eax, 0x4cb614
push 0x7f
push eax
lea ecx, [esp + 0x1a8]
push ecx
call fcn.00491254
mov eax, dword [esp + 0x88]
add esp, 0xc
push eax
xor edx, edx
push edx
push ebx
mov al, 1
mov word [esp + 0x2aa], dx
call fcn.00403590
mov ebx, dword [0x4c590c]
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x4cc164], eax
mov dword [0x4cc160], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.0x40237b.1027
movzx ecx, byte [eax + 0x402efc]
jmp dword [ecx*4 + 0x402ee8]
mov esi, dword [esp + 0x14]
xor edx, edx
mov word [esp + 0x88], dx
cmp byte [esp + 0x12], dl
je 0x40239a
mov ecx, dword [esi]
jmp 0x4023a1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x28]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xd0]
mov edx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov dword [eax + 4], 0
add edi, edx
lea eax, [ecx - 5]
mov dword [esp + 0x28], edi
cmp eax, 4
ja case.default.0x4023d7
jmp dword [eax*4 + 0x402f14]
xor eax, eax
cmp dword [esp + 0x24], eax
mov dword [esp + 0x24], 0
sete al
lea eax, [eax + eax + 1]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x3c], ecx
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x40], eax
test esi, esi
je 0x4024b0
cmp dword [ebx + 0x34], edx
jne 0x40241e
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x3c]
push eax
call fcn.0046a010
movzx eax, byte [esi + 4]
sub eax, 9
je 0x402499
dec eax
je 0x40248b
dec eax
jne 0x4024b0
cmp dword [ebx + 0x34], 1
jne 0x40244a
mov ecx, dword [esi]
push eax
push 9
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4024ac
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], edx
mov edx, dword [esi]
push ecx
push edx
mov dword [esp + 0xb4], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0xa8]
push eax
push 0
push 0x1111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4024ac
mov edx, dword [esi]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x4024a5
mov eax, dword [esi]
push 0
push 0
push 0x19f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
lea esi, [ebx + 0x3c]
call fcn.00476340
cmp dword [esp + 0x14], 0
mov ecx, 1
je 0x4024ec
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xd0]
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 0x402505
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0xd0]
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4a2868
mov edx, edi
add edx, edx
mov dword [esp + edx*8 + 0xd8], ecx
mov dword [esp + edx*8 + 0xd4], 0
lea eax, [esp + edx*8 + 0xd0]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
add edi, ecx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0xd0]
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 + 0xd0]
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 + 0xd0]
mov eax, dword [ebx + 0x40]
cdq
mov dword [esi + 8], ecx
add edi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x14]
jmp 0x40289e
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x34], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 4], eax
mov ecx, dword [ecx + 4]
call fcn.00476340
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esp + 0x18]
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0xd0]
push edx
mov dword [esp + 0x2c], ecx
call fcn.0045e700
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp dword [esp + 0x14], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x402623
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0xd0]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x40263c
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0xd0]
mov dword [eax + 8], 0
mov dword [eax], 0x4a2868
mov edx, dword [esp + 0xc]
mov esi, dword [esi]
add edi, 2
mov eax, edi
add eax, eax
cmp byte [edx + 0xc0], 0
lea ecx, [esp + eax*8 + 0xd0]
mov dword [esp + 0x28], ecx
je 0x40266e
mov eax, dword [0x4cb62c]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.DLL_MulDiv]
jmp 0x402670
mov eax, esi
mov ecx, dword [esp + 0x28]
cdq
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov eax, dword [ebx + 0x40]
lea ecx, [edi + 1]
add ecx, ecx
add edi, 2
cmp byte [edx + 0xc0], 0
lea esi, [esp + ecx*8 + 0xd0]
mov dword [esp + 0x28], edi
je 0x4026b4
mov ecx, dword [0x4cb62c]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x14]
jmp 0x4028a2
mov dword [ebx + 0x34], edx
cmp ecx, 8
jne 0x4028a2
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0xd0]
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 + 0xd0]
movzx eax, dx
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xc0], 0
je 0x402730
mov ecx, dword [0x4cb62c]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 4], edx
lea edx, [edi + 2]
mov dword [esi], eax
mov eax, dword [esp + 0x78]
add edx, edx
mov dword [esi + 8], 1
lea esi, [esp + edx*8 + 0xd0]
mov edx, dword [esp + 0xc]
add edi, 3
shr eax, 0x10
cmp byte [edx + 0xc0], 0
mov dword [esp + 0x28], edi
je 0x402778
mov ecx, dword [0x4cb62c]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0x14]
jmp 0x4028a2
mov al, byte [esi + 4]
cmp al, 0xa
je 0x4027c2
cmp al, 0x19
jne 0x40285d
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 4], eax
mov ecx, dword [ecx + 4]
call fcn.00476340
mov esi, dword [esp + 0x14]
jmp 0x402859
cmp cl, 0x49
jne 0x40285d
lea eax, [esp + 0x88]
test ecx, 0x100
je 0x4027e9
mov edx, 0x53
mov word [esp + 0x88], dx
jmp 0x4027fe
test ecx, 0x200
je 0x402805
mov eax, 0x73
mov word [esp + 0x88], ax
lea eax, [esp + 0x8a]
test ecx, 0x400
je 0x402814
mov edx, 0x46
jmp 0x402821
test ecx, 0x800
je 0x402827
mov edx, 0x66
mov word [eax], dx
add eax, 2
test ecx, 0x1000
je 0x402839
mov ecx, 0x43
mov word [eax], cx
jmp 0x402849
test ecx, 0x2000
je 0x40284c
mov edx, 0x63
mov word [eax], dx
add eax, 2
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x30], 0x49
mov ecx, dword [esp + 0x30]
mov edx, edi
add edx, edx
mov dword [ebx + 0x34], ecx
lea edx, [esp + edx*8 + 0xd0]
mov eax, ecx
mov dword [edx + 8], 0
call fcn.0045e6e0
mov dword [edx], eax
mov edx, dword [esp + 0x24]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0xd0]
add edi, 2
mov dword [eax + 8], 1
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [esp + 0x28], edi
cmp byte [esp + 0x12], 0
je 0x4029d1
cmp byte [esi + 4], 0x17
jne 0x4029d1
push 0x10b8
lea eax, [esp + 0x2a4]
push 0
push eax
call fcn.00497430
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
add esp, 0xc
lea edx, [esp + 0x2a0]
push edx
push 0
push 0x703
dec ecx
push eax
mov dword [esp + 0x2b0], 0xd
mov dword [esp + 0x2b4], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x402a35
cmp word [esp + 0x310], 0
lea eax, [esp + 0x310]
jne 0x40291e
lea eax, [esp + 0x2b0]
mov ecx, dword [0x4c9d08]
push 1
push 0
push 0xffffffffffffffff
push eax
push ecx
call fcn.00477e60
mov esi, dword [0x4c9d08]
mov edx, edi
add edx, edx
inc edi
cmp byte [esi + 0x17], 0
lea eax, [esp + edx*8 + 0xd0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x28], edi
jne 0x402957
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x402964
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x402994
test byte [esi + 0x15], 4
je 0x402978
mov eax, esi
call fcn.0042f290
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402a35
cmp al, 2
jne 0x4029b6
call fcn.00401000
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402a35
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
mov eax, 0x4cb614
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402a35
cmp word [esp + 0x88], 0
je 0x4029fc
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xd0]
inc edi
lea edx, [esp + 0x88]
mov dword [esp + 0x28], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x402a22
cmp ecx, 5
je 0x402a22
mov ecx, dword [0x4c9d08]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x94]
push eax
push ecx
call fcn.00477e60
jmp 0x402a35
mov edx, dword [esp + 0x24]
mov eax, dword [0x4c9d08]
push 0x18
push 0
push edx
call fcn.004010e0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x74]
mov dword [ebx + 0xc4], ecx
add dword [eax + 0x20], 2
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x38], eax
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x402a67
mov byte [ebx], 1
jmp 0x402a72
cmp byte [esp + 0x12], 0
je 0x402a72
or byte [esi + 5], 4
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0xd4]
push edx
push 0x4a28cc
push esi
xor eax, eax
mov edx, edi
mov ecx, esi
call fcn.0046d480
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp dword [eax + 4], 0
je 0x402b43
test ebx, ebx
je 0x402aec
cmp dword [esp + 0x30], 6
mov byte [ebx], 0
jne 0x402afb
cmp dword [esp + 0x80], 0
jne 0x402b43
push esi
call fcn.004703d0
add esp, 4
test eax, eax
jne 0x402ad5
test esi, esi
jne 0x402b43
mov eax, dword [esp + 0xc]
call fcn.00465bc0
mov esi, dword [esp + 0xc]
call fcn.0045e520
jmp 0x402cf0
cmp byte [esp + 0x12], 0
je 0x402afb
mov eax, dword [esp + 0x14]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x30], 5
jne 0x402b43
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
push 0xffffffffffffffec
push ecx
mov dword [esi + 0x68], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
or eax, 0x10
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [esp + 0xc]
call fcn.0045e520
jmp 0x402cf0
mov edi, dword [esp + 0xc]
xor esi, esi
cmp edi, esi
je 0x402b75
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, 0x4cb680
mov dword [esp + 0x138], esi
mov dword [esp + 0x130], 0x4cbcbc
call fcn.00445f50
xor ecx, ecx
mov dword [esp + 0x144], ecx
push esi
inc eax
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x148], eax
xor eax, eax
push 0x4a28cc
push ecx
lea edx, [eax + 3]
mov dword [esp + 0x158], 1
mov dword [esp + 0x168], esi
mov dword [esp + 0x160], 0x4cbec6
call fcn.0046d480
add esp, 0x10
cmp edi, esi
je 0x402cf0
mov esi, dword [esp + 0xc]
call fcn.0045e520
jmp 0x402cf0
mov edx, dword [esp + 0x54]
mov dword [ebx + 0xc4], edx
mov al, byte [esi + 0x21]
mov byte [ebx + 0xf6], al
call fcn.0040c9c0
jmp 0x402cf0
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402c40
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x402c39
push 0xf
call esi
test eax, eax
jne 0x402c39
mov eax, 2
jmp 0x402c42
mov eax, 1
jmp 0x402c42
xor eax, eax
push 0x18
push 0
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4c9d08]
call fcn.004010e0
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0xb8], ecx
mov ecx, dword [0x4cc0f8]
mov dword [esp + 0xc0], 1
mov dword [esp + 0xbc], 0
mov byte [0x4cc104], 1
test ecx, ecx
je 0x402c90
call fcn.00401220
mov ecx, dword [0x4cc0f8]
cmp dword [esp + 0x3c], 0
jne 0x402cb3
xor edx, edx
test ecx, ecx
sete dl
lea eax, [esp + 0xb8]
mov ebx, 0x4cc0e8
push edx
push 1
push eax
call fcn.004704d0
mov byte [0x4cc104], 0
jmp 0x402cf0
mov esi, dword [esp + 0x6c]
mov al, byte [esi + 0x12]
cmp al, 0x9c
jb 0x402cd2
cmp al, 0x9f
ja 0x402cd2
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x38], ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov dword [ebx + 0xc4], edx
mov cl, byte [eax + 0x18]
push eax
push esi
mov byte [ebx + 0xf6], cl
call fcn.0040a830
lea edx, [esp + 0x1a0]
push edx
call fcn.00403690
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x401483
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00402f30
add esp, 8
test eax, eax
je 0x401483
mov byte [esp + 0x23], 1
mov byte [esp + 0x58], 1
jmp 0x401483
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402d97
mov eax, dword [0x4c590c]
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 0x402d8a
cmp dword [0x4c96a4], 0
je 0x402d79
push 0x4c9d10
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov eax, dword [0x4c590c]
mov byte [eax + 0xe8], 0
jmp 0x401483
mov ecx, dword [0x4c590c]
mov byte [ecx + 0xe8], 0
mov eax, dword [0x4c951c]
test eax, eax
je 0x402dba
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [0x4c9508]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401483
mov eax, dword [0x4c590c]
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 [0x4c590c]
mov byte [ecx + 0xe8], 0
jmp 0x401483
cmp esi, 0xffffffff
jle 0x402e16
mov dword [0x4cc150], 0
mov dword [0x4cc154], 0
mov dword [0x4cc160], eax
cmp byte [esp + 0x21], 0
mov dword [0x4cc164], eax
je 0x402e29
mov byte [0x4c9665], 0
cmp byte [esp + 0x22], 0
je 0x401cb4
dec dword [0x4c9674]
test esi, esi
jle 0x401cb4
cmp dword [0x4c9674], 0
jne 0x401cb4
cmp dword [0x4cc118], 0
jne 0x401cb4
cmp dword [0x4caf08], 0
jne 0x401cb4
cmp byte [0x4c965f], 0
je 0x401cb4
mov edx, dword [0x4c9508]
push 9
push edx
jmp 0x401ca3