Function at 0x40a0d2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4325fc
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x204
mov eax, dword [0x43c2d0]
xor eax, ebp
mov dword [ebp - 0x14c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 0x20], 0
call fcn.00404fc0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0xd0]
call fcn.00409b30
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
sub edx, 0x66
mov dword [ebp - 0x158], edx
cmp dword [ebp - 0x158], 0xab
ja case.0x40a0cb.1
mov eax, dword [ebp - 0x158]
movzx ecx, byte [eax + 0x40b24c]
jmp dword [ecx*4 + 0x40b214]
lea edx, [ebp - 0xd0]
test edx, edx
je 0x40a0ed
lea eax, [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0x15c], eax
jmp 0x40a0f7
mov dword [ebp - 0x15c], 0
push str.BeforeNavigate2:
mov ecx, dword [ebp - 0x15c]
push ecx
call fcn.0040d9a0
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 8], 5
jb 0x40a21f
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
movzx edx, word [ecx + 0x50]
cmp edx, 0x400c
jne 0x40a21f
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
push edx
lea ecx, [ebp - 0xe8]
call fcn.00408f20
mov byte [ebp - 4], 2
push 0
push 8
lea ecx, [ebp - 0xe8]
call fcn.00408f70
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40a16f
mov dword [ebp - 0x160], 0
jmp 0x40a1d3
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x40a194
mov dword [ebp - 0x164], 0
jmp 0x40a1c7
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0042afd0
mov dword [ebp - 0x168], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call fcn.00408be0
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40a1ee
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x16c], edx
jmp 0x40a1f8
mov dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.0040d9a0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call fcn.00408f00
jmp 0x40a258
lea edx, [ebp - 0xd0]
test edx, edx
je 0x40a23a
lea eax, [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0x170], eax
jmp 0x40a244
mov dword [ebp - 0x170], 0
push 0x4362a8
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.0040d9a0
add esp, 8
push 0x40fc40
lea ecx, [ebp - 0xc8]
call fcn.0040b300
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0xa4]
call ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x58]
call ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x68]
call ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x70]
call ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x60]
call ecx
mov dword [ebp - 0xec], 0
lea edx, [ebp - 0xec]
push edx
push str.D_3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx]
call edx
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jl 0x40a351
cmp dword [ebp - 0xec], 0
je 0x40a351
push 0x1388
push 0x1388
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ecx + 0x120]
call eax
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x40a36e
cmp dword [ebp - 0xec], 0
je 0x40a36e
mov edx, dword [ebp - 0xec]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0xf8], 0
lea eax, [ebp - 0xf8]
push eax
push 0x4333fc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov edx, dword [edx]
push ecx
mov eax, dword [edx]
call eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jl 0x40a447
cmp dword [ebp - 0xf8], 0
je 0x40a447
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [eax + 0xc]
call edx
push 0
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x104], eax
push 0
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x104], eax
push 0
mov ecx, dword [ebp - 0x104]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [ebp - 0x104], eax
push 0
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0xf0], 0
lea ecx, [ebp - 0xf0]
push ecx
push 0x43343c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
push edx
mov ecx, dword [eax]
call ecx
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jl 0x40a4b2
cmp dword [ebp - 0xf0], 0
je 0x40a4b2
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ecx + 0xc]
call eax
push 0
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0xf4], 0
lea edx, [ebp - 0xf4]
push edx
push 0x43344c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx]
call edx
test eax, eax
jl 0x40a576
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
push 0x4333fc
push 0x43339c
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [edx + 0xc]
call ecx
test eax, eax
jl 0x40a562
mov dword [ebp - 0x110], 0
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x40a54e
push 0
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x40b1c3
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40a596
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x174], edx
jmp 0x40a5a0
mov dword [ebp - 0x174], 0
push str.CommandStateChange:
mov eax, dword [ebp - 0x174]
push eax
call fcn.0040d9a0
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 8], 0
jne 0x40a5fb
lea edx, [ebp - 0xd0]
test edx, edx
je 0x40a5d8
lea eax, [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0x178], eax
jmp 0x40a5e2
mov dword [ebp - 0x178], 0
push 0x4362c8
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.0040d9a0
add esp, 8
jmp 0x40a6d5
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 8], 1
jbe 0x40a65b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
movzx edx, word [ecx + 0x10]
cmp edx, 3
jne 0x40a65b
lea eax, [ebp - 0xd0]
test eax, eax
je 0x40a62d
lea ecx, [ebp - 0xd0]
add ecx, 8
mov dword [ebp - 0x17c], ecx
jmp 0x40a637
mov dword [ebp - 0x17c], 0
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
push ecx
push str.Command_
mov edx, dword [ebp - 0x17c]
push edx
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b320
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
movzx edx, word [ecx]
cmp edx, 0xb
jne 0x40a6d5
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
movsx edx, word [ecx + 8]
cmp edx, 0xffffffff
jne 0x40a682
mov dword [ebp - 0x180], str.True
jmp 0x40a68c
mov dword [ebp - 0x180], str.False
lea eax, [ebp - 0xd0]
test eax, eax
je 0x40a6a7
lea ecx, [ebp - 0xd0]
add ecx, 8
mov dword [ebp - 0x184], ecx
jmp 0x40a6b1
mov dword [ebp - 0x184], 0
mov edx, dword [ebp - 0x180]
push edx
push str.__Enabled_
mov eax, dword [ebp - 0x184]
push eax
call fcn.0040d9a0
add esp, 8
push eax
call fcn.0040d9a0
add esp, 8
push 0x40fc40
lea ecx, [ebp - 0xc8]
call fcn.0040b300
jmp 0x40b1c3
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0xa4]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00409e50
add esp, 4
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x58]
call edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x68]
call edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x70]
call edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x60]
call edx
lea eax, [ebp - 0xd0]
test eax, eax
je 0x40a785
lea ecx, [ebp - 0xd0]
add ecx, 8
mov dword [ebp - 0x188], ecx
jmp 0x40a78f
mov dword [ebp - 0x188], 0
push 0x40fc40
push str.DocumentComplete
mov edx, dword [ebp - 0x188]
push edx
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b300
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 8], 2
jne 0x40a890
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x128]
call fcn.00408f20
mov byte [ebp - 4], 3
push 0
push 8
lea ecx, [ebp - 0x128]
call fcn.00408f70
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0x114]
push ecx
push 0x43345c
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov edx, dword [eax + 0x18]
mov eax, dword [ecx]
push edx
mov ecx, dword [eax]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x40a881
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.0040dc10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x40a86d
mov edx, dword [ebp - 0x12c]
cmp edx, dword [ebp - 0x114]
jne 0x40a859
push 0
push 0
push 0x464
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ecx + 8]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.00408f00
jmp 0x40b1c3
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40a8b0
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x18c], edx
jmp 0x40a8ba
mov dword [ebp - 0x18c], 0
push 0x40fc40
push str.DownloadBegin
mov eax, dword [ebp - 0x18c]
push eax
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b300
jmp 0x40b1c3
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40a8fa
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x190], edx
jmp 0x40a904
mov dword [ebp - 0x190], 0
push 0x40fc40
push str.DownloadComplete
mov eax, dword [ebp - 0x190]
push eax
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b300
jmp 0x40b1c3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00409e50
add esp, 4
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
movzx edx, word [ecx]
cmp edx, 0x400c
jne 0x40aa56
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
lea ecx, [ebp - 0x140]
call fcn.00408f20
mov byte [ebp - 4], 4
push 0
push 8
lea ecx, [ebp - 0x140]
call fcn.00408f70
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40a98e
mov dword [ebp - 0x194], 0
jmp 0x40a9f2
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x40a9b3
mov dword [ebp - 0x198], 0
jmp 0x40a9e6
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0042afd0
mov dword [ebp - 0x19c], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x19c]
push edx
call fcn.00408be0
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x194], eax
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40aa0d
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x1a0], edx
jmp 0x40aa17
mov dword [ebp - 0x1a0], 0
push 0x40fc40
mov eax, dword [ebp - 0x194]
push eax
push str.NavigateComplete2:
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.0040d9a0
add esp, 8
push eax
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00408f00
jmp 0x40b1c3
lea edx, [ebp - 0xd0]
test edx, edx
je 0x40aa76
lea eax, [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0x1a4], eax
jmp 0x40aa80
mov dword [ebp - 0x1a4], 0
push str.ProgressChange:
mov ecx, dword [ebp - 0x1a4]
push ecx
call fcn.0040d9a0
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 8], 0
jne 0x40aadb
lea eax, [ebp - 0xd0]
test eax, eax
je 0x40aab8
lea ecx, [ebp - 0xd0]
add ecx, 8
mov dword [ebp - 0x1a8], ecx
jmp 0x40aac2
mov dword [ebp - 0x1a8], 0
push 0x43635c
mov edx, dword [ebp - 0x1a8]
push edx
call fcn.0040d9a0
add esp, 8
jmp 0x40ab91
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 8], 1
jbe 0x40ab3b
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
movzx eax, word [edx + 0x10]
cmp eax, 3
jne 0x40ab3b
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40ab0d
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x1ac], edx
jmp 0x40ab17
mov dword [ebp - 0x1ac], 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push edx
push str.Progress_
mov eax, dword [ebp - 0x1ac]
push eax
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b320
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
movzx eax, word [edx]
cmp eax, 3
jne 0x40ab91
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40ab63
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x1b0], edx
jmp 0x40ab6d
mov dword [ebp - 0x1b0], 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
push str.__ProgressMax_
mov eax, dword [ebp - 0x1b0]
push eax
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b320
push 0x40fc40
lea ecx, [ebp - 0xc8]
call fcn.0040b300
jmp 0x40b1c3
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40abc1
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x1b4], edx
jmp 0x40abcb
mov dword [ebp - 0x1b4], 0
push str.PropertyChange:
mov eax, dword [ebp - 0x1b4]
push eax
call fcn.0040d9a0
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 8], 0
jbe 0x40acbb
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
movzx ecx, word [eax]
cmp ecx, 8
jne 0x40acbb
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x40ac1a
mov dword [ebp - 0x1b8], 0
jmp 0x40ac7e
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x40ac3f
mov dword [ebp - 0x1bc], 0
jmp 0x40ac72
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0042afd0
mov dword [ebp - 0x1c0], esp
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c0]
push eax
call fcn.00408be0
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b8], ecx
lea edx, [ebp - 0xd0]
test edx, edx
je 0x40ac99
lea eax, [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0x1c4], eax
jmp 0x40aca3
mov dword [ebp - 0x1c4], 0
mov ecx, dword [ebp - 0x1b8]
push ecx
mov edx, dword [ebp - 0x1c4]
push edx
call fcn.0040d9a0
add esp, 8
jmp 0x40acf4
lea eax, [ebp - 0xd0]
test eax, eax
je 0x40acd6
lea ecx, [ebp - 0xd0]
add ecx, 8
mov dword [ebp - 0x1c8], ecx
jmp 0x40ace0
mov dword [ebp - 0x1c8], 0
push 0x436398
mov edx, dword [ebp - 0x1c8]
push edx
call fcn.0040d9a0
add esp, 8
push 0x40fc40
lea ecx, [ebp - 0xc8]
call fcn.0040b300
jmp 0x40b1c3
lea eax, [ebp - 0xd0]
test eax, eax
je 0x40ad24
lea ecx, [ebp - 0xd0]
add ecx, 8
mov dword [ebp - 0x1cc], ecx
jmp 0x40ad2e
mov dword [ebp - 0x1cc], 0
push str.StatusTextChange:
mov edx, dword [ebp - 0x1cc]
push edx
call fcn.0040d9a0
add esp, 8
push 0x40fc40
lea ecx, [ebp - 0xc8]
call fcn.0040b300
jmp 0x40b1c3
lea eax, [ebp - 0xd0]
test eax, eax
je 0x40ad72
lea ecx, [ebp - 0xd0]
add ecx, 8
mov dword [ebp - 0x1d0], ecx
jmp 0x40ad7c
mov dword [ebp - 0x1d0], 0
push 0x40fc40
push str.NewWindow2
mov edx, dword [ebp - 0x1d0]
push edx
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b300
jmp 0x40b1c3
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 8], 0
jbe 0x40ae7d
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
movzx eax, word [edx]
cmp eax, 8
jne 0x40ae7d
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40addc
mov dword [ebp - 0x1d4], 0
jmp 0x40ae40
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x40ae01
mov dword [ebp - 0x1d8], 0
jmp 0x40ae34
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0042afd0
mov dword [ebp - 0x1dc], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1dc]
push edx
call fcn.00408be0
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1d4], eax
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40ae5b
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x1e0], edx
jmp 0x40ae65
mov dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp - 0x1e0]
push ecx
call fcn.0040d9a0
add esp, 8
jmp 0x40aeb6
lea edx, [ebp - 0xd0]
test edx, edx
je 0x40ae98
lea eax, [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0x1e4], eax
jmp 0x40aea2
mov dword [ebp - 0x1e4], 0
push 0x4363c0
mov ecx, dword [ebp - 0x1e4]
push ecx
call fcn.0040d9a0
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 8], 0
jbe 0x40aee0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
movzx edx, word [ecx + 0x30]
cmp edx, 0x400b
jne 0x40aee0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
or eax, 0xffffffff
mov word [edx], ax
jmp 0x40af19
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40aefb
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x1e8], edx
jmp 0x40af05
mov dword [ebp - 0x1e8], 0
push 0x4363c8
mov eax, dword [ebp - 0x1e8]
push eax
call fcn.0040d9a0
add esp, 8
push 0x400
call fcn.0041cac6
add esp, 4
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x144], ecx
cmp dword [ebp - 0x144], 0
je 0x40aff6
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
call fcn.0042d2c0
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x1ec], edx
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1ec]
mov al, byte [edx]
mov byte [ebp - 0x1f5], al
mov ecx, dword [ebp - 0x1f0]
mov dl, byte [ebp - 0x1f5]
mov byte [ecx], dl
mov eax, dword [ebp - 0x1ec]
add eax, 1
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1f0]
add ecx, 1
mov dword [ebp - 0x1f0], ecx
cmp byte [ebp - 0x1f5], 0
jne 0x40af7d
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x154]
push eax
call fcn.0041dc4a
add esp, 4
push 0
mov ecx, dword [ebp - 0x144]
push ecx
push 0x469
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x40b1c3
lea ecx, [ebp - 0xd0]
test ecx, ecx
je 0x40b016
lea edx, [ebp - 0xd0]
add edx, 8
mov dword [ebp - 0x1fc], edx
jmp 0x40b020
mov dword [ebp - 0x1fc], 0
push str.TitleChange:
mov eax, dword [ebp - 0x1fc]
push eax
call fcn.0040d9a0
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 8], 0
jbe 0x40b110
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
movzx ecx, word [eax]
cmp ecx, 8
jne 0x40b110
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x40b06f
mov dword [ebp - 0x200], 0
jmp 0x40b0d3
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x40b094
mov dword [ebp - 0x204], 0
jmp 0x40b0c7
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0042afd0
mov dword [ebp - 0x208], esp
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x208]
push eax
call fcn.00408be0
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
mov dword [ebp - 0x200], ecx
lea edx, [ebp - 0xd0]
test edx, edx
je 0x40b0ee
lea eax, [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0x20c], eax
jmp 0x40b0f8
mov dword [ebp - 0x20c], 0
mov ecx, dword [ebp - 0x200]
push ecx
mov edx, dword [ebp - 0x20c]
push edx
call fcn.0040d9a0
add esp, 8
jmp 0x40b149
lea eax, [ebp - 0xd0]
test eax, eax
je 0x40b12b
lea ecx, [ebp - 0xd0]
add ecx, 8
mov dword [ebp - 0x210], ecx
jmp 0x40b135
mov dword [ebp - 0x210], 0
push str.NULL
mov edx, dword [ebp - 0x210]
push edx
call fcn.0040d9a0
add esp, 8
push 0x40fc40
lea ecx, [ebp - 0xc8]
call fcn.0040b300
jmp 0x40b1c3
push 0
push 0
push 0x467
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x40b1c3
lea edx, [ebp - 0xd0]
test edx, edx
je 0x40b18e
lea eax, [ebp - 0xd0]
add eax, 8
mov dword [ebp - 0x214], eax
jmp 0x40b198
mov dword [ebp - 0x214], 0
push 0x40fc40
mov ecx, dword [ebp + 0xc]
push ecx
push str.Unknown_Event
mov edx, dword [ebp - 0x214]
push edx
call fcn.0040d9a0
add esp, 8
mov ecx, eax
call fcn.0040b320
mov ecx, eax
call fcn.0040b300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00409cb0
jmp 0x40b1e1
mov dword [ebp - 4], 0xffffffff
xor eax, eax
lea esp, [ebp - 0x224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14c]
xor ecx, ebp
call fcn.0041d3f6
mov esp, ebp
pop ebp
ret 0x24