Function at 0x45049c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push edi
push 1
mov ebx, ecx
pop edi
mov dword [ebx + 0x48], edi
push 0xd
mov dword [ebx + 0x4c], edi
call esi
push 0xe
mov dword [ebx + 0x1f4], eax
call esi
push 0xf
mov dword [ebx + 0x1f8], eax
call esi
push 8
mov dword [ebx + 0x1fc], eax
call esi
mov dword [ebx + 0x200], eax
lea eax, [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [ebp + 0xc]
and eax, ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [eax]
call fcn.004117e9
lea eax, [ebp - 0x58]
xor esi, esi
push eax
mov dword [ebp - 0x58], esi
push dword [ebx + 4]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x4bc550
lea ecx, [ebx + 0x210]
mov dword [ebx + 0x204], esi
mov dword [ebx + 0x208], esi
call fcn.00403adc
mov ecx, ebx
call fcn.0042d8eb
mov eax, dword [ebx + 0x13c]
push esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x130]
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x13c], 0xfffffffe
mov dword [ebx + 0x130], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4c6054], esi
je 0x450571
push esi
mov ecx, 0x4c6050
call fcn.00416e41
cmp dword [ebp - 4], esi
je 0x451203
lea eax, [ebx + 0x158]
lea ecx, [ebx + 0x1e0]
push eax
call fcn.0045a61e
mov edi, eax
add edi, 4
mov ecx, edi
call fcn.00403816
lea eax, [ebx + 0x1d4]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, edi
call fcn.004042a3
cmp dword [ebx + 0x3c], esi
je 0x4507ff
lea eax, [ebx + 0x158]
lea ecx, [ebx + 0x1e0]
push eax
call fcn.0045a61e
cmp dword [ebx + 0xbc], esi
mov edi, eax
mov eax, dword [ebx + 0x158]
mov dword [ebx + 0x17c], eax
jne 0x4505f2
mov ecx, ebx
call fcn.00450468
push esi
push esi
mov ecx, ebx
call fcn.00453fc4
mov dword [ebx + 0xbc], esi
cmp dword [0x4b722c], esi
je 0x45073b
cmp dword [ebx + 0x20c], esi
jne 0x45073b
cmp dword [0x4c3180], esi
je 0x450725
test byte [0x4c55e4], 1
jne 0x450646
or byte [0x4c55e4], 1
push 0x4bc550
mov ecx, 0x4c55e0
call fcn.00403927
push 0x4513ab
call fcn.0049ce21
pop ecx
cmp dword [0x4c56a0], esi
jne 0x450717
push str.AppEventsSchemesAppsExplorerNavigating_
lea ecx, [ebp - 8]
call fcn.00403927
push str..Default
lea ecx, [ebp - 0x14]
call fcn.00403927
push 0x4c55e0
push ecx
lea ecx, [ebp - 0x14]
mov eax, esp
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00403b20
call fcn.0045037b
pop ecx
mov dword [ebp - 0x20], eax
pop ecx
lea ecx, [ebp - 0x14]
call fcn.004038fb
cmp dword [ebp - 0x20], esi
jne 0x450705
push str..Modified
lea ecx, [ebp - 0x14]
call fcn.00403927
push 0x4c55e0
push ecx
lea ecx, [ebp - 0x14]
mov eax, esp
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00403b20
call fcn.0045037b
pop ecx
mov dword [ebp - 0x20], eax
pop ecx
lea ecx, [ebp - 0x14]
call fcn.004038fb
cmp dword [ebp - 0x20], esi
jne 0x450705
push str..Current
lea ecx, [ebp - 0x14]
call fcn.00403927
push 0x4c55e0
push ecx
lea ecx, [ebp - 0x14]
mov eax, esp
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00403b20
call fcn.0045037b
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 8]
mov dword [0x4c56a0], 1
call fcn.004038fb
push 0x20001
push esi
push dword [0x4c55e0]
jmp 0x450735
push 0x40005
push dword [0x4c69a4]
push 0x12d
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov eax, dword [ebx + 0x3c]
lea edx, [edi + 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [edi + 0x24]
call fcn.00401e80
mov ecx, ebx
call fcn.00451537
cmp eax, esi
je 0x4507af
push esi
push esi
push 0x1032
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4507af
cmp dword [ebx + 0x3c], esi
je 0x4507af
cmp dword [0x4c28dc], 5
ja 0x4507a4
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x1d4]
push eax
call fcn.00489a02
mov eax, dword [eax]
xor ecx, ecx
cmp dword [eax - 8], esi
sete cl
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x20]
call fcn.004038fb
cmp dword [ebp - 0x1c], esi
jne 0x4507af
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.00451571
lea ecx, [edi + 0x20]
push 0x800
mov dword [ebp - 0x20], ecx
call fcn.00403c58
push 0x800
push eax
push dword [ebx + 0xc4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx + 0x15c]
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x160]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x164]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x168]
push 0xffffffffffffffff
mov dword [edi + 0x1c], eax
call fcn.00403cd2
mov ecx, ebx
call fcn.004515ba
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
cmp eax, esi
mov dword [ebp - 0x3c], 5
je 0x45082b
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [ebx + 0x3c], esi
je 0x450847
cmp dword [0x4b7230], esi
je 0x450847
cmp dword [ebx + 0xd4], esi
jne 0x450847
mov ecx, ebx
call fcn.00450468
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x40]
mov dword [ebx + 0xd4], esi
push edx
mov ecx, dword [eax]
push 0x4ab1f8
push eax
call dword [ecx]
mov eax, dword [ebx + 0x1c0]
lea edi, [ebx + 0x1c0]
cmp eax, esi
je 0x450876
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
push dword [ebp - 4]
mov ecx, edi
call fcn.00415817
mov ecx, dword [ebp - 4]
lea eax, [ebx + 0x178]
push eax
push 0x4ab2e8
push dword [ebx + 4]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x20]
test eax, eax
jge 0x450931
mov eax, dword [ebx + 0x1bc]
cmp eax, esi
je 0x4508b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 0x1bc], esi
push dword [ebx + 0x1d0]
lea ecx, [ebx + 0x1bc]
call fcn.00415817
mov eax, dword [edi]
cmp eax, esi
je 0x4508d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
push dword [ebx + 0x1d0]
mov ecx, edi
call fcn.00415817
lea edi, [ebx + 0x1cc]
mov ecx, edi
call fcn.00403816
lea eax, [ebx + 0x1d4]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, edi
call fcn.004042a3
push 0x105
push esi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x451203
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], esi
jmp 0x451203
mov ecx, dword [ebx + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [ecx + 4]
mov eax, dword [ebx + 0x184]
cmp eax, esi
je 0x450952
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
jmp 0x450963
mov eax, dword [ebx + 0x3c]
cmp eax, esi
je 0x450963
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [ebx + 0x188], esi
lea eax, [ebx + 0x188]
je 0x450985
mov ecx, dword [ebx + 0x18c]
mov dword [eax], esi
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebx + 0x190]
mov dword [ebp - 0x3c], ecx
push esi
lea eax, [ebp - 0x3c]
push 0x51fbd5a0
push eax
call fcn.0044bfc4
mov edi, 0x80000
add esp, 0xc
test dword [ebp - 0x3c], edi
je 0x4509a5
and byte [ebp - 0x3a], 0xf7
test byte [ebp - 0x3c], 0x40
je 0x4509af
and dword [ebp - 0x3c], 0xffffffbf
cmp dword [0x4b7218], esi
je 0x4509bf
push esi
push 0x1000000
jmp 0x4509c5
push 0x1000000
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.0044bfc4
add esp, 0xc
lea eax, [ebp - 0x3c]
push esi
push edi
push eax
call fcn.0044bfc4
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [0x4c28dc]
cmp eax, 5
mov dword [ebp - 0x20], esi
jne 0x450a12
push 1
pop ecx
cmp dword [0x4c28e0], ecx
jne 0x450a28
cmp dword [ebp - 0x40], eax
jne 0x450a28
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x20], ecx
cmp eax, 6
jb 0x450a28
cmp dword [0x4b7230], esi
je 0x450a28
cmp dword [ebp - 0x40], 1
jne 0x450a28
mov dword [ebp - 0x40], esi
mov eax, dword [ebx + 0x178]
lea edi, [ebx + 0x178]
mov edx, ebx
mov ecx, dword [eax]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x58]
neg edx
push eax
lea eax, [ebx + 0x20]
sbb edx, edx
and edx, eax
lea eax, [ebp - 0x40]
push edx
push eax
push dword [ebx + 0x3c]
push dword [edi]
call dword [ecx + 0x24]
test eax, eax
jge 0x450bb2
lea edi, [ebx + 0x1c8]
push ecx
push ecx
mov ecx, edi
neg ecx
lea edx, [edi + 4]
mov eax, esp
sbb ecx, ecx
mov dword [ebp + 0x10], eax
and ecx, edx
push ecx
lea ecx, [eax + 4]
call fcn.004042a3
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [eax], 0x4a9988
call fcn.0044cdb0
push str.__4_:
lea ecx, [ebp + 0x10]
call fcn.00403927
neg edi
lea eax, [ebx + 0x1cc]
sbb edi, edi
and edi, eax
mov eax, dword [edi]
lea edi, [ebx + 0x214]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0048925c
pop ecx
pop ecx
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
push 0x86
push eax
call fcn.00461337
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403b20
push eax
mov ecx, edi
call fcn.00403a8c
lea ecx, [ebp - 0x20]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp + 0x10]
call fcn.004038fb
push esi
mov ecx, edi
call fcn.00403c58
push eax
push esi
push 0x40b
push dword [ebx + 0x230]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, esp
push edi
call fcn.004038b5
mov ecx, dword [ebx + 0xdc]
call fcn.00475d80
mov eax, dword [ebx + 0x1bc]
lea edi, [ebx + 0x1bc]
cmp eax, esi
je 0x450b5c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
push dword [ebx + 0x1d0]
mov ecx, edi
call fcn.00415817
lea edi, [ebx + 0x1cc]
mov ecx, edi
call fcn.00403816
lea eax, [ebx + 0x1d4]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, edi
call fcn.004042a3
mov eax, dword [ebx + 0x178]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x13c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x130], eax
jmp 0x450908
lea ecx, [ebx + 0x20]
call fcn.0048589a
mov eax, dword [edi]
cmp dword [ebp + 0x10], esi
mov dword [ebx + 0x3c], eax
mov dword [edi], esi
mov dword [ebx + 0x48], 1
je 0x450be5
inc dword [ebx + 0x158]
lea eax, [ebx + 0x158]
mov eax, dword [ebx + 0x158]
mov dword [ebx + 0x1f0], eax
lea edi, [ebx + 0x1c8]
lea eax, [ebx + 0x1cc]
neg edi
sbb edi, edi
mov dword [ebx + 0xd8], esi
and edi, eax
mov dword [ebx + 0x2ac], esi
push esi
push 0x14
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edi
mov dword [ebp + 0x10], eax
call fcn.004899a5
mov ecx, eax
push dword [ebp + 0x10]
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [0x4bd208]
mov ecx, dword [ecx]
mov edx, dword [eax]
push ecx
push esi
push eax
call dword [edx + 0x1c]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x2c]
inc eax
mov dword [ebx + 0x2ac], eax
call fcn.004893ad
cmp dword [ebx + 0xc8], esi
je 0x450c75
push ecx
push ecx
mov eax, esp
push dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
lea ecx, [eax + 4]
call fcn.004042a3
mov eax, dword [ebp + 0x10]
push ebx
mov dword [eax], 0x4a9988
mov ecx, dword [ebx + 0xdc]
call fcn.00470047
push 0x1e413
mov dword [ebx + 0xc8], 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x4c6840], esi
je 0x450cbe
mov ecx, dword [ebx + 0xdc]
cmp dword [ecx + 0x420], esi
je 0x450cbe
cmp dword [ecx + 0x44], esi
jne 0x450cb5
push dword [0x4c3230]
push dword [edi]
call fcn.00476f04
mov eax, dword [ebx + 0xdc]
mov dword [eax + 0x44], esi
mov eax, dword [ebp - 0x18]
push esi
push 0x4b17b4
push esi
push eax
mov dword [ebx + 0x38], eax
call dword [sym.imp.USER32.dll_FindWindowExW]
push dword [ebx + 0x3c]
mov ecx, dword [ebx + 0xdc]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], esi
call fcn.0047574f
test eax, eax
je 0x450d79
mov eax, dword [0x4af550]
mov edi, 0x10c257e0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0xc]
push edi
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], esi
call fcn.0044bfc4
add esp, 0xc
test eax, eax
je 0x450d31
mov dword [ebp - 0x14], 1
push edi
lea eax, [ebp - 8]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push str.TF1:_08X_nTF2:_08X_nF:_08X_TFN:_08X
push eax
call fcn.00403d66
add esp, 0x18
cmp dword [ebp - 0x14], esi
je 0x450d71
push dword [ebx + 0x3c]
mov ecx, dword [ebx + 0xdc]
push esi
push edi
call fcn.0047579a
mov eax, dword [ebx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, ebx
call fcn.00450468
lea ecx, [ebp - 8]
call fcn.004038fb
cmp dword [0x4c683c], esi
push dword [ebx + 0x3c]
je 0x450d8d
mov eax, 0x100000
push eax
push eax
jmp 0x450d93
push esi
push 0x100000
mov ecx, dword [ebx + 0xdc]
call fcn.0047579a
push dword [ebx + 0x3c]
mov ecx, dword [ebx + 0xdc]
push esi
push 0x80000
call fcn.0047579a
cmp dword [ebx + 0x3c], esi
je 0x450f72
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffffc
push dword [ebx + 0x38]
call edi
push 0xfffffffffffffffc
mov dword [ebp - 0x14], eax
push dword [ebp + 0x10]
call edi
cmp dword [ebp - 0x14], esi
mov dword [ebp - 8], eax
je 0x450e8f
mov eax, dword [ebp - 0x14]
sub esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x38]
lea esi, [ebp - 0x34]
mov edi, esp
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, 0x4c5620
movsd dword es:[edi], dword [esi]
call fcn.0045a4e8
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x44ddf1
push 0xfffffffffffffffc
push dword [ebx + 0x38]
call esi
cmp dword [ebp - 8], 0
je 0x450e8f
push 0x44ce24
push 0xfffffffffffffffc
push dword [ebp + 0x10]
call esi
mov eax, dword [ebp - 8]
and dword [ebp - 0x2c], 0
sub esp, 0x10
lea esi, [ebp - 0x34]
mov edi, esp
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
mov ecx, 0x4c5610
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045a4e8
cmp dword [0x4c6868], 0
je 0x450e8f
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x109d
push dword [ebp + 0x10]
call esi
cmp dword [0x4c6868], edi
je 0x450e91
push edi
push edi
push 0x10a0
push dword [ebp + 0x10]
call esi
jmp 0x450e91
xor edi, edi
xor esi, esi
cmp dword [ebp - 0x1c], edi
je 0x450eb9
cmp dword [0x4b7214], edi
je 0x450eb9
push 0x24
call fcn.0049c301
cmp eax, edi
pop ecx
je 0x450eb7
mov ecx, eax
call fcn.0045124d
mov esi, eax
jmp 0x450eb9
xor esi, esi
mov eax, dword [ebx + 0x3c]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
push edx
mov ecx, dword [eax]
push 0x4aa610
push eax
call dword [ecx]
test eax, eax
jl 0x450f72
mov eax, dword [ebp - 8]
test eax, eax
je 0x450f72
test esi, esi
je 0x450f15
mov ecx, dword [ebx + 4]
mov dword [esi + 8], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0x3c]
lea edi, [esi + 0x14]
mov dword [esi + 0xc], eax
mov ecx, edi
call fcn.00403816
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004042a3
mov eax, dword [ebp - 8]
lea edx, [esi + 4]
push edx
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
push 0x40
call fcn.0049c301
test eax, eax
pop ecx
je 0x450f2c
mov ecx, eax
call fcn.00451214
mov esi, eax
jmp 0x450f2e
xor esi, esi
mov eax, dword [ebx + 4]
and dword [ebp - 8], 0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x34], ebx
mov eax, dword [ebx + 0x3c]
lea edx, [ebp - 8]
push edx
push 0x4ab458
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x450f5f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push dword [ebp + 0x10]
call dword [sym.imp.ole32.dll_RevokeDragDrop]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
lea esi, [ebx + 0x1bc]
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.004863fa
lea edi, [ebx + 0x1cc]
mov ecx, edi
call fcn.00403816
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004042a3
push esi
lea ecx, [ebx + 0x1d0]
call fcn.004863fa
lea esi, [ebx + 0x1d8]
mov ecx, esi
call fcn.00403816
lea eax, [ebx + 0x1c8]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, esi
call fcn.004042a3
xor edi, edi
mov ecx, ebx
push edi
call fcn.004516e0
cmp dword [ebp - 0x20], edi
mov esi, 0x4ab588
je 0x451016
mov eax, dword [ebx + 0x3c]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx]
test eax, eax
jl 0x451016
cmp dword [ebp - 8], edi
je 0x451016
push edi
mov ecx, ebx
call fcn.004541d7
mov eax, dword [ebp - 8]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, ebx
push eax
mov dword [ebx + 0xb0], eax
call fcn.004513b5
mov ecx, ebx
call fcn.00450483
test eax, eax
je 0x45104c
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebx + 0x150], eax
mov dword [ebx + 0x13c], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0x3c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push edx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx]
test eax, eax
jl 0x451086
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x451086
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov ecx, dword [eax]
push edx
push 2
push eax
call dword [ecx + 0x1c]
push edi
push 0x4b17b4
push edi
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, ebx
mov dword [ebx + 0x2a8], edi
call fcn.004514d5
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0xd0]
lea esi, [ebx + 0xd0]
push ecx
mov edx, dword [eax]
push eax
mov dword [ebp - 0x28], ecx
call dword [edx + 0x1c]
mov ecx, ebx
mov dword [esi], 2
mov dword [ebx + 0xcc], 1
call fcn.004519fd
mov eax, dword [0x4c28dc]
cmp eax, 0xa
jae 0x4510db
cmp eax, 6
jb 0x4510f8
cmp dword [0x4c28e0], 2
jb 0x4510f8
mov eax, dword [ebx + 0xdc]
mov ecx, dword [0x4c6820]
cmp ecx, dword [eax + 4]
jne 0x4510f8
mov eax, dword [ebx + 0x3c]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
push ecx
lea eax, [ebx + 0x1c8]
push ecx
mov ecx, eax
add eax, 4
mov esi, esp
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [esi + 4]
call fcn.004042a3
mov dword [esi], 0x4a9988
mov ecx, dword [ebx + 0xdc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebx + 0xdc]
cmp dword [eax + 0x44], edi
jne 0x45113f
mov eax, dword [ebp - 0x38]
push edi
push dword [eax]
call fcn.0043c7e1
pop ecx
pop ecx
mov eax, dword [ebx + 0xdc]
push 0x4bc550
lea ecx, [ebx + 0x260]
mov dword [eax + 0x44], edi
call fcn.00403adc
mov ecx, dword [ebx + 0xdc]
call fcn.00478151
mov ecx, ebx
call fcn.00459843
mov ecx, ebx
call fcn.004526cf
push 0x96
mov ecx, ebx
call fcn.00454c2b
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.004541d7
cmp dword [ebx + 0x168], edi
je 0x4511dc
mov eax, dword [ebx + 0xc4]
lea esi, [ebx + 0xc4]
cmp eax, edi
je 0x4511dc
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4511dc
push dword [esi]
mov dword [ebp + 0x10], edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 1
pop esi
cmp eax, esi
jl 0x4511bf
mov dword [ebp + 0x10], esi
cmp dword [ebx + 0x160], edi
je 0x4511ca
mov dword [ebp + 0x10], esi
cmp dword [ebp + 0x10], edi
je 0x4511df
mov ecx, dword [ebx + 0xdc]
call fcn.00475d55
jmp 0x4511df
push 1
pop esi
push dword [ebx + 0x3c]
mov ecx, dword [ebx + 0xdc]
push edi
push 0x80000
call fcn.0047579a
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x451203
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
call fcn.004893ad
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc