Function at 0x4012a0
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Check http status code
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
push 0xffffffffffffffff
push 0x48f284
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1204
call fcn.0048af20
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov dword [esp + 0x44], edi
mov byte [esp + 0x18], 0
lea ebx, [edi + 1]
jne 0x4012f3
cmp byte [0x4a2d88], 0
mov dword [ebp + 0xc], ebx
jne 0x4012f3
mov byte [0x4a2d88], bl
mov byte [esp + 0x18], bl
cmp dword [0x4a4c9c], edi
je 0x401327
cmp dword [0x4a4c8c], edi
je 0x401315
mov eax, dword [0x4a4c84]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4a4c8c], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4a4c9c], edi
mov dword [0x4a4c84], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x401347
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x58], 1
mov dword [esp + 0x6c], edi
jmp 0x401365
cmp esi, 5
setle al
mov byte [esp + 0x58], al
test al, al
je 0x40135b
mov dword [esp + 0x6c], edi
jmp 0x401365
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x6c], eax
cmp dword [0x4a452c], edi
je 0x401372
call fcn.00402c30
mov byte [esp + 0x13], 0
cmp dword [0x4a5240], edi
je 0x40138d
call fcn.00402aa0
test al, al
je 0x40138d
mov byte [esp + 0x13], 1
cmp esi, edi
jle 0x4015ea
cmp dword [ebp + 0xc], ebx
jne 0x4015ea
add dword [0x4a2d98], ebx
cmp byte [0x4a2d82], 0
mov byte [esp + 0x1a], 1
jne 0x4013cf
mov ecx, dword [0x4a2c30]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4a2d82], dl
mov byte [esp + 0x27], 0
mov byte [esp + 0x19], 0
mov dword [esp + 0x74], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, dword [ebp + 8]
mov esi, eax
mov dword [esp + 0x48], esi
test ebx, ebx
jle 0x4015f4
cmp byte [esp + 0x19], 0
jne 0x4015f4
cmp byte [0x4a2d88], 0
jne 0x401601
call fcn.00403200
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x4013dd
call edi
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x401446
mov dword [0x4a5290], eax
inc dword [esp + 0x74]
cmp dword [0x4a3420], 0
je 0x401481
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.00402ca0
add esp, 0x18
test al, al
jne 0x4013dd
mov edx, dword [0x4a33c4]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
test edx, edx
je 0x401ad4
test esi, esi
je 0x401ad4
cmp esi, dword [0x4a2c30]
je 0x401ad4
cmp eax, 0x414
je 0x401ad4
cmp eax, 0x402
je 0x401ad4
cmp eax, 0x100
jae 0x4014d3
cmp eax, 0x109
ja 0x401a7a
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x48], eax
test eax, eax
je 0x401a6c
call fcn.00470b80
mov esi, eax
test esi, esi
je 0x401a6c
call fcn.004567c0
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x401a6c
mov eax, dword [edi + 0x74]
test eax, eax
je 0x401523
lea ecx, [esp + 0x28]
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4013dd
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
cmp eax, 0x100
jne 0x4019fe
cmp byte [edi + 0xb8], 0
je 0x401953
cmp edx, 0x22
je 0x401560
cmp edx, 0x21
je 0x401560
cmp edx, 9
je 0x401560
cmp edx, 0x25
je 0x401560
cmp edx, 0x27
jne 0x401953
mov ebx, dword [esp + 0x48]
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea esi, [eax - 3]
cmp esi, dword [edi + 0x10]
jb 0x401591
push ebx
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x401588
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea esi, [eax - 3]
cmp esi, dword [edi + 0x10]
jae 0x401887
mov eax, dword [edi + 0x18]
lea edx, [esi + esi*4]
lea ebx, [eax + edx*4]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x401940
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401940
xor esi, esi
cmp al, 0x13
mov eax, dword [esp + 0x30]
jne 0x401894
mov esi, ebx
cmp eax, 0x25
je 0x4015cf
cmp eax, 0x27
jne 0x401894
cmp eax, 0x27
push 0
sete cl
movzx edx, cl
push 0
push edx
push edi
mov eax, ebx
call fcn.00462920
jmp 0x4013dd
mov byte [esp + 0x1a], 0
jmp 0x4013cf
cmp byte [0x4a2d88], 0
je 0x401785
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x401785
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4a4c44]
jne 0x401785
cmp dword [0x4a2dc8], 0
je 0x40165e
push 0x20
lea edx, [esp + 0xa4]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0xa0]
push str.32770
push eax
call fcn.0047eb81
add esp, 8
test eax, eax
sete al
test al, al
jne 0x4016b3
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x401785
push 0x20
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edx, [esp + 0xa0]
push str.SysTreeView32
push edx
call fcn.0047ea31
add esp, 8
test eax, eax
je 0x4016b3
lea eax, [esp + 0xa0]
push str.SysListView32
push eax
call fcn.0047ea31
add esp, 8
test eax, eax
jne 0x401785
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0x1ff
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
call esi
test eax, eax
jne 0x4016f8
push 1
call fcn.00403200
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea edx, [esp + 0x38]
push edx
call esi
jmp 0x401800
mov ebx, dword [esp + 0x38]
push 0
call fcn.00403200
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea eax, [esp + 0x38]
push eax
call esi
push 1
test eax, eax
jne 0x40173c
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x38]
push ecx
call esi
mov ebx, dword [ebp + 8]
jmp 0x401800
mov edx, dword [esp + 0x3c]
sub edx, ebx
test edx, edx
jle 0x40175e
push 0x1ff
push 0
push 0
lea eax, [esp + 0x38]
push eax
call esi
mov ebx, dword [ebp + 8]
jmp 0x401800
call fcn.00403200
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea ecx, [esp + 0x38]
push ecx
call esi
mov ebx, dword [ebp + 8]
jmp 0x401800
cmp dword [0x49f394], 0
je 0x4017de
cmp dword [0x4a2dbc], 0
jne 0x4017de
mov eax, dword [0x49f430]
cmp byte [eax + 0xc4], 0
jne 0x4017d5
cmp byte [eax + 0xc6], 0
jne 0x4017d5
cmp dword [eax + 0xb8], 0xffffffff
jle 0x4017d5
call edi
mov edx, eax
mov eax, dword [0x49f430]
sub edx, dword [eax + 0xb4]
cmp edx, dword [eax + 0xb8]
jb 0x4017d5
mov byte [eax + 0xc4], 1
movzx eax, byte [eax + 0xc4]
jmp 0x4017e0
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 + 0x38]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x401446
call edi
mov ecx, eax
sub ecx, dword [esp + 0x48]
cmp ecx, 3
jbe 0x40181a
mov dword [0x4a5290], eax
test ebx, ebx
jne 0x401835
cmp byte [esp + 0x27], bl
jne 0x401835
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x27], 1
jmp 0x4013dd
cmp dword [esp + 0x74], 0
jne 0x40185c
cmp byte [esp + 0x58], 0
je 0x40185c
test ebx, ebx
jle 0x40184f
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x74], 1
jmp 0x4013dd
call edi
cmp byte [esp + 0x58], 0
jne 0x4028f7
mov edx, dword [esp + 0x6c]
sub edx, eax
add edx, ebx
cmp edx, 5
jle 0x4028f7
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4013dd
mov dword [esp + 0x14], 0
jmp 0x401940
cmp eax, 0x25
je 0x401940
cmp eax, 0x27
je 0x401940
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401940
mov edi, dword [esp + 0x30]
cmp edi, 9
jne 0x4018de
cmp byte [ebx + 4], 0xc
jne 0x4018de
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x40193c
mov edi, dword [esp + 0x30]
test esi, esi
jne 0x401901
mov bl, byte [ebx + 6]
mov ecx, dword [esp + 0xc]
call fcn.004626b0
mov esi, eax
test esi, esi
jne 0x401901
xor bl, bl
call fcn.004626b0
mov esi, eax
test esi, esi
je 0x40193c
cmp edi, 0x22
je 0x401921
cmp edi, 9
jne 0x40191d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401921
xor al, al
jmp 0x401926
mov eax, 1
mov edx, dword [esp + 0xc]
push 1
push 1
push eax
push edx
mov eax, esi
call fcn.00462920
jmp 0x4013dd
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
cmp eax, 0x100
jne 0x4019fe
cmp edx, 0x1b
je 0x401978
cmp edx, 9
je 0x401978
cmp edx, 0x41
jne 0x4019fe
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4019f6
mov ebx, dword [esp + 0x48]
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea esi, [eax - 3]
cmp esi, dword [edi + 0x10]
jb 0x4019a5
push ebx
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4019a0
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea esi, [eax - 3]
cmp esi, dword [edi + 0x10]
jae 0x4019ee
mov eax, dword [edi + 0x18]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4019f6
mov ecx, eax
cmp byte [ecx + 4], 0xc
jne 0x4019f6
mov eax, dword [esp + 0x30]
cmp eax, 0x1b
je 0x401a46
cmp eax, 0x41
mov eax, ecx
je 0x401a29
test byte [eax + 5], 0x80
je 0x4019f6
mov edx, dword [eax]
push 0x492814
push 1
push 0xc2
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4013dd
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x4a4bf4]
test ecx, ecx
je 0x401a70
cmp eax, 0x100
jne 0x401a70
cmp edx, 0xd
jne 0x401a52
push 0
push 0
push 0x1116
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4013dd
test byte [eax + 5], 2
jne 0x4019f6
mov eax, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4013dd
mov eax, edi
call fcn.0045f120
jmp 0x4013dd
cmp edx, 0x1b
jne 0x401a70
push 0
push 1
push 0x1116
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4013dd
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4a33c4]
mov esi, dword [esp + 0x28]
xor ebx, ebx
test edx, edx
jle 0x401ad4
mov eax, dword [0x49f430]
mov byte [eax + 0xc0], 1
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xbc], ecx
mov eax, dword [0x4a33c0]
mov ecx, dword [eax + ebx*4]
lea edx, [esp + 0x28]
push edx
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
mov eax, dword [0x49f430]
mov byte [eax + 0xc0], 0
jne 0x4013dd
mov edx, dword [0x4a33c4]
inc ebx
cmp ebx, edx
jl 0x401a85
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp eax, 0x312
ja 0x401c3e
je case.0x401c50.1026
cmp eax, 0x100
ja 0x401b51
je 0x401b26
cmp eax, 0x12
je 0x401b10
cmp eax, 0x4b
jne case.0x401c50.1027
mov dword [0x4a2d68], 0
mov byte [esp + 0x19], 1
jmp 0x4013dd
push 0
xor eax, eax
push 0x4a4ca0
lea ecx, [eax + 6]
call fcn.00415350
jmp 0x4013dd
cmp esi, dword [0x4a2c34]
jne case.0x401c50.1027
cmp dword [esp + 0x30], 0x1b
jne case.0x401c50.1027
mov ecx, dword [0x4a2c30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4013dd
cmp eax, 0x113
jne case.0x401c50.1027
cmp dword [esp + 0x34], 0
jne case.0x401c50.1027
cmp esi, dword [0x4a2c30]
jne case.0x401c50.1027
cmp dword [0x4a452c], 0
je 0x401b81
call fcn.00402c30
cmp dword [0x4a5240], 0
je 0x401b98
call fcn.00402aa0
test al, al
je 0x401b98
mov byte [esp + 0x13], 1
cmp dword [ebp + 0xc], 0
je 0x4013dd
cmp dword [ebp + 8], 1
jl 0x4013dd
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
push edx
push eax
call fcn.00402a60
add esp, 8
test eax, eax
je 0x4013dd
cmp byte [esp + 0x18], 0
je 0x401bd7
mov byte [0x4a2d88], 0
cmp byte [esp + 0x1a], 0
je 0x401c25
dec dword [0x4a2d98]
test esi, esi
jle 0x401c25
cmp dword [0x4a2d98], 0
jne 0x401c25
cmp dword [0x4a5240], 0
jne 0x401c25
cmp dword [0x4a452c], 0
jne 0x401c25
cmp byte [0x4a2d82], 0
je 0x401c25
mov eax, dword [0x4a2c30]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401c25
mov byte [0x4a2d82], 0
mov ecx, dword [esp + 0x1214]
mov al, byte [esp + 0x13]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax - 0x400]
cmp ecx, 0x15
ja case.0x401c50.1027
movzx ecx, byte [ecx + 0x402990]
jmp dword [ecx*4 + 0x402984]
xor edi, edi
cmp esi, edi
je 0x401d12
cmp esi, dword [0x4a2c30]
je 0x401d12
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x402895
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4a4c44]
jne 0x402895
push 0x20
lea eax, [esp + 0xa4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea ecx, [esp + 0xa0]
push str.32770
push ecx
call fcn.0047eb81
add esp, 8
test eax, eax
jne 0x402895
mov eax, dword [0x49f430]
mov byte [eax + 0xc0], 1
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xbc], edx
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x402888
cmp dword [0x4a2dc8], 0
je 0x401cfe
push 0x4a3438
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [0x49f430]
mov byte [ecx + 0xc0], 0
jmp 0x4013dd
xor edi, edi
add eax, 0xfffffbff
mov dword [esp + 0x48], edi
cmp eax, 0x14
ja case.0x401d2b.1027
movzx eax, byte [eax + 0x4029bc]
jmp dword [eax*4 + 0x4029a8]
xor eax, eax
cmp edx, edi
jle 0x401d4d
mov ecx, dword [0x4a33c0]
mov edi, edi
mov ebx, dword [ecx + eax*4]
cmp dword [ebx + 4], esi
je 0x401d56
inc eax
cmp eax, edx
jl 0x401d40
mov dword [esp + 0xc], edi
jmp case.0x401c50.1027
mov eax, ebx
mov dword [esp + 0xc], eax
cmp eax, edi
je case.0x401c50.1027
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
movzx edx, ax
shr eax, 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], eax
cmp edx, 8
jne 0x401d97
mov dword [esp + 0x78], 0x2af8
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x10]
jae 0x401daf
mov esi, dword [ecx + 0x18]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [esp + 0x14], eax
jmp 0x401db3
mov dword [esp + 0x14], edi
lea eax, [edx - 5]
mov dword [esp + 0x5c], edi
mov byte [esp + 0x1b], 0
cmp eax, 4
ja case.default.0x401dc8
jmp dword [eax*4 + 0x4029d4]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x4c], ecx
cmp ecx, edi
je 0x4013dd
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
add ecx, 0x3a
mov dword [esp + 0x5c], ecx
jmp 0x402068
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x4c], ecx
cmp ecx, edi
je 0x4013dd
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
add edx, 0x38
mov dword [esp + 0x5c], edx
mov edx, ecx
jmp 0x402068
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x4c], ecx
cmp ecx, edi
je 0x4013dd
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
add eax, 0x39
mov dword [esp + 0x5c], eax
mov edx, ecx
jmp 0x402068
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x4c], ecx
cmp ecx, edi
je 0x4013dd
mov edi, dword [esp + 0x1c]
mov edx, ecx
jmp 0x402068
mov esi, dword [ecx + 0x68]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ecx
cmp ecx, edi
je 0x401e89
cmp esi, edi
je 0x4013dd
xor edi, edi
push edi
push edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [esp + 0x20], eax
cmp eax, edi
jne 0x401ed7
cmp esi, edi
je 0x4013dd
push esi
jmp 0x4020b5
cmp dword [esp + 0x14], edi
je 0x4013dd
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x401ec8
test byte [ecx + 5], 1
je 0x4013dd
mov eax, dword [esp + 0xc]
call fcn.0045f0c0
jmp 0x4013dd
test byte [ecx + 5], 4
jne 0x4013dd
mov byte [esp + 0x1b], 1
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
jmp 0x402068
mov edx, dword [esp + 0x34]
mov eax, 0x4a4ca0
call fcn.00401270
mov dword [esp + 0x68], eax
cmp eax, edi
je 0x4013dd
mov ecx, eax
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4013dd
mov edx, dword [eax + 4]
mov al, byte [edx]
mov edi, dword [esp + 0x1c]
jmp 0x40206d
mov eax, dword [esp + 0x30]
cmp eax, dword [0x4a4534]
jae 0x4013dd
mov ecx, dword [0x4a4530]
mov esi, dword [ecx + eax*4]
mov bl, byte [esi + 0x24]
mov dword [esp + 0x60], esi
test bl, bl
je 0x401f76
mov eax, dword [esi]
test eax, eax
je 0x401f47
mov eax, dword [eax]
jmp 0x401f4c
mov eax, 0x4927e9
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x10]
push edx
call fcn.004090d0
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x4013dd
mov al, byte [esi + 0x24]
cmp al, 1
je 0x401f7e
cmp al, 3
je 0x401f7e
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x34]
push eax
mov edi, esi
call fcn.0040bec0
mov ecx, dword [edi + 8]
cmp byte [ecx], 0
jne 0x4013dd
mov edi, dword [esp + 0x1c]
mov eax, esi
mov dl, byte [eax + 0x2f]
neg dl
sbb dl, dl
and dl, byte [esp + 0x34]
mov byte [0x4a5258], dl
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov al, byte [ecx]
jmp 0x40206d
mov edx, dword [0x4a5228]
mov edi, dword [esp + 0x1c]
jmp 0x402068
mov ecx, dword [esp + 0x30]
mov edx, dword [0x4a0580]
mov eax, ecx
and eax, 0x3fff
cmp ax, word [edx]
jae 0x4013dd
movzx eax, ax
mov edx, dword [eax*4 + 0x4a3578]
mov eax, ecx
shr eax, 0x10
mov dword [esp + 0x70], edx
test ax, ax
je 0x402027
mov ecx, edx
mov edi, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x1c], edi
test ax, ax
je 0x402023
lea ecx, [ecx]
mov edx, dword [edi + 0x14]
add eax, 0xffff
mov dword [esp + 0x1c], edx
mov edi, edx
test ax, ax
jne 0x402010
test edi, edi
jne 0x402043
mov eax, dword [esp + 0x70]
push eax
lea eax, [esp + 0x58]
call fcn.004099f0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4013dd
mov edi, eax
mov al, byte [edi + 0x1e]
cmp al, 2
je 0x40205e
cmp al, 4
je 0x40205e
cmp al, 5
jne 0x402066
mov ecx, dword [0x4a2db8]
mov dword [esp + 0x54], ecx
jmp 0x402066
mov dword [esp + 0x54], 0
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov al, byte [eax]
mov ecx, dword [0x4a2d9c]
mov edx, dword [0x49f3a0]
mov byte [esp + 0x64], al
cmp ecx, edx
jl 0x4020cb
add edx, 2
cmp ecx, edx
jge 0x4020a8
cmp al, 0xdc
je 0x4020cb
cmp al, 0xc8
je 0x4020cb
cmp al, 0xd6
je 0x4020cb
cmp al, 0xd7
je 0x4020cb
cmp al, 0xd2
je 0x4020cb
cmp al, 0xd3
je 0x4020cb
cmp al, 0xd4
je 0x4020cb
cmp al, 0xd5
je 0x4020cb
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4013dd
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], 0
jmp 0x4013dd
mov eax, dword [esp + 0x2c]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.0x4020e4.1027
movzx edx, byte [eax + 0x4029fc]
jmp dword [edx*4 + 0x4029e8]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x402100
cmp byte [eax], 0
jne 0x4013dd
mov edi, dword [esp + 0x1c]
xor ebx, ebx
jmp 0x4021b3
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x18]
test esi, esi
je 0x402141
call fcn.004567c0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4021b3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4021b3
cmp eax, dword [0x4a2c30]
jne case.0x401c50.1027
jmp 0x4021b3
mov dword [esp + 0xc], 0
jmp 0x4021b3
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x14]
jmp 0x4021b3
cmp byte [0x4a5224], 0
jne 0x4013dd
mov edi, dword [esp + 0x1c]
xor ebx, ebx
jmp 0x4021b3
mov dl, byte [edi + 0x1f]
cmp dl, byte [edi + 0x20]
jb 0x4021b0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov al, byte [ecx]
cmp al, 0xdc
je 0x4021b0
cmp al, 0xc8
je 0x4021b0
cmp al, 0xd6
je 0x4021b0
cmp al, 0xd7
je 0x4021b0
cmp al, 0xd2
je 0x4021b0
cmp al, 0xd3
je 0x4021b0
cmp al, 0xd4
je 0x4021b0
cmp al, 0xd5
je 0x4021b0
cmp byte [edi + 0x23], 0
je 0x4021a2
mov byte [edi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 4], eax
jmp 0x4013dd
mov ebx, dword [edi + 0x18]
mov edx, dword [0x49f430]
cmp ebx, dword [edx + 0x2c]
jge 0x4021e1
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4013dd
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x68], 0
jmp 0x4013dd
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x13], 1
cmp eax, 0x402
je 0x402257
cmp eax, 0x413
jbe 0x402203
cmp eax, 0x415
jbe 0x402296
mov ecx, dword [0x4a5218]
mov edx, dword [0x4a5250]
mov dword [0x4a521c], ecx
mov dword [0x4a5254], edx
cmp eax, 0x401
jne 0x40223d
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [0x4a5218], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a5250], eax
jmp 0x402296
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov dword [0x4a5218], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a5250], eax
jmp 0x402296
mov esi, dword [esp + 0x68]
mov eax, dword [esi]
push 0x104
push eax
push 0x4a500c
call fcn.00481870
mov byte [0x4a5110], 0
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
add esp, 0xc
push 0x104
push eax
push 0x4a5111
call fcn.00481870
add esp, 0xc
mov byte [0x4a5215], 0
mov esi, dword [0x4a3434]
cmp byte [esi + 0x17], 0
jne 0x4022a5
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4022b2
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4022cb
test byte [esi + 0x15], 4
je 0x4022c6
mov eax, esi
call fcn.0042d510
mov eax, dword [esi + 8]
jmp 0x4022db
cmp al, 2
jne 0x4022d6
call fcn.00401000
jmp 0x4022db
mov eax, 0x4a453d
push 0x7f
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.00481870
mov ecx, dword [esp + 0x70]
add esp, 0xc
push ecx
push 0
push ebx
mov al, 1
mov byte [esp + 0x163], 0
call fcn.00403060
mov ebx, dword [0x49f430]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a5294], eax
mov dword [0x4a5290], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.0x402337.1027
movzx edx, byte [eax + 0x402a28]
jmp dword [edx*4 + 0x402a14]
mov ecx, dword [esp + 0x50]
lea eax, [ecx - 5]
mov byte [esp + 0x80], 0
cmp eax, 4
ja case.default.0x402356
jmp dword [eax*4 + 0x402a40]
mov esi, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x20], eax
lea edi, [ebx + 0x3c]
sete al
mov dword [esp + 0x20], 0
lea eax, [eax + eax + 1]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov edx, dword [esp + 0x40]
mov dword [edi + 4], edx
test esi, esi
je 0x40242a
cmp eax, 1
jne 0x40239c
push edi
call fcn.00462a80
movzx eax, byte [esi + 4]
sub eax, 9
je 0x402413
dec eax
je 0x402405
dec eax
jne 0x40242a
cmp dword [ebx + 0x34], 1
jne 0x4023c4
push eax
mov eax, dword [esi]
push 9
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402426
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x90]
mov dword [esp + 0x90], ecx
mov ecx, dword [esi]
push eax
push ecx
mov dword [esp + 0x9c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi]
lea edx, [esp + 0x90]
push edx
push 0
push 0x1111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402426
mov ecx, dword [esi]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
jmp 0x40241f
mov edx, dword [esi]
push 0
push 0
push 0x19f
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov esi, edi
call fcn.0046d600
mov ecx, dword [esp + 0x50]
jmp 0x402598
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0xc]
mov dword [ebx + 0x34], ecx
mov edx, dword [esp + 0x3c]
lea esi, [ebx + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
call fcn.0046d600
mov ecx, dword [edi + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [edi + 4]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esp + 0x50]
jmp 0x402598
mov dword [ebx + 0x34], 1
cmp ecx, 8
jne 0x4025a1
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [0x4a3434]
push 0x18
push 0
push ecx
call fcn.004010d0
xor edi, edi
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0xa0], edx
add dword [esi + 0x20], 2
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x38], ecx
mov ebx, dword [esp + 0x5c]
cmp ebx, edi
je 0x4026de
mov byte [ebx], 1
jmp 0x4026ed
mov edx, dword [esp + 0x14]
mov al, byte [edx + 4]
cmp al, 0xa
je 0x40251f
cmp al, 0x17
jne 0x402595
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
call fcn.0046d600
jmp 0x402591
cmp cl, 0x49
jne 0x402595
lea eax, [esp + 0x80]
test ecx, 0x100
je 0x40253d
mov byte [esp + 0x80], 0x53
jmp 0x40254d
test ecx, 0x200
je 0x402554
mov byte [esp + 0x80], 0x73
lea eax, [esp + 0x81]
test ecx, 0x400
je 0x402561
mov byte [eax], 0x46
jmp 0x40256c
test ecx, 0x800
je 0x40256d
mov byte [eax], 0x66
inc eax
test ecx, 0x1000
je 0x40257a
mov byte [eax], 0x43
jmp 0x402585
test ecx, 0x2000
je 0x402586
mov byte [eax], 0x63
inc eax
mov byte [eax], 0
mov dword [esp + 0x50], 0x49
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x34], ecx
cmp ecx, 8
je 0x4024a0
cmp ecx, 5
je 0x4024a0
mov esi, dword [esp + 0x14]
xor edi, edi
cmp esi, edi
je 0x4026c1
cmp byte [esi + 4], 0x16
jne 0x4026c1
push 0x10b8
lea eax, [esp + 0x15c]
push edi
push eax
call fcn.00487c20
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
add esp, 0xc
lea edx, [esp + 0x158]
push edx
push edi
push 0x703
dec ecx
push eax
mov dword [esp + 0x168], 0xd
mov dword [esp + 0x16c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4024b5
push 0xffffffffffffffff
cmp word [esp + 0x1cc], di
je 0x40263c
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x1d0]
call fcn.004034a0
mov dword [esp + 0x121c], edi
or dword [esp + 0x44], 1
jmp 0x402660
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x170]
call fcn.004034a0
mov dword [esp + 0x121c], 1
or dword [esp + 0x44], 2
push 1
push edi
push 0xffffffffffffffff
call fcn.004033b0
mov ecx, dword [0x4a3434]
push eax
call fcn.0046ede0
mov dword [esp + 0x121c], edi
test byte [esp + 0x44], 2
je 0x402695
and dword [esp + 0x44], 0xfffffffd
lea eax, [esp + 0xc0]
call fcn.004033d0
mov dword [esp + 0x121c], 0xffffffff
test byte [esp + 0x44], 1
je 0x4024b5
and dword [esp + 0x44], 0xfffffffe
lea eax, [esp + 0xcc]
call fcn.004033d0
jmp 0x4024b5
mov ecx, dword [0x4a3434]
push 1
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x8c]
push eax
call fcn.0046ede0
jmp 0x4024b5
cmp byte [esp + 0x1b], 0
je 0x4026ed
mov eax, dword [esp + 0x14]
or byte [eax + 5], 4
mov ecx, dword [esp + 0x4c]
call fcn.00401230
cmp dword [esi + 4], edi
je 0x402741
cmp ebx, edi
je 0x402704
mov byte [ebx], 0
jmp 0x402713
cmp byte [esp + 0x1b], 0
je 0x402713
mov eax, dword [esp + 0x14]
and byte [eax + 5], 0xfb
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x402741
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [esi + 4]
push 0xffffffffffffffec
push edx
mov dword [esi + 0x68], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x10
push eax
mov eax, dword [esi + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [esp + 0xc]
call fcn.00458780
jmp 0x402842
mov esi, dword [esp + 0xc]
test esi, esi
je 0x402771
mov ecx, dword [esi + 4]
mov dword [ebx + 0xa0], ecx
mov dword [ebx + 0x34], 1
add dword [esi + 0x20], 2
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
mov edx, dword [esp + 0x68]
mov ecx, dword [edx + 0xc]
call fcn.00401230
test esi, esi
je 0x402842
mov esi, dword [esp + 0xc]
call fcn.00458780
jmp 0x402842
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
mov dword [ebx + 0xa0], eax
mov cl, byte [esi + 0x25]
mov byte [ebx + 0xce], cl
call fcn.0040be30
jmp 0x402842
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x4027e2
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x4027db
push 0xf
call esi
test eax, eax
jne 0x4027db
mov eax, 2
jmp 0x4027e4
mov eax, 1
jmp 0x4027e4
xor eax, eax
push 0x18
push 0
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4a3434]
call fcn.004010d0
mov ecx, dword [0x4a5228]
mov byte [0x4a5224], 1
call fcn.00401230
mov byte [0x4a5224], 0
jmp 0x402842
mov ecx, dword [esp + 0x70]
mov al, byte [ecx + 0x12]
cmp al, 0x9c
jb 0x402827
cmp al, 0x9f
ja 0x402827
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x38], edx
mov eax, dword [esp + 0x54]
mov dword [ebx + 0xa0], eax
mov dl, byte [edi + 0x21]
mov byte [ebx + 0xce], dl
push ecx
mov ebx, edi
call fcn.00409db0
lea eax, [esp + 0xd8]
push eax
call fcn.00403160
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x4013dd
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x6c]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.00402a60
add esp, 8
test eax, eax
je 0x4013dd
mov byte [esp + 0x19], 1
mov byte [esp + 0x58], 1
jmp 0x4013dd
mov edx, dword [0x49f430]
mov byte [edx + 0xc0], 0
mov eax, dword [0x4a2c44]
test eax, eax
je 0x4028b9
mov edx, dword [0x4a2c30]
lea ecx, [esp + 0x28]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4013dd
mov eax, dword [0x49f430]
mov byte [eax + 0xc0], 1
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push edx
mov dword [eax + 0xbc], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x49f430]
mov byte [ecx + 0xc0], 0
jmp 0x4013dd
cmp ebx, 0xffffffff
jle 0x402915
mov dword [0x4a5280], 0
mov dword [0x4a5284], 0
mov dword [0x4a5290], eax
cmp byte [esp + 0x18], 0
mov dword [0x4a5294], eax
je 0x402928
mov byte [0x4a2d88], 0
cmp byte [esp + 0x1a], 0
je 0x401c25
dec dword [0x4a2d98]
test ebx, ebx
jle 0x401c25
cmp dword [0x4a2d98], 0
jne 0x401c25
cmp dword [0x4a5240], 0
jne 0x401c25
cmp dword [0x4a452c], 0
jne 0x401c25
cmp byte [0x4a2d82], 0
je 0x401c25
mov edx, dword [0x4a2c30]
push 9
push edx
jmp 0x401c14