Function at 0x40d480
Capabilities:
Create thread
Find taskbar
Initialize iwebbrowser2
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bcf5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3c9c
call fcn.00462c30
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c34], eax
mov dword [ebp - 0x3c88], 1
call fcn.0040cf70
test al, al
jne 0x40d546
xor eax, eax
push 0x39c6
push eax
mov word [ebp - 0x3ae0], ax
lea eax, [ebp - 0x3ade]
push eax
call fcn.00462e00
add esp, 0xc
xor edi, edi
xor esi, esi
xor edx, edx
lea esp, [esp]
test edi, edi
je 0x40d528
test edx, edx
je 0x40d528
lea eax, [esi + edx]
lea ecx, [ebp - 0x3ae0]
lea ecx, [ecx + eax*2]
lea eax, [esi + edx]
mov ax, word [ebp + eax*2 - 0x3b8c]
inc ax
add ax, word [ecx - 2]
mov word [ecx], ax
inc edx
cmp edx, 0x56
jl 0x40d500
add esi, 0x56
inc edi
cmp esi, 0x1ce4
jl 0x40d4f7
movsx eax, word [ebp - 0x11a]
mov dword [0x4af2c0], eax
lea eax, [ebp - 0x3c1c]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.00452c50
add esp, 8
mov eax, dword [ebp - 0x3c1c]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x40d595
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d58b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x40e8b0
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x3c28], ebx
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
mov byte [ebp - 4], 2
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x3c20], edi
xor esi, esi
mov dword [ebp - 0x3c84], 0
mov dword [ebp - 0x3c80], 0
mov dword [ebp - 0x3c6c], 0
mov dword [ebp - 0x3c58], 0
mov dword [ebp - 0x3c50], 0
mov dword [ebp - 0x3c54], 0
mov dword [ebp - 0x3c8c], esi
push esi
lea ecx, [ebp - 0x3c4c]
mov byte [ebp - 4], 4
mov byte [ebp - 0x3c15], 1
call fcn.0042daf0
lea ecx, [ebp - 0x3b50]
mov byte [ebp - 4], 5
call fcn.00429a00
lea eax, [ebp - 0x3c7c]
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x3c34]
cmp dword [eax + 0x28], esi
jne 0x40d7d5
cmp dword [ebp - 0x3ae8], 0x10
jb 0x40d666
push dword [ebp - 0x3afc]
call fcn.00460a34
add esp, 4
cmp dword [ebp - 0x3b14], 0x10
mov dword [ebp - 0x3ae8], 0xf
mov dword [ebp - 0x3aec], 0
mov byte [ebp - 0x3afc], 0
jb 0x40d698
push dword [ebp - 0x3b28]
call fcn.00460a34
add esp, 4
lea ecx, [ebp - 0x3b3c]
mov dword [ebp - 0x3b14], 0xf
mov dword [ebp - 0x3b18], 0
mov byte [ebp - 0x3b28], 0
call fcn.00408c90
push dword [ebp - 0x3b3c]
call fcn.00460a34
mov eax, dword [ebp - 0x3b40]
add esp, 4
mov dword [ebp - 0x3b3c], 0
test eax, eax
je 0x40d6ff
mov ecx, dword [ebp - 0x3b44]
dec eax
mov edx, 0
cmove ecx, edx
mov dword [ebp - 0x3b40], eax
mov dword [ebp - 0x3b44], ecx
test eax, eax
jne 0x40d6e6
mov esi, dword [ebp - 0x3b48]
mov eax, dword [ebp - 0x3b4c]
test esi, esi
je 0x40d72c
nop
mov ecx, dword [eax + esi*4 - 4]
dec esi
test ecx, ecx
je 0x40d728
push ecx
call fcn.00460a34
mov eax, dword [ebp - 0x3b4c]
add esp, 4
test esi, esi
jne 0x40d710
test eax, eax
je 0x40d739
push eax
call fcn.00460a34
add esp, 4
push dword [ebp - 0x3b50]
mov dword [ebp - 0x3b48], 0
mov dword [ebp - 0x3b4c], 0
call fcn.00460a34
add esp, 4
mov dword [ebp - 0x3b50], 0
lea ecx, [ebp - 0x3c4c]
mov byte [ebp - 4], 4
call fcn.0042dd80
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
add edi, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40d79c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov ecx, esi
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d7b9
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c1c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jmp 0x40d581
lea eax, [ebp - 0x3c1c]
push eax
lea eax, [ebp - 0x3b68]
push eax
call fcn.00452ec0
add esp, 8
push 1
lea ecx, [ebp - 0x3c4c]
push ecx
push eax
lea ecx, [ebp - 0x3b50]
mov byte [ebp - 4], 7
call fcn.0042be30
cmp dword [ebp - 0x3b54], 0x10
mov byte [ebp - 0x3c29], al
mov byte [ebp - 4], 6
jb 0x40d82b
push dword [ebp - 0x3b68]
call fcn.00460a34
mov al, byte [ebp - 0x3c29]
add esp, 4
test al, al
jne 0x40d83f
lea ecx, [ebp - 0x3b50]
call fcn.00402870
jmp 0x40d765
push 0x49160c
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042f1e0
test al, al
jne 0x40d86a
lea ecx, [ebp - 0x3b50]
call fcn.00402870
jmp 0x40d765
push 0x49160c
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042ea50
mov edx, eax
test edx, edx
jne 0x40d88b
xor ecx, ecx
jmp 0x40d899
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d890
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x3c28]
call fcn.00408620
mov ebx, dword [ebp - 0x3c28]
cmp dword [ebx - 0xc], 0
jne 0x40d8c2
lea ecx, [ebp - 0x3b50]
call fcn.00402870
jmp 0x40d765
push ecx
lea eax, [ebx - 0x10]
mov dword [ebp - 0x3c5c], esp
push eax
mov dword [ebp - 0x3c38], eax
call fcn.00403ee0
mov ecx, dword [ebp - 0x3c5c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00452960
add esp, 4
mov dword [ebp - 0x3c5c], eax
test eax, eax
je 0x40d922
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x3c5c]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x3c8c], esi
test esi, esi
jne 0x40d922
push 0x8007000e
call fcn.00403930
push str.where
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042f1e0
test al, al
jne 0x40d9a2
lea ecx, [ebp - 0x3b50]
call fcn.00402870
lea ecx, [ebp - 0x3c4c]
mov byte [ebp - 4], 4
call fcn.0042dd80
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
add edi, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40d97e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c38]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d7b9
mov ecx, dword [edx]
push edx
jmp 0x40d7b4
push str.where
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042ea50
mov edx, eax
test edx, edx
jne 0x40d9c3
xor ecx, ecx
jmp 0x40d9d1
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d9c8
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x3c20]
call fcn.00408620
cmp dword [ebx - 0xc], 0
jne 0x40da33
lea ecx, [ebp - 0x3b50]
call fcn.00402870
lea ecx, [ebp - 0x3c4c]
mov byte [ebp - 4], 4
call fcn.0042dd80
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x3c20]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40da2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
jmp 0x40d984
mov edi, dword [ebp - 0x3c20]
push str.window
push edi
call fcn.0046236e
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40da83
push 0x4916f0
push edi
call fcn.0046236e
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40da83
lea eax, [ebp - 0x3c20]
push str.popup
push eax
call fcn.00402c00
add esp, 8
test al, al
je 0x40dd8a
push str.focus
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042f130
test al, al
jne 0x40daeb
lea ecx, [ebp - 0x3b50]
call fcn.00402870
lea ecx, [ebp - 0x3c4c]
mov byte [ebp - 4], 4
call fcn.0042dd80
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
add edi, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40da2b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
jmp 0x40d984
push str.focus
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042e620
mov bl, al
push str.window
push edi
mov byte [ebp - 0x3c15], bl
call fcn.0046236e
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40db3d
lea eax, [ebp - 0x3c20]
push str.popup
push eax
call fcn.00402c00
add esp, 8
test al, al
je 0x40dd90
push str.width
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042f1a0
test al, al
je 0x40e85b
push str.width
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042e750
push str.height
lea ecx, [ebp - 0x3c4c]
mov dword [ebp - 0x3c84], eax
call fcn.0042e010
mov ecx, eax
call fcn.0042f1a0
test al, al
je 0x40e85b
push str.height
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042e750
push str.left
lea ecx, [ebp - 0x3c4c]
mov dword [ebp - 0x3c80], eax
call fcn.0042e010
mov ecx, eax
call fcn.0042f1a0
test al, al
je 0x40e85b
push str.left
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042e750
mov ebx, dword [0x4af2c0]
mov dword [ebp - 0x3c58], eax
lea eax, [ebx + 1]
imul eax, ebx
cdq
mov ecx, 6
idiv ecx
cmp edx, 5
jne 0x40dc4a
mov eax, 0x51eb851f
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ebx, eax
add ebx, 0x141
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004601e0
add esp, 4
push eax
call fcn.0046208f
add esp, 4
push 0x49171c
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042f1a0
test al, al
je 0x40e85b
push 0x49171c
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042e750
mov bl, byte [ebp - 0x3c15]
mov dword [ebp - 0x3c6c], eax
test bl, bl
jne 0x40dd90
push str.focusTimer
lea ecx, [ebp - 0x3c4c]
call fcn.0042f180
test al, al
je 0x40dd10
push str.focusTimer
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042f1a0
test al, al
je 0x40e85b
push str.focusTimer
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042e750
mov ecx, dword [0x4af2c0]
mov dword [ebp - 0x3c50], eax
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 8
jne 0x40dd03
dec dword [0x4af464]
cmp dword [ebp - 0x3c50], 0
jne 0x40dd90
push str.focusDelay
lea ecx, [ebp - 0x3c4c]
call fcn.0042f180
test al, al
je 0x40dd90
push str.focusDelay
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042f1a0
test al, al
je 0x40e85b
push str.focusDelay
lea ecx, [ebp - 0x3c4c]
call fcn.0042e010
mov ecx, eax
call fcn.0042e750
mov dword [ebp - 0x3c54], eax
call fcn.0040ceb0
test al, al
jne 0x40dd90
push 4
call fcn.00460a63
add esp, 4
mov ebx, eax
call fcn.00461e71
mov dword [ebx], eax
push ebx
mov dword [0x4af2c0], eax
call fcn.00460a34
add esp, 4
mov bl, byte [ebp - 0x3c15]
lea eax, [ebp - 0x3c20]
push str.window
push eax
call fcn.00402c00
add esp, 8
test al, al
jne 0x40df44
lea eax, [ebp - 0x3c20]
push str.popup
push eax
call fcn.00402c00
add esp, 8
test al, al
jne 0x40df44
lea eax, [ebp - 0x3c20]
push str.current
push eax
call fcn.00402c00
add esp, 8
test al, al
je 0x40de25
push esi
lea ecx, [ebp - 0x3b60]
call fcn.00402370
mov eax, dword [ebp - 0x3c34]
lea edx, [ebp - 0x3c7c]
mov eax, dword [eax + 0x28]
push edx
mov ecx, dword [eax]
push edx
push edx
push edx
lea edx, [ebp - 0x3b60]
push edx
push eax
mov byte [ebp - 4], 0xc
call dword [ecx + 0xd0]
lea eax, [ebp - 0x3b60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40e7e4
lea eax, [ebp - 0x3c20]
push 0x4916f0
push eax
call fcn.00402c00
add esp, 8
test al, al
je 0x40e7e4
push esi
lea ecx, [ebp - 0x3b60]
call fcn.00402370
mov eax, 0x16
test bl, bl
je 0x40decd
mov word [ebp - 0x3c9c], ax
mov dword [ebp - 0x3c94], 0x800
push 3
push 0
lea eax, [ebp - 0x3c9c]
push eax
push eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jns 0x40de87
push eax
call fcn.0045fca0
mov eax, dword [ebp - 0x3c34]
lea edx, [ebp - 0x3c7c]
mov eax, dword [eax + 0x28]
push edx
mov ecx, dword [eax]
push edx
push edx
lea edx, [ebp - 0x3c9c]
push edx
lea edx, [ebp - 0x3b60]
push edx
push eax
call dword [ecx + 0xd0]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x3c9c]
push eax
call edi
lea eax, [ebp - 0x3b60]
push eax
call edi
jmp 0x40e7e4
mov word [ebp - 0x3cac], ax
mov dword [ebp - 0x3ca4], 0x1000
push 3
push 0
lea eax, [ebp - 0x3cac]
push eax
push eax
mov byte [ebp - 4], 0xf
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jns 0x40defe
push eax
call fcn.0045fca0
mov eax, dword [ebp - 0x3c34]
lea edx, [ebp - 0x3c7c]
mov eax, dword [eax + 0x28]
push edx
mov ecx, dword [eax]
push edx
push edx
lea edx, [ebp - 0x3cac]
push edx
lea edx, [ebp - 0x3b60]
push edx
push eax
call dword [ecx + 0xd0]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x3cac]
push eax
call edi
lea eax, [ebp - 0x3b60]
push eax
call edi
jmp 0x40e7e4
call fcn.00455fd0
xor ebx, ebx
mov dword [ebp - 0x3c5c], eax
cmp byte [ebp - 0x3c15], bl
jne 0x40df6d
cmp dword [ebp - 0x3c50], ebx
jg 0x40df6d
cmp dword [ebp - 0x3c54], ebx
jle 0x40e032
call fcn.0040d140
test al, al
jne 0x40dfad
mov ecx, dword [0x4af2c0]
xor ebx, ebx
mov eax, ecx
mov dword [ebp - 0x3c60], ecx
add ecx, ebx
cdq
idiv ecx
mov eax, dword [ebp - 0x3c60]
mov ecx, dword [0x4af2c0]
inc ebx
dec eax
mov dword [ebp - 0x3c60], eax
mov dword [ebp + ebx*4 - 0x3be8], edx
cmp ebx, 0x1f
jb 0x40df86
xor ebx, ebx
mov eax, dword [ebp - 0x3c5c]
test eax, eax
je 0x40e032
lea ecx, [ebp - 0x3c3c]
push ecx
push 0x3e8
push 0
push 0
push 0
push 0x40b
push eax
mov dword [ebp - 0x3c3c], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
mov ecx, dword [ebp - 0x3c34]
test eax, eax
mov eax, dword [ecx]
cmovne ebx, dword [ebp - 0x3c3c]
push ecx
call dword [eax + 0xd0]
call fcn.00455fd0
test eax, eax
je 0x40e012
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x3c3c], eax
mov eax, dword [0x4af2c0]
imul eax, eax
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 0xa
jne 0x40e032
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4af2c0], eax
mov byte [ebp - 0x3c65], 0
mov byte [ebp - 0x3c29], 0
test ebx, ebx
jne 0x40e04c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x40e064
push eax
mov ebx, eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x40e057
push 0x103
lea eax, [ebp - 0x117]
push 0
push eax
mov byte [ebp - 0x118], 0
call fcn.00462e00
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x40d93d
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x3c30]
call fcn.00401b30
push str.IEFrame
push dword [ebp - 0x3c30]
call fcn.0046236e
movzx ecx, byte [ebp - 0x3c65]
add esp, 8
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [ebp - 0x3c64], ecx
mov dword [ebp - 0x3c24], 0
lea eax, [ebp - 0x3c24]
push eax
push 0x493080
push 4
push 0
push 0x494a1c
mov byte [ebp - 4], 9
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, eax
mov eax, dword [ebp - 0x3c24]
test eax, eax
je 0x40e844
test ecx, ecx
js 0x40e842
mov ecx, dword [eax]
lea edx, [ebp - 0x3c7c]
push edx
push edx
push edx
push edx
push esi
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x40e82d
lea eax, [ebp - 0x3c20]
push str.popup
push eax
call fcn.00402c00
mov edi, dword [ebp - 0x3c34]
mov bl, al
add esp, 8
test bl, bl
je 0x40e15c
xor edx, edx
mov dword [ebp - 0x3c38], edx
jmp 0x40e17d
mov eax, dword [edi + 0x28]
lea edx, [ebp - 0x3c38]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xa8]
test eax, eax
js 0x40e83c
mov edx, dword [ebp - 0x3c38]
mov eax, dword [ebp - 0x3c24]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
test bl, bl
je 0x40e19b
xor edx, edx
mov dword [ebp - 0x3c38], edx
jmp 0x40e209
mov eax, dword [edi + 0x28]
lea edx, [ebp - 0x3c38]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10c]
mov ecx, dword [0x4af2c0]
mov dword [ebp - 0x3c60], eax
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 5
idiv ecx
cmp edx, 4
jne 0x40e1f6
mov edi, 1
mov eax, edi
mov edx, 0xee
lea esp, [esp]
dec edx
lea ecx, [eax + edi]
lea edi, [eax]
mov eax, ecx
jns 0x40e1e0
mov edi, dword [ebp - 0x3c34]
mov dword [0x4af2c0], ecx
cmp dword [ebp - 0x3c60], 0
jl 0x40e83c
mov edx, dword [ebp - 0x3c38]
mov eax, dword [ebp - 0x3c24]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x110]
test bl, bl
je 0x40e227
xor edx, edx
mov dword [ebp - 0x3c38], edx
jmp 0x40e248
mov eax, dword [edi + 0x28]
lea edx, [ebp - 0x3c38]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc0]
test eax, eax
js 0x40e83c
mov edx, dword [ebp - 0x3c38]
mov eax, dword [ebp - 0x3c24]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc4]
test bl, bl
je 0x40e267
or edx, 0xffffffff
mov dword [ebp - 0x3c38], edx
jmp 0x40e297
call fcn.0040d060
test al, al
jne 0x40e276
inc dword [0x4af2c0]
mov eax, dword [edi + 0x28]
lea edx, [ebp - 0x3c38]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x114]
test eax, eax
js 0x40e83c
mov edx, dword [ebp - 0x3c38]
mov eax, dword [ebp - 0x3c24]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x118]
test bl, bl
je 0x40e2b7
mov dword [ebp - 0x3c5c], 0
jmp 0x40e315
mov eax, dword [edi + 0x28]
lea edx, [ebp - 0x3c5c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb8]
mov ecx, dword [0x4af2c0]
mov edx, ecx
imul edx, ecx
imul edx, ecx
mov edi, eax
and edx, 0x8000000f
jns 0x40e2e7
dec edx
or edx, 0xfffffff0
inc edx
cmp edx, 2
jne 0x40e2f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4af2c0], eax
test edi, edi
js 0x40e83c
call fcn.0040ce30
test al, al
jne 0x40e315
lea eax, [ebp - 0x3c14]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x3c24]
push dword [ebp - 0x3c5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
mov eax, dword [ebp - 0x3c24]
push dword [ebp - 0x3c80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x3c24]
push dword [ebp - 0x3c84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x3c24]
push dword [ebp - 0x3c6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x3c24]
push dword [ebp - 0x3c58]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x3c24]
push 0xffffffffffffffff
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
cmp byte [ebp - 0x3c15], 0
mov edi, dword [ebp - 0x3c50]
jne 0x40e44b
test edi, edi
jg 0x40e44b
cmp dword [ebp - 0x3c54], 0
jg 0x40e44b
mov eax, dword [ebp - 0x3c34]
lea edx, [ebp - 0x3c58]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x3c58], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
js 0x40e83c
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c54], eax
push dword [ebp - 0x3c58]
lea eax, [ebp - 0x3c54]
push str._windowswitch_d
push eax
mov byte [ebp - 4], 0xb
call fcn.00404500
mov eax, dword [ebp - 0x3c54]
add esp, 0xc
add eax, 0xfffffff0
push ecx
mov edi, esp
push eax
call fcn.00403ee0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00457240
add esp, 4
call fcn.0040ceb0
test al, al
jne 0x40e43b
inc dword [0x4af2c0]
lea ecx, [ebp - 0x3c54]
call fcn.00402850
jmp 0x40e7c5
mov eax, dword [ebp - 0x3c24]
lea edx, [ebp - 0x3c3c]
mov dword [ebp - 0x3c3c], 0
mov dword [ebp - 0x3c60], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
js 0x40e83c
mov ebx, dword [ebp - 0x3c34]
lea edx, [ebp - 0x3c60]
mov eax, dword [ebx + 0x28]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
test eax, eax
js 0x40e83c
cmp byte [ebp - 0x3c15], 0
jne 0x40e64b
test edi, edi
jg 0x40e64b
cmp dword [ebp - 0x3c54], 0
jle 0x40e7c5
mov eax, dword [ebx + 0x28]
lea edx, [ebp - 0x3c34]
mov dword [ebp - 0x3c34], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
mov dword [ebp - 0x3c58], eax
call fcn.0040ce30
test al, al
jne 0x40e526
push 0x28
call fcn.004601e0
add esp, 4
mov ebx, eax
xor edi, edi
lea ebx, [ebx]
call fcn.00461e71
add eax, dword [0x4af2c0]
inc edi
mov dword [ebx + edi*4 - 4], eax
cmp edi, 0xa
jl 0x40e500
mov eax, dword [ebx + 0x24]
push ebx
mov dword [0x4af2c0], eax
call fcn.0046208f
add esp, 4
cmp dword [ebp - 0x3c58], 0
jl 0x40e83c
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c50], eax
push dword [ebp - 0x3c34]
lea eax, [ebp - 0x3c50]
push str._windowswitch_d
push eax
mov byte [ebp - 4], 0xa
call fcn.00404500
mov eax, dword [ebp - 0x3c50]
add esp, 0xc
add eax, 0xfffffff0
push ecx
mov edi, esp
push eax
call fcn.00403ee0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00457240
add esp, 4
push 0x14
call fcn.00460a63
add esp, 4
test eax, eax
je 0x40e5a2
mov ecx, eax
call fcn.004021e0
mov edi, eax
jmp 0x40e5a4
xor edi, edi
mov eax, dword [ebp - 0x3c3c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x3c34]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c54]
mov dword [edi + 0xc], eax
mov eax, dword [0x4af2c0]
imul eax, eax
cdq
mov ecx, 0x12
idiv ecx
cmp edx, 5
jne 0x40e5f5
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x4af2c0]
mov edx, 7
test eax, eax
cmove ecx, edx
mov dword [0x4af2c0], ecx
lea eax, [ebp - 0x3c6c]
push eax
push 0
push edi
push 0x40eee0
push 0
mov byte [edi + 8], 0
mov byte [edi + 0x10], 1
push 0
mov dword [ebp - 0x3c6c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40e634
lea ecx, [ebp - 0x3c50]
call fcn.00402850
jmp 0x40e83c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x3c50]
call fcn.00402850
jmp 0x40e7c5
push 0x43
push 0
push 0
push 0
push 0
push dword [ebp - 0x3c3c]
push dword [ebp - 0x3c60]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [ebp - 0x3c64], 0
je 0x40e73f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp - 0x3c3c]
mov ebx, eax
mov byte [ebp - 0x3c29], 1
cmp ebx, edi
je 0x40e745
call fcn.0040ceb0
test al, al
jne 0x40e6a0
dec dword [0x4af488]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x40e73f
call fcn.0040ce60
test al, al
jne 0x40e6ce
call fcn.00461e71
mov ecx, dword [0x4af2c0]
cmp ecx, eax
jne 0x40e6ce
dec ecx
mov dword [0x4af2c0], ecx
test ebx, ebx
jne 0x40e6e0
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebx, eax
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x3c64]
push eax
push ebx
mov dword [ebp - 0x3c64], 0
mov dword [ebp - 0x3c58], 0
call edi
mov ebx, eax
lea eax, [ebp - 0x3c58]
push eax
push dword [ebp - 0x3c3c]
call edi
push 1
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [ebp - 0x3c3c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x40e82d
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 0x3c3c]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
cmp byte [ebp - 0x3c15], 0
jne 0x40e7c5
mov ebx, dword [ebp - 0x3c50]
test ebx, ebx
jle 0x40e7c5
push 0x14
call fcn.00460a63
add esp, 4
test eax, eax
je 0x40e778
mov ecx, eax
call fcn.004021e0
mov ecx, eax
jmp 0x40e77a
xor ecx, ecx
mov eax, dword [ebp - 0x3c3c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x3c60]
mov dword [ecx], eax
mov al, byte [ebp - 0x3c29]
mov byte [ecx + 8], al
lea eax, [ebp - 0x3c64]
push eax
push 0
push ecx
push 0x40eee0
push 0
mov dword [ecx + 0xc], ebx
push 0
mov dword [ebp - 0x3c64], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40e83c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c24]
mov byte [ebp - 4], 8
test eax, eax
je 0x40e7d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c30]
call fcn.00402850
lea ecx, [ebp - 0x3b50]
call fcn.00402870
lea ecx, [ebp - 0x3c4c]
mov byte [ebp - 4], 4
call fcn.0042dd80
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x3c20]
call fcn.00402850
lea ecx, [ebp - 0x3c28]
call fcn.00402850
lea ecx, [ebp - 0x3c1c]
call fcn.00402850
xor eax, eax
jmp 0x40e8b0
mov eax, dword [ebp - 0x3c24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x3c24]
test eax, eax
mov byte [ebp - 4], 8
je 0x40e850
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c30]
call fcn.00402850
lea ecx, [ebp - 0x3b50]
call fcn.00402870
lea ecx, [ebp - 0x3c4c]
mov byte [ebp - 4], 4
call fcn.0042dd80
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x3c20]
call fcn.00402850
lea ecx, [ebp - 0x3c28]
call fcn.00402850
lea ecx, [ebp - 0x3c1c]
call fcn.00402850
mov eax, 1
jmp 0x40e8b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00461234
mov esp, ebp
pop ebp
ret 8