Function at 0x499d40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc0
push ebx
push ebp
mov ebp, ecx
push esi
mov eax, 1
push edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp + 0x50], eax
push 0xd
mov dword [ebp + 0x54], eax
call edi
push 0xe
mov dword [ebp + 0x1fc], eax
call edi
push 0xf
mov dword [ebp + 0x200], eax
call edi
push 8
mov dword [ebp + 0x204], eax
call edi
mov dword [ebp + 0x208], eax
lea eax, [esp + 0xd4]
neg eax
sbb eax, eax
lea ecx, [esp + 0xd8]
and eax, ecx
xor esi, esi
mov dword [esp + 0x24], esi
mov edi, dword [eax]
mov eax, dword [0x555b44]
cmp eax, esi
jne 0x499db7
push 0x555b44
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
jmp 0x499dbd
mov edx, dword [eax]
push eax
call dword [edx + 4]
cmp edi, esi
je 0x499dd7
cmp word [edi], si
jne 0x499dd7
mov eax, dword [0x555b44]
lea ecx, [esp + 0x24]
push eax
call fcn.00424b80
jmp 0x499dee
mov eax, dword [0x555b44]
lea edx, [esp + 0x24]
push edx
push 0x543354
mov ecx, dword [eax]
push esi
push edi
push eax
call dword [ecx + 0x14]
lea ecx, [esp + 0x3c]
call fcn.00424b60
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x54]
push eax
push ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, 0x554e48
mov dword [ebp + 0x20c], esi
test edx, edx
mov dword [ebp + 0x210], esi
lea edi, [ebp + 0x218]
je 0x499e3c
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
jmp 0x499e3e
xor ebx, ebx
mov eax, dword [edi]
cmp dword [eax - 0xc], 1
jg 0x499e4b
cmp ebx, dword [eax - 4]
jle 0x499e5e
mov ecx, edi
call fcn.004124c0
push ebx
mov ecx, edi
call fcn.00405530
cmp eax, esi
je 0x499e79
mov eax, dword [edi]
inc ebx
push ebx
push 0x554e48
push eax
call fcn.00405400
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, ebp
call fcn.0048d880
mov ecx, dword [ebp + 0x144]
mov edx, dword [ebp + 0x138]
push esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], edx
mov dword [ebp + 0x144], 0xfffffffe
mov dword [ebp + 0x138], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x55ea5c]
cmp eax, esi
je 0x499eee
mov ecx, dword [0x55ea60]
mov dword [0x55ea58], esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0x2c
push ecx
push esi
push 0x411
push eax
mov dword [esp + 0x78], 0x101
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x24], esi
jne 0x499f0f
lea ecx, [esp + 0xd4]
call fcn.00510740
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0xc
lea ecx, [esp + 0x64]
call fcn.0049b580
mov edx, dword [ebp + 0x160]
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x9c], edx
call fcn.004aed30
lea eax, [esp + 0x98]
lea ecx, [esp + 0x34]
lea esi, [ebp + 0x1e8]
push eax
push ecx
mov ecx, esi
call fcn.004ae6b0
mov edi, dword [eax]
lea ecx, [esp + 0x9c]
call fcn.004ae650
lea ecx, [esp + 0x64]
call fcn.004ae650
lea eax, [ebp + 0x1dc]
test eax, eax
je 0x499f75
lea ebx, [ebp + 0x1e0]
jmp 0x499f77
xor ebx, ebx
lea ecx, [esp + 0x20]
add edi, 0x14
call fcn.004236f0
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [0x554e40]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x20]
call fcn.00424b40
push ebx
mov ecx, edi
call fcn.00406370
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x49a576
lea ecx, [esp + 0x64]
call fcn.0049b580
mov ecx, dword [ebp + 0x160]
push eax
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xa0]
call fcn.004aed30
lea edx, [esp + 0x98]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004ae6b0
mov edi, dword [eax]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x30], edi
call fcn.004ae650
lea ecx, [esp + 0x64]
call fcn.004ae650
mov eax, dword [ebp + 0xc4]
mov ecx, dword [ebp + 0x160]
xor esi, esi
mov dword [ebp + 0x184], ecx
cmp eax, esi
jne 0x49a02d
mov ecx, ebp
call fcn.00499d00
push esi
push esi
mov ecx, ebp
call fcn.004a0ff0
mov dword [ebp + 0xc4], esi
mov eax, dword [0x54f928]
cmp eax, esi
je 0x49a3e8
cmp dword [ebp + 0x214], esi
jne 0x49a3e8
cmp dword [0x55bb40], esi
je 0x49a3d1
mov al, byte [0x55dfbc]
test al, 1
jne 0x49a0e7
mov dl, al
mov eax, 0x554e48
or dl, 1
mov byte [0x55dfbc], dl
mov edx, dword [0x547570]
test eax, eax
mov dword [0x55dfb8], edx
je 0x49a0da
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x49a0da
push edi
mov ecx, 0x55dfb8
call fcn.00405530
test eax, eax
je 0x49a0da
mov ecx, dword [0x55dfb8]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x49a0b4
cmp ecx, esi
jne 0x49a0ce
push eax
push ecx
push 0xffffffffffffffff
push 0x554e48
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x49a0ce
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
mov ecx, 0x55dfb8
call fcn.00405bb0
push 0x49b780
call fcn.00532e49
add esp, 4
cmp dword [0x55e084], esi
jne 0x49a3b9
mov ecx, dword [0x547570]
mov edx, str.AppEventsSchemesAppsExplorerNavigating_
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x49a157
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x49a157
push edi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x49a157
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x49a132
cmp ecx, esi
jne 0x49a14c
push eax
push ecx
push 0xffffffffffffffff
push str.AppEventsSchemesAppsExplorerNavigating_
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x49a14c
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00405bb0
mov eax, dword [0x547570]
mov ecx, str..Default
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x49a1ba
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x49a1ba
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x49a1ba
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x49a195
cmp ecx, esi
jne 0x49a1af
push eax
push ecx
push 0xffffffffffffffff
push str..Default
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x49a1af
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405bb0
push 0x55dfb8
push ecx
lea eax, [esp + 0x18]
mov edx, esp
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
call fcn.00412c10
call fcn.00499b30
mov ecx, dword [0x547574]
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 8
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x49a20f
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x49a215
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
jmp 0x49a215
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp edi, esi
jne 0x49a384
mov ecx, dword [0x547570]
mov edx, str..Modified
test edx, edx
mov dword [esp + 0x10], ecx
je 0x49a281
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x49a281
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x49a281
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x49a25c
cmp ecx, esi
jne 0x49a276
push eax
push ecx
push 0xffffffffffffffff
push str..Modified
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x49a276
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405bb0
push 0x55dfb8
push ecx
lea ecx, [esp + 0x18]
mov eax, esp
lea edx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.00412c10
call fcn.00499b30
mov edx, dword [0x547574]
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49a2ce
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x49a2ce
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
cmp edi, esi
jne 0x49a384
mov eax, dword [0x547570]
mov ecx, str..Current
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x49a339
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x49a339
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x49a339
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x49a314
cmp ecx, esi
jne 0x49a32e
push eax
push ecx
push 0xffffffffffffffff
push str..Current
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x49a32e
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405bb0
push 0x55dfb8
push ecx
lea eax, [esp + 0x18]
mov edx, esp
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
call fcn.00412c10
call fcn.00499b30
mov eax, dword [esp + 0x18]
mov ecx, dword [0x547574]
add esp, 8
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x49a384
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x49a384
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
mov dword [0x55e084], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49a3b9
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x49a3b9
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [0x55dfb8]
push 0x20001
push esi
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov edi, dword [esp + 0x30]
jmp 0x49a3e8
mov ecx, dword [0x55f3b4]
push 0x40005
push ecx
push 0x12d
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov eax, dword [ebp + 0x3c]
lea ecx, [edi + 0x3c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [edi + 0x34]
add edi, 0x34
cmp eax, esi
mov dword [edi + 4], esi
je 0x49a414
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [edi], esi
mov ecx, ebp
call fcn.0049b9a0
cmp eax, esi
je 0x49a496
push esi
push esi
push 0x1032
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x49a496
cmp dword [ebp + 0x3c], esi
je 0x49a496
cmp dword [0x55b29c], 5
ja 0x49a48e
lea eax, [esp + 0x14]
lea ecx, [ebp + 0x1dc]
push eax
call fcn.00511000
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [ecx - 8]
mov ecx, dword [0x547574]
cmp edx, esi
lea edx, [eax - 0xc]
sete bl
cmp edx, ecx
je 0x49a48a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49a48a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
cmp ebx, esi
jne 0x49a496
push edi
mov ecx, ebp
call fcn.0049b9e0
mov ecx, dword [esp + 0x30]
mov edx, 0x800
mov eax, dword [ecx + 0x30]
lea ebx, [ecx + 0x30]
mov esi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp esi, 1
mov dword [esp + 0x18], ecx
jg 0x49a4b9
cmp dword [eax - 4], edx
jge 0x49a51c
mov eax, dword [eax - 8]
cmp eax, 0x800
mov dword [esp + 0x20], eax
jle 0x49a4c9
mov edx, eax
push edx
mov ecx, ebx
call fcn.00405530
test eax, eax
je 0x49a51e
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov edi, dword [ebx]
lea ecx, [eax + eax + 2]
lea esi, [edx + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
mov eax, dword [0x547574]
cmp edx, eax
je 0x49a51c
mov esi, edx
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49a51c
push esi
call fcn.00532222
add esp, 4
mov eax, dword [ebx]
push 0x800
push eax
mov eax, dword [ebp + 0xcc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x164]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp + 0x168]
mov dword [eax + 0x24], edx
mov ecx, dword [ebp + 0x16c]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp + 0x170]
mov ecx, ebx
mov dword [eax + 0x2c], edx
call fcn.004055c0
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
mov edx, dword [ebx]
mov word [edx + eax*2], 0
mov ecx, ebp
xor esi, esi
call fcn.0049bb50
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x28], 4
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x3c]
cmp eax, esi
mov dword [esp + 0x2c], 5
je 0x49a5a8
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x3c], esi
je 0x49a5c4
cmp dword [0x54f92c], esi
je 0x49a5c4
cmp dword [ebp + 0xdc], esi
jne 0x49a5c4
mov ecx, ebp
call fcn.00499d00
mov eax, dword [esp + 0x24]
lea edx, [ebp + 0x40]
mov dword [ebp + 0xdc], esi
push edx
mov ecx, dword [eax]
push 0x543284
push eax
call dword [ecx]
lea edi, [ebp + 0x1c8]
mov ecx, edi
call fcn.0045ffc0
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.00424b80
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 4]
lea ebx, [ebp + 0x180]
mov ecx, dword [eax]
push ebx
push 0x543374
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x49a6d8
mov eax, dword [ebp + 0x1c4]
lea ebx, [ebp + 0x1c4]
cmp eax, esi
je 0x49a62f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx], esi
mov edx, dword [ebp + 0x1d8]
mov ecx, ebx
push edx
call fcn.00424b80
mov eax, dword [edi]
cmp eax, esi
je 0x49a64b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
mov edx, dword [ebp + 0x1d8]
mov ecx, edi
push edx
call fcn.00424b80
lea eax, [ebp + 0x1dc]
cmp eax, esi
je 0x49a668
lea ebx, [eax + 4]
jmp 0x49a66a
xor ebx, ebx
lea ecx, [esp + 0x20]
lea edi, [ebp + 0x1d4]
call fcn.004236f0
mov ecx, dword [edi]
mov dword [edi], esi
mov eax, dword [0x554e40]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x20]
call fcn.00424b40
push ebx
mov ecx, edi
call fcn.00406370
mov eax, dword [ebp + 4]
push 0x105
push esi
push esi
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x49a6bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], esi
lea ecx, [esp + 0xd4]
call fcn.00510740
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0xc
mov edx, dword [ebp + 0x20]
lea edi, [ebp + 0x20]
push edi
call dword [edx + 4]
mov eax, dword [ebp + 0x18c]
cmp eax, esi
je 0x49a6fb
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
jmp 0x49a70d
mov eax, dword [ebp + 0x3c]
cmp eax, esi
je 0x49a70d
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x190], esi
je 0x49a72f
mov eax, dword [ebp + 0x194]
mov ecx, dword [ebp + 0x198]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [ebp + 0x190], esi
push esi
lea edx, [esp + 0x30]
push 0x51fbd5a0
push edx
call fcn.00491d20
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, 0x80000
je 0x49a756
and eax, 0xfff7ffff
mov dword [esp + 0x2c], eax
test al, 0x40
je 0x49a760
and al, 0xbf
mov dword [esp + 0x2c], eax
cmp dword [0x54f914], esi
je 0x49a775
push esi
lea eax, [esp + 0x30]
push 0x1000000
push eax
jmp 0x49a780
push 0x1000000
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.00491d20
add esp, 0xc
lea edx, [esp + 0x2c]
push esi
push 0x80000
push edx
call fcn.00491d20
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x55b29c]
add esp, 0xc
cmp ecx, 5
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
jne 0x49a7dc
mov edx, dword [0x55b2a0]
mov ecx, 1
cmp edx, ecx
jne 0x49a7f2
cmp eax, 5
jne 0x49a7f2
mov dword [esp + 0x28], 3
mov dword [esp + 0x18], ecx
jmp 0x49a7f2
cmp ecx, 6
jb 0x49a7f2
cmp dword [0x54f92c], esi
je 0x49a7f2
cmp eax, 1
jne 0x49a7f2
mov dword [esp + 0x28], esi
mov eax, ebp
lea esi, [esp + 0x4c]
neg eax
mov ecx, dword [ebx]
push esi
sbb eax, eax
lea esi, [esp + 0x58]
and eax, edi
mov edx, dword [ecx]
push esi
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 0x3c]
push eax
push ecx
call dword [edx + 0x24]
test eax, eax
jge 0x49acb4
lea edi, [ebp + 0x1d0]
sub esp, 8
test edi, edi
mov ebx, esp
je 0x49a832
lea eax, [edi + 4]
jmp 0x49a834
xor eax, eax
push eax
lea ecx, [ebx + 4]
call fcn.00406370
mov ecx, ebp
mov dword [ebx], 0x5419d8
call fcn.00493950
test edi, edi
je 0x49a856
lea esi, [ebp + 0x1d4]
jmp 0x49a858
xor esi, esi
mov ecx, dword [0x547570]
mov edx, str.__4_:
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x49a8c0
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x49a8c0
push edi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x49a8c0
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 1]
test eax, eax
mov edi, ecx
jne 0x49a897
test ecx, ecx
jne 0x49a8b5
push eax
push ecx
push 0xffffffffffffffff
push str.__4_:
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x49a8b5
mov word [edi + eax*2 - 2], 0
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00405bb0
mov edi, dword [esi]
lea eax, [esp + 0x44]
push 0x86
push eax
call fcn.004bd990
mov ecx, dword [0x547570]
mov eax, dword [eax]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [ecx - 8]
push ecx
push edx
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x40]
call fcn.004059f0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405440
mov eax, dword [esp + 0x30]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x49a938
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x49a93e
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
jmp 0x49a93e
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.005103f0
mov edx, dword [0x547570]
mov eax, dword [eax]
add esp, 8
mov dword [esp + 0x18], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x28]
call fcn.004059f0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.00405440
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49a9a8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x49a9a8
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov ecx, dword [ebp + 0x21c]
mov eax, dword [esp + 0x10]
lea ebx, [ebp + 0x21c]
cmp ecx, eax
je 0x49aa45
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x49a9d4
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x49a9db
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x49aa2a
mov edi, eax
mov eax, dword [eax - 8]
push eax
mov ecx, ebx
mov dword [esp + 0x38], eax
call fcn.00405660
test eax, eax
je 0x49aa41
mov eax, dword [esp + 0x34]
mov esi, edi
mov edi, dword [ebx]
lea ecx, [eax + eax]
mov dword [esp + 0x34], ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ecx - 8], eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x34]
mov word [edx + eax], 0
mov eax, dword [esp + 0x10]
jmp 0x49aa45
mov ecx, ebx
call fcn.004124c0
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49aa6c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x49aa6c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49aa97
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x49aa97
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49aac2
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x49aac2
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49aaed
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x49aaed
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49ab18
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x49ab18
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [ebx]
xor edx, edx
mov esi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp esi, 1
mov dword [esp + 0x14], ecx
jg 0x49ab32
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x49ab92
mov eax, dword [eax - 8]
test eax, eax
mov dword [esp + 0x34], eax
jle 0x49ab3f
mov edx, eax
push edx
mov ecx, ebx
call fcn.00405530
test eax, eax
je 0x49ab94
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov edi, dword [ebx]
lea ecx, [eax + eax + 2]
lea esi, [edx + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
mov eax, dword [0x547574]
cmp edx, eax
je 0x49ab92
mov esi, edx
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49ab92
push esi
call fcn.00532222
add esp, 4
mov eax, dword [ebx]
push eax
mov eax, dword [ebp + 0x238]
push 0
push 0x40b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx]
push ecx
mov edi, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x49abc3
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x49abe5
mov ecx, dword [0x547570]
mov dword [edi], ecx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49abd5
xor eax, eax
jmp 0x49abdc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
mov ecx, edi
call fcn.00405870
mov ecx, dword [ebp + 0xe4]
call fcn.004ec160
lea edi, [ebp + 0x1c4]
mov ecx, edi
call fcn.0045ffc0
mov edx, dword [ebp + 0x1d8]
mov ecx, edi
push edx
call fcn.00424b80
lea ebx, [ebp + 0x1dc]
test ebx, ebx
je 0x49ac1a
add ebx, 4
jmp 0x49ac1c
xor ebx, ebx
lea ecx, [esp + 0x34]
lea edi, [ebp + 0x1d4]
call fcn.004236f0
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [0x554e40]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x34]
call fcn.00424b40
push ebx
mov ecx, edi
call fcn.00406370
mov eax, dword [ebp + 0x180]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
push 0x105
push 0
push 0
push ecx
mov dword [ebp + 0x144], edx
mov dword [ebp + 0x138], eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49ac99
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x24], 0
lea ecx, [esp + 0xd4]
call fcn.00510740
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0xc
mov ecx, edi
call fcn.00509520
mov eax, dword [ebx]
xor esi, esi
mov dword [ebp + 0x3c], eax
mov eax, dword [esp + 0xdc]
cmp eax, esi
mov dword [ebx], esi
mov dword [ebp + 0x50], 1
je 0x49ace9
mov eax, dword [ebp + 0x160]
inc eax
mov dword [ebp + 0x160], eax
mov dword [ebp + 0x1f8], eax
lea ebx, [ebp + 0x1d0]
mov dword [ebp + 0xe0], esi
cmp ebx, esi
mov dword [ebp + 0x2b4], esi
je 0x49ad07
lea edi, [ebp + 0x1d4]
jmp 0x49ad09
xor edi, edi
push esi
push 0x14
lea ecx, [esp + 0x44]
call fcn.00510f80
cmp eax, esi
je 0x49ad1e
add eax, 4
jmp 0x49ad20
xor eax, eax
mov ecx, dword [edi]
mov edx, dword [eax]
mov eax, dword [0x555b44]
push ecx
push edx
push esi
mov edi, dword [eax]
push eax
call dword [edi + 0x1c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x3c]
inc eax
mov dword [ebp + 0x2b4], eax
call fcn.00510740
cmp dword [ebp + 0xd0], esi
je 0x49ad82
lea eax, [esp + 0xd4]
sub esp, 8
neg eax
sbb eax, eax
lea ecx, [esp + 0xe0]
mov edi, esp
and eax, ecx
push eax
lea ecx, [edi + 4]
call fcn.00406370
mov dword [edi], 0x5419d8
mov ecx, dword [ebp + 0xe4]
push ebp
call fcn.004e0050
mov edx, dword [ebp + 4]
push 0x1e413
push edx
mov dword [ebp + 0xd0], 1
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x55f248], esi
je 0x49addc
mov ecx, dword [ebp + 0xe4]
cmp dword [ecx + 0x420], esi
je 0x49addc
cmp dword [ecx + 0x44], esi
jne 0x49add3
cmp ebx, esi
je 0x49adc2
lea eax, [ebp + 0x1d4]
jmp 0x49adc4
xor eax, eax
mov edx, dword [0x55bbf0]
mov eax, dword [eax]
push edx
push eax
call fcn.004ee310
mov ecx, dword [ebp + 0xe4]
mov dword [ecx + 0x44], esi
mov eax, dword [esp + 0x4c]
push esi
push 0x549974
push esi
push eax
mov dword [ebp + 0x38], eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xe4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
push edx
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.004eb390
test eax, eax
je 0x49aec8
mov ecx, dword [0x547570]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
xor edi, edi
push edi
lea edx, [esp + 0x4c]
push 0x10c257e0
push edx
mov dword [esp + 0x50], 1
mov dword [esp + 0x20], ecx
call fcn.00491d20
add esp, 0xc
test eax, eax
je 0x49ae51
mov edi, 1
mov eax, dword [esp + 0x48]
push 0x10c257e0
push ebx
push esi
push eax
lea ecx, [esp + 0x24]
push str.TF1:_08X_nTF2:_08X_nF:_08X_TFN:_08X
push ecx
call fcn.00405cb0
add esp, 0x18
test edi, edi
je 0x49ae99
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xe4]
push edx
push 0
push 0x10c257e0
call fcn.004eb3f0
mov eax, dword [ebp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, ebp
call fcn.00499d00
mov eax, dword [esp + 0x14]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x49aec8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49aec8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [0x55f244]
test eax, eax
je 0x49aedc
mov ecx, dword [ebp + 0x3c]
push ecx
push 0x100000
jmp 0x49aee2
mov edx, dword [ebp + 0x3c]
push edx
push 0
mov ecx, dword [ebp + 0xe4]
push 0x100000
call fcn.004eb3f0
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xe4]
push eax
push 0
push 0x80000
call fcn.004eb3f0
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x49b1e2
mov ecx, dword [ebp + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffffc
push ecx
call edi
mov edx, dword [esp + 0x10]
push 0xfffffffffffffffc
push edx
mov ebx, eax
call edi
test ebx, ebx
mov dword [esp + 0x20], eax
je 0x49b09d
mov eax, dword [0x55e000]
mov edx, dword [0x55dff8]
mov edi, dword [ebp + 0x38]
mov esi, 3
lea ecx, [eax*4 + 4]
push ecx
push edx
call fcn.005326a3
add esp, 8
test eax, eax
je 0x49afba
mov ecx, dword [0x55dffc]
mov dword [0x55dff8], eax
mov eax, dword [0x55e000]
inc eax
shl eax, 4
push eax
push ecx
call fcn.005326a3
add esp, 8
test eax, eax
je 0x49afba
mov edx, dword [0x55dff8]
mov dword [0x55dffc], eax
mov eax, dword [0x55e000]
inc eax
mov dword [0x55e000], eax
dec eax
lea ecx, [edx + eax*4]
test ecx, ecx
je 0x49afa2
mov dword [ecx], edi
mov ecx, dword [0x55dffc]
shl eax, 4
add eax, ecx
je 0x49afba
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov eax, dword [ebp + 0x38]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x495b50
push 0xfffffffffffffffc
push eax
call edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49b09d
mov esi, dword [esp + 0x10]
push 0x493a70
push 0xfffffffffffffffc
push esi
call edi
mov ecx, dword [0x55dff0]
mov eax, dword [0x55dfe8]
xor edi, edi
mov ebx, 3
lea edx, [ecx*4 + 4]
push edx
push eax
call fcn.005326a3
add esp, 8
test eax, eax
je 0x49b06d
mov ecx, dword [0x55dff0]
mov edx, dword [0x55dfec]
inc ecx
mov dword [0x55dfe8], eax
shl ecx, 4
push ecx
push edx
call fcn.005326a3
add esp, 8
test eax, eax
je 0x49b06d
mov ecx, dword [0x55dfe8]
mov dword [0x55dfec], eax
mov eax, dword [0x55dff0]
inc eax
mov dword [0x55dff0], eax
dec eax
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x49b051
mov dword [ecx], esi
mov ecx, dword [0x55dfec]
shl eax, 4
add eax, ecx
je 0x49b06d
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov dword [eax + 4], ebp
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov eax, dword [0x55f270]
test eax, eax
je 0x49b09d
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x109d
push esi
call edi
mov eax, dword [0x55f270]
test eax, eax
je 0x49b09d
push 0
push 0
push 0x10a0
push esi
call edi
mov eax, dword [esp + 0x44]
xor esi, esi
xor edi, edi
cmp eax, esi
je 0x49b0dc
cmp dword [0x54f910], esi
je 0x49b0dc
push 0x24
call fcn.00532695
mov edi, eax
add esp, 4
cmp edi, esi
je 0x49b0da
lea ecx, [edi + 0x10]
call fcn.005107a0
mov dword [edi], 0x5427bc
mov dword [edi + 4], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], esi
jmp 0x49b0dc
xor edi, edi
mov eax, dword [ebp + 0x3c]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], esi
push edx
mov ecx, dword [eax]
push 0x5426e8
push eax
call dword [ecx]
test eax, eax
jl 0x49b1e2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49b1e2
xor esi, esi
cmp edi, esi
je 0x49b171
mov ecx, dword [ebp + 4]
lea esi, [esp + 0xd4]
neg esi
mov dword [edi + 0x1c], ecx
mov dword [edi + 8], eax
mov edx, dword [ebp + 0x3c]
lea eax, [esp + 0xd8]
sbb esi, esi
lea ecx, [esp + 0x3c]
mov dword [edi + 0xc], edx
and esi, eax
lea ebx, [edi + 0x14]
call fcn.004236f0
mov ecx, dword [ebx]
mov dword [ebx], 0
mov eax, dword [0x554e40]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x3c]
call fcn.00424b40
push esi
mov ecx, ebx
call fcn.00406370
mov eax, dword [esp + 0x14]
lea edx, [edi + 4]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
xor esi, esi
push 0x40
call fcn.00532695
mov edi, eax
add esp, 4
cmp edi, esi
je 0x49b199
mov ecx, edi
call fcn.0044c270
mov dword [edi], 0x542794
mov dword [edi + 0x3c], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x34], esi
jmp 0x49b19b
xor edi, edi
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], esi
mov dword [edi + 0x3c], eax
mov dword [edi + 0x34], ebp
mov eax, dword [ebp + 0x3c]
lea edx, [esp + 0x14]
push edx
push 0x543454
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esp + 0x14]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x49b1cf
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.ole32.dll_RevokeDragDrop]
push edi
push esi
call dword [sym.imp.ole32.dll_RegisterDragDrop]
mov eax, dword [ebp + 0x1c4]
lea ebx, [ebp + 0x1c4]
test eax, eax
je 0x49b1fe
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebx], 0
mov eax, dword [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00424b80
lea esi, [esp + 0xd4]
lea ecx, [esp + 0xd8]
neg esi
sbb esi, esi
lea edi, [ebp + 0x1d4]
and esi, ecx
lea ecx, [esp + 0x3c]
call fcn.004236f0
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [0x554e40]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x3c]
call fcn.00424b40
push esi
mov ecx, edi
call fcn.00406370
mov eax, dword [ebp + 0x1d8]
lea esi, [ebp + 0x1d8]
test eax, eax
je 0x49b26e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
mov dword [esi], edi
jmp 0x49b270
xor edi, edi
mov edx, dword [ebx]
mov ecx, esi
push edx
call fcn.00424b80
lea eax, [ebp + 0x1d0]
cmp eax, edi
je 0x49b28c
lea ebx, [ebp + 0x1d4]
jmp 0x49b28e
xor ebx, ebx
lea ecx, [esp + 0x3c]
lea esi, [ebp + 0x1e0]
call fcn.004236f0
mov ecx, dword [esi]
mov dword [esi], edi
mov eax, dword [0x554e40]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x3c]
call fcn.00424b40
push ebx
mov ecx, esi
call fcn.00406370
push edi
mov ecx, ebp
call fcn.0049bd60
cmp dword [esp + 0x18], edi
je 0x49b30d
mov eax, dword [ebp + 0x3c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
push edx
mov ecx, dword [eax]
push 0x543614
push eax
call dword [ecx]
test eax, eax
jl 0x49b30d
cmp dword [esp + 0x18], edi
je 0x49b30d
push edi
mov ecx, ebp
call fcn.004a1390
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [esp + 0x10]
mov ecx, ebp
push esi
mov dword [ebp + 0xb8], esi
call fcn.0049b7c0
mov ecx, ebp
call fcn.00499d20
test eax, eax
je 0x49b341
mov dword [ebp + 0x158], esi
push edi
mov dword [ebp + 0x144], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x3c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
push ecx
mov edx, dword [eax]
push 0x543614
push eax
call dword [edx]
test eax, eax
mov ebx, 2
jl 0x49b389
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x49b389
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], edi
mov edx, dword [eax]
push ecx
push ebx
push eax
call dword [edx + 0x1c]
mov edx, dword [ebp + 0x38]
push edi
push 0x549974
push edi
push edx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, ebp
mov dword [ebp + 0x2b0], edi
call fcn.0049b920
mov eax, dword [ebp + 0x3c]
mov esi, dword [ebp + 0xd8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, ebp
mov dword [ebp + 0xd8], ebx
mov dword [ebp + 0xd4], 1
call fcn.0049c170
mov eax, dword [0x55b29c]
cmp eax, 0xa
jae 0x49b3d4
cmp eax, 6
jb 0x49b3ee
cmp dword [0x55b2a0], ebx
jb 0x49b3ee
mov edx, dword [ebp + 0xe4]
mov eax, dword [0x55f228]
cmp eax, dword [edx + 4]
jne 0x49b3ee
mov eax, dword [ebp + 0x3c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp + 0x1d0]
sub esp, 8
cmp eax, edi
mov esi, esp
je 0x49b402
add eax, 4
jmp 0x49b404
xor eax, eax
push eax
lea ecx, [esi + 4]
call fcn.00406370
mov dword [esi], 0x5419d8
mov ecx, dword [ebp + 0xe4]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [ebp + 0xe4]
cmp dword [eax + 0x44], edi
jne 0x49b449
lea eax, [ebp + 0x1d0]
cmp eax, edi
je 0x49b43b
lea eax, [ebp + 0x1d4]
jmp 0x49b43d
xor eax, eax
mov ecx, dword [eax]
push edi
push ecx
call fcn.00474c00
add esp, 8
mov edx, dword [ebp + 0xe4]
mov eax, 0x554e48
test eax, eax
mov dword [edx + 0x44], edi
lea esi, [ebp + 0x268]
je 0x49b46c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
jmp 0x49b46e
xor ebx, ebx
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
jg 0x49b47b
cmp ebx, dword [eax - 4]
jle 0x49b48e
mov ecx, esi
call fcn.004124c0
push ebx
mov ecx, esi
call fcn.00405530
cmp eax, edi
je 0x49b4bb
mov ecx, dword [esi]
inc ebx
push ebx
push 0x554e48
push ecx
call fcn.00405400
add esp, 0xc
mov ecx, esi
call fcn.004055c0
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
mov word [edx + eax*2], di
mov ecx, dword [ebp + 0xe4]
call fcn.004f0200
mov ecx, ebp
call fcn.004ac720
mov ecx, ebp
call fcn.0049dd90
push 0x96
mov ecx, ebp
call fcn.004a2370
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004a1390
cmp dword [ebp + 0x170], edi
je 0x49b539
mov eax, dword [ebp + 0xcc]
cmp eax, edi
je 0x49b539
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49b539
mov ecx, dword [ebp + 0xcc]
xor esi, esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, 1
jl 0x49b522
mov esi, 1
cmp dword [ebp + 0x168], edi
jne 0x49b52e
cmp esi, edi
je 0x49b539
mov ecx, dword [ebp + 0xe4]
call fcn.004ec130
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xe4]
push edx
push edi
push 0x80000
call fcn.004eb3f0
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x49b560
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], edi
lea ecx, [esp + 0xd4]
call fcn.00510740
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc0
ret 0xc