Function at 0x498df0
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 [0x554ad4]
cmp eax, esi
jne 0x498e67
push 0x554ad4
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
jmp 0x498e6d
mov edx, dword [eax]
push eax
call dword [edx + 4]
cmp edi, esi
je 0x498e87
cmp word [edi], si
jne 0x498e87
mov eax, dword [0x554ad4]
lea ecx, [esp + 0x24]
push eax
call fcn.00424ca0
jmp 0x498e9e
mov eax, dword [0x554ad4]
lea edx, [esp + 0x24]
push edx
push 0x542354
mov ecx, dword [eax]
push esi
push edi
push eax
call dword [ecx + 0x14]
lea ecx, [esp + 0x3c]
call fcn.00424c80
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, 0x553dd8
mov dword [ebp + 0x20c], esi
test edx, edx
mov dword [ebp + 0x210], esi
lea edi, [ebp + 0x218]
je 0x498eec
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
jmp 0x498eee
xor ebx, ebx
mov eax, dword [edi]
cmp dword [eax - 0xc], 1
jg 0x498efb
cmp ebx, dword [eax - 4]
jle 0x498f0e
mov ecx, edi
call fcn.00412670
push ebx
mov ecx, edi
call fcn.00405530
cmp eax, esi
je 0x498f29
mov eax, dword [edi]
inc ebx
push ebx
push 0x553dd8
push eax
call fcn.00405400
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, ebp
call fcn.0048c930
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 [0x55d9a4]
cmp eax, esi
je 0x498f9e
mov ecx, dword [0x55d9a8]
mov dword [0x55d9a0], 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 0x498fbf
lea ecx, [esp + 0xd4]
call fcn.0050fe40
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0xc
lea ecx, [esp + 0x64]
call fcn.0049a630
mov edx, dword [ebp + 0x160]
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x9c], edx
call fcn.004addc0
lea eax, [esp + 0x98]
lea ecx, [esp + 0x34]
lea esi, [ebp + 0x1e8]
push eax
push ecx
mov ecx, esi
call fcn.004ad740
mov edi, dword [eax]
lea ecx, [esp + 0x9c]
call fcn.004ad6e0
lea ecx, [esp + 0x64]
call fcn.004ad6e0
lea eax, [ebp + 0x1dc]
test eax, eax
je 0x499025
lea ebx, [ebp + 0x1e0]
jmp 0x499027
xor ebx, ebx
lea ecx, [esp + 0x20]
add edi, 0x14
call fcn.00423820
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [0x553dd0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x20]
call fcn.00424c60
push ebx
mov ecx, edi
call fcn.00406280
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x499626
lea ecx, [esp + 0x64]
call fcn.0049a630
mov ecx, dword [ebp + 0x160]
push eax
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xa0]
call fcn.004addc0
lea edx, [esp + 0x98]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004ad740
mov edi, dword [eax]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x30], edi
call fcn.004ad6e0
lea ecx, [esp + 0x64]
call fcn.004ad6e0
mov eax, dword [ebp + 0xc4]
mov ecx, dword [ebp + 0x160]
xor esi, esi
mov dword [ebp + 0x184], ecx
cmp eax, esi
jne 0x4990dd
mov ecx, ebp
call fcn.00498db0
push esi
push esi
mov ecx, ebp
call fcn.004a00a0
mov dword [ebp + 0xc4], esi
mov eax, dword [0x54e8b8]
cmp eax, esi
je 0x499498
cmp dword [ebp + 0x214], esi
jne 0x499498
cmp dword [0x55aaa0], esi
je 0x499481
mov al, byte [0x55cf04]
test al, 1
jne 0x499197
mov dl, al
mov eax, 0x553dd8
or dl, 1
mov byte [0x55cf04], dl
mov edx, dword [0x546560]
test eax, eax
mov dword [0x55cf00], edx
je 0x49918a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x49918a
push edi
mov ecx, 0x55cf00
call fcn.00405530
test eax, eax
je 0x49918a
mov ecx, dword [0x55cf00]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x499164
cmp ecx, esi
jne 0x49917e
push eax
push ecx
push 0xffffffffffffffff
push 0x553dd8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x49917e
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
mov ecx, 0x55cf00
call fcn.00405bb0
push 0x49a830
call fcn.00532359
add esp, 4
cmp dword [0x55cfcc], esi
jne 0x499469
mov ecx, dword [0x546560]
mov edx, str.AppEventsSchemesAppsExplorerNavigating_
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x499207
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x499207
push edi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x499207
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x4991e2
cmp ecx, esi
jne 0x4991fc
push eax
push ecx
push 0xffffffffffffffff
push str.AppEventsSchemesAppsExplorerNavigating_
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x4991fc
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00405bb0
mov eax, dword [0x546560]
mov ecx, str..Default
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x49926a
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x49926a
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x49926a
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x499245
cmp ecx, esi
jne 0x49925f
push eax
push ecx
push 0xffffffffffffffff
push str..Default
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x49925f
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405bb0
push 0x55cf00
push ecx
lea eax, [esp + 0x18]
mov edx, esp
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
call fcn.00412dc0
call fcn.00498be0
mov ecx, dword [0x546564]
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 8
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4992bf
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4992c5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
jmp 0x4992c5
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp edi, esi
jne 0x499434
mov ecx, dword [0x546560]
mov edx, str..Modified
test edx, edx
mov dword [esp + 0x10], ecx
je 0x499331
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x499331
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x499331
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x49930c
cmp ecx, esi
jne 0x499326
push eax
push ecx
push 0xffffffffffffffff
push str..Modified
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x499326
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405bb0
push 0x55cf00
push ecx
lea ecx, [esp + 0x18]
mov eax, esp
lea edx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.00412dc0
call fcn.00498be0
mov edx, dword [0x546564]
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49937e
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x49937e
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
cmp edi, esi
jne 0x499434
mov eax, dword [0x546560]
mov ecx, str..Current
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x4993e9
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, esi
je 0x4993e9
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4993e9
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
cmp eax, esi
mov edi, ecx
jne 0x4993c4
cmp ecx, esi
jne 0x4993de
push eax
push ecx
push 0xffffffffffffffff
push str..Current
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jle 0x4993de
mov word [edi + eax*2 - 2], si
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405bb0
push 0x55cf00
push ecx
lea eax, [esp + 0x18]
mov edx, esp
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
call fcn.00412dc0
call fcn.00498be0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x546564]
add esp, 8
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x499434
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x499434
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
mov dword [0x55cfcc], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x499469
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x499469
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [0x55cf00]
push 0x20001
push esi
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov edi, dword [esp + 0x30]
jmp 0x499498
mov ecx, dword [0x55e2fc]
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 0x4994c4
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.0049aa50
cmp eax, esi
je 0x499546
push esi
push esi
push 0x1032
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x499546
cmp dword [ebp + 0x3c], esi
je 0x499546
cmp dword [0x55a1fc], 5
ja 0x49953e
lea eax, [esp + 0x14]
lea ecx, [ebp + 0x1dc]
push eax
call fcn.00510700
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [ecx - 8]
mov ecx, dword [0x546564]
cmp edx, esi
lea edx, [eax - 0xc]
sete bl
cmp edx, ecx
je 0x49953a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x49953a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
cmp ebx, esi
jne 0x499546
push edi
mov ecx, ebp
call fcn.0049aa90
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 0x499569
cmp dword [eax - 4], edx
jge 0x4995cc
mov eax, dword [eax - 8]
cmp eax, 0x800
mov dword [esp + 0x20], eax
jle 0x499579
mov edx, eax
push edx
mov ecx, ebx
call fcn.00405530
test eax, eax
je 0x4995ce
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 [0x546564]
cmp edx, eax
je 0x4995cc
mov esi, edx
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4995cc
push esi
call fcn.00531732
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.0049ac00
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 0x499658
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x3c], esi
je 0x499674
cmp dword [0x54e8bc], esi
je 0x499674
cmp dword [ebp + 0xdc], esi
jne 0x499674
mov ecx, ebp
call fcn.00498db0
mov eax, dword [esp + 0x24]
lea edx, [ebp + 0x40]
mov dword [ebp + 0xdc], esi
push edx
mov ecx, dword [eax]
push 0x542284
push eax
call dword [ecx]
lea edi, [ebp + 0x1c8]
mov ecx, edi
call fcn.0045f6e0
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.00424ca0
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 4]
lea ebx, [ebp + 0x180]
mov ecx, dword [eax]
push ebx
push 0x542374
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x499788
mov eax, dword [ebp + 0x1c4]
lea ebx, [ebp + 0x1c4]
cmp eax, esi
je 0x4996df
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.00424ca0
mov eax, dword [edi]
cmp eax, esi
je 0x4996fb
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.00424ca0
lea eax, [ebp + 0x1dc]
cmp eax, esi
je 0x499718
lea ebx, [eax + 4]
jmp 0x49971a
xor ebx, ebx
lea ecx, [esp + 0x20]
lea edi, [ebp + 0x1d4]
call fcn.00423820
mov ecx, dword [edi]
mov dword [edi], esi
mov eax, dword [0x553dd0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x20]
call fcn.00424c60
push ebx
mov ecx, edi
call fcn.00406280
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 0x49976d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], esi
lea ecx, [esp + 0xd4]
call fcn.0050fe40
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 0x4997ab
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
jmp 0x4997bd
mov eax, dword [ebp + 0x3c]
cmp eax, esi
je 0x4997bd
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x190], esi
je 0x4997df
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.00490dd0
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, 0x80000
je 0x499806
and eax, 0xfff7ffff
mov dword [esp + 0x2c], eax
test al, 0x40
je 0x499810
and al, 0xbf
mov dword [esp + 0x2c], eax
cmp dword [0x54e8a4], esi
je 0x499825
push esi
lea eax, [esp + 0x30]
push 0x1000000
push eax
jmp 0x499830
push 0x1000000
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.00490dd0
add esp, 0xc
lea edx, [esp + 0x2c]
push esi
push 0x80000
push edx
call fcn.00490dd0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x55a1fc]
add esp, 0xc
cmp ecx, 5
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
jne 0x49988c
mov edx, dword [0x55a200]
mov ecx, 1
cmp edx, ecx
jne 0x4998a2
cmp eax, 5
jne 0x4998a2
mov dword [esp + 0x28], 3
mov dword [esp + 0x18], ecx
jmp 0x4998a2
cmp ecx, 6
jb 0x4998a2
cmp dword [0x54e8bc], esi
je 0x4998a2
cmp eax, 1
jne 0x4998a2
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 0x499d64
lea edi, [ebp + 0x1d0]
sub esp, 8
test edi, edi
mov ebx, esp
je 0x4998e2
lea eax, [edi + 4]
jmp 0x4998e4
xor eax, eax
push eax
lea ecx, [ebx + 4]
call fcn.00406280
mov ecx, ebp
mov dword [ebx], 0x5409d8
call fcn.00492a00
test edi, edi
je 0x499906
lea esi, [ebp + 0x1d4]
jmp 0x499908
xor esi, esi
mov ecx, dword [0x546560]
mov edx, str.__4_:
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x499970
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x499970
push edi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x499970
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 1]
test eax, eax
mov edi, ecx
jne 0x499947
test ecx, ecx
jne 0x499965
push eax
push ecx
push 0xffffffffffffffff
push str.__4_:
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x499965
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.004bc8d0
mov ecx, dword [0x546560]
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 [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4999e8
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4999ee
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
jmp 0x4999ee
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.0050faf0
mov edx, dword [0x546560]
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x499a58
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x499a58
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov ecx, dword [ebp + 0x21c]
mov eax, dword [esp + 0x10]
lea ebx, [ebp + 0x21c]
cmp ecx, eax
je 0x499af5
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x499a84
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x499a8b
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x499ada
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 0x499af1
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 0x499af5
mov ecx, ebx
call fcn.00412670
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x499b1c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x499b1c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x499b47
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x499b47
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x44]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x499b72
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x499b72
mov edx, dword [esp + 0x44]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x499b9d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x499b9d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x499bc8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x499bc8
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
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 0x499be2
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x499c42
mov eax, dword [eax - 8]
test eax, eax
mov dword [esp + 0x34], eax
jle 0x499bef
mov edx, eax
push edx
mov ecx, ebx
call fcn.00405530
test eax, eax
je 0x499c44
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 [0x546564]
cmp edx, eax
je 0x499c42
mov esi, edx
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x499c42
push esi
call fcn.00531732
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 0x499c73
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x499c95
mov ecx, dword [0x546560]
mov dword [edi], ecx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x499c85
xor eax, eax
jmp 0x499c8c
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.004eb5a0
lea edi, [ebp + 0x1c4]
mov ecx, edi
call fcn.0045f6e0
mov edx, dword [ebp + 0x1d8]
mov ecx, edi
push edx
call fcn.00424ca0
lea ebx, [ebp + 0x1dc]
test ebx, ebx
je 0x499cca
add ebx, 4
jmp 0x499ccc
xor ebx, ebx
lea ecx, [esp + 0x34]
lea edi, [ebp + 0x1d4]
call fcn.00423820
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [0x553dd0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x34]
call fcn.00424c60
push ebx
mov ecx, edi
call fcn.00406280
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 0x499d49
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x24], 0
lea ecx, [esp + 0xd4]
call fcn.0050fe40
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0xc
mov ecx, edi
call fcn.005089c0
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 0x499d99
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 0x499db7
lea edi, [ebp + 0x1d4]
jmp 0x499db9
xor edi, edi
push esi
push 0x14
lea ecx, [esp + 0x44]
call fcn.00510680
cmp eax, esi
je 0x499dce
add eax, 4
jmp 0x499dd0
xor eax, eax
mov ecx, dword [edi]
mov edx, dword [eax]
mov eax, dword [0x554ad4]
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.0050fe40
cmp dword [ebp + 0xd0], esi
je 0x499e32
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.00406280
mov dword [edi], 0x5409d8
mov ecx, dword [ebp + 0xe4]
push ebp
call fcn.004df490
mov edx, dword [ebp + 4]
push 0x1e413
push edx
mov dword [ebp + 0xd0], 1
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x55e190], esi
je 0x499e8c
mov ecx, dword [ebp + 0xe4]
cmp dword [ecx + 0x420], esi
je 0x499e8c
cmp dword [ecx + 0x44], esi
jne 0x499e83
cmp ebx, esi
je 0x499e72
lea eax, [ebp + 0x1d4]
jmp 0x499e74
xor eax, eax
mov edx, dword [0x55ab50]
mov eax, dword [eax]
push edx
push eax
call fcn.004ed750
mov ecx, dword [ebp + 0xe4]
mov dword [ecx + 0x44], esi
mov eax, dword [esp + 0x4c]
push esi
push 0x548954
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.004ea7d0
test eax, eax
je 0x499f78
mov ecx, dword [0x546560]
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.00490dd0
add esp, 0xc
test eax, eax
je 0x499f01
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 0x499f49
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xe4]
push edx
push 0
push 0x10c257e0
call fcn.004ea830
mov eax, dword [ebp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ecx, ebp
call fcn.00498db0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x499f78
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x499f78
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [0x55e18c]
test eax, eax
je 0x499f8c
mov ecx, dword [ebp + 0x3c]
push ecx
push 0x100000
jmp 0x499f92
mov edx, dword [ebp + 0x3c]
push edx
push 0
mov ecx, dword [ebp + 0xe4]
push 0x100000
call fcn.004ea830
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xe4]
push eax
push 0
push 0x80000
call fcn.004ea830
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x49a292
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 0x49a14d
mov eax, dword [0x55cf48]
mov edx, dword [0x55cf40]
mov edi, dword [ebp + 0x38]
mov esi, 3
lea ecx, [eax*4 + 4]
push ecx
push edx
call fcn.00531bb3
add esp, 8
test eax, eax
je 0x49a06a
mov ecx, dword [0x55cf44]
mov dword [0x55cf40], eax
mov eax, dword [0x55cf48]
inc eax
shl eax, 4
push eax
push ecx
call fcn.00531bb3
add esp, 8
test eax, eax
je 0x49a06a
mov edx, dword [0x55cf40]
mov dword [0x55cf44], eax
mov eax, dword [0x55cf48]
inc eax
mov dword [0x55cf48], eax
dec eax
lea ecx, [edx + eax*4]
test ecx, ecx
je 0x49a052
mov dword [ecx], edi
mov ecx, dword [0x55cf44]
shl eax, 4
add eax, ecx
je 0x49a06a
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 0x494c00
push 0xfffffffffffffffc
push eax
call edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49a14d
mov esi, dword [esp + 0x10]
push 0x492b20
push 0xfffffffffffffffc
push esi
call edi
mov ecx, dword [0x55cf38]
mov eax, dword [0x55cf30]
xor edi, edi
mov ebx, 3
lea edx, [ecx*4 + 4]
push edx
push eax
call fcn.00531bb3
add esp, 8
test eax, eax
je 0x49a11d
mov ecx, dword [0x55cf38]
mov edx, dword [0x55cf34]
inc ecx
mov dword [0x55cf30], eax
shl ecx, 4
push ecx
push edx
call fcn.00531bb3
add esp, 8
test eax, eax
je 0x49a11d
mov ecx, dword [0x55cf30]
mov dword [0x55cf34], eax
mov eax, dword [0x55cf38]
inc eax
mov dword [0x55cf38], eax
dec eax
lea ecx, [ecx + eax*4]
test ecx, ecx
je 0x49a101
mov dword [ecx], esi
mov ecx, dword [0x55cf34]
shl eax, 4
add eax, ecx
je 0x49a11d
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 [0x55e1b8]
test eax, eax
je 0x49a14d
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x109d
push esi
call edi
mov eax, dword [0x55e1b8]
test eax, eax
je 0x49a14d
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 0x49a18c
cmp dword [0x54e8a0], esi
je 0x49a18c
push 0x24
call fcn.00531ba5
mov edi, eax
add esp, 4
cmp edi, esi
je 0x49a18a
lea ecx, [edi + 0x10]
call fcn.0050fea0
mov dword [edi], 0x5417bc
mov dword [edi + 4], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], esi
jmp 0x49a18c
xor edi, edi
mov eax, dword [ebp + 0x3c]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], esi
push edx
mov ecx, dword [eax]
push 0x5416e8
push eax
call dword [ecx]
test eax, eax
jl 0x49a292
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a292
xor esi, esi
cmp edi, esi
je 0x49a221
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.00423820
mov ecx, dword [ebx]
mov dword [ebx], 0
mov eax, dword [0x553dd0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x3c]
call fcn.00424c60
push esi
mov ecx, ebx
call fcn.00406280
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.00531ba5
mov edi, eax
add esp, 4
cmp edi, esi
je 0x49a249
mov ecx, edi
call fcn.0044c0f0
mov dword [edi], 0x541794
mov dword [edi + 0x3c], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x34], esi
jmp 0x49a24b
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 0x542454
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 0x49a27f
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 0x49a2ae
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.00424ca0
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.00423820
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [0x553dd0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x3c]
call fcn.00424c60
push esi
mov ecx, edi
call fcn.00406280
mov eax, dword [ebp + 0x1d8]
lea esi, [ebp + 0x1d8]
test eax, eax
je 0x49a31e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
mov dword [esi], edi
jmp 0x49a320
xor edi, edi
mov edx, dword [ebx]
mov ecx, esi
push edx
call fcn.00424ca0
lea eax, [ebp + 0x1d0]
cmp eax, edi
je 0x49a33c
lea ebx, [ebp + 0x1d4]
jmp 0x49a33e
xor ebx, ebx
lea ecx, [esp + 0x3c]
lea esi, [ebp + 0x1e0]
call fcn.00423820
mov ecx, dword [esi]
mov dword [esi], edi
mov eax, dword [0x553dd0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x3c]
call fcn.00424c60
push ebx
mov ecx, esi
call fcn.00406280
push edi
mov ecx, ebp
call fcn.0049ae10
cmp dword [esp + 0x18], edi
je 0x49a3bd
mov eax, dword [ebp + 0x3c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
push edx
mov ecx, dword [eax]
push 0x542614
push eax
call dword [ecx]
test eax, eax
jl 0x49a3bd
cmp dword [esp + 0x18], edi
je 0x49a3bd
push edi
mov ecx, ebp
call fcn.004a0440
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.0049a870
mov ecx, ebp
call fcn.00498dd0
test eax, eax
je 0x49a3f1
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 0x542614
push eax
call dword [edx]
test eax, eax
mov ebx, 2
jl 0x49a439
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x49a439
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 0x548954
push edi
push edx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, ebp
mov dword [ebp + 0x2b0], edi
call fcn.0049a9d0
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.0049b220
mov eax, dword [0x55a1fc]
cmp eax, 0xa
jae 0x49a484
cmp eax, 6
jb 0x49a49e
cmp dword [0x55a200], ebx
jb 0x49a49e
mov edx, dword [ebp + 0xe4]
mov eax, dword [0x55e170]
cmp eax, dword [edx + 4]
jne 0x49a49e
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 0x49a4b2
add eax, 4
jmp 0x49a4b4
xor eax, eax
push eax
lea ecx, [esi + 4]
call fcn.00406280
mov dword [esi], 0x5409d8
mov ecx, dword [ebp + 0xe4]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [ebp + 0xe4]
cmp dword [eax + 0x44], edi
jne 0x49a4f9
lea eax, [ebp + 0x1d0]
cmp eax, edi
je 0x49a4eb
lea eax, [ebp + 0x1d4]
jmp 0x49a4ed
xor eax, eax
mov ecx, dword [eax]
push edi
push ecx
call fcn.00474330
add esp, 8
mov edx, dword [ebp + 0xe4]
mov eax, 0x553dd8
test eax, eax
mov dword [edx + 0x44], edi
lea esi, [ebp + 0x268]
je 0x49a51c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
jmp 0x49a51e
xor ebx, ebx
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
jg 0x49a52b
cmp ebx, dword [eax - 4]
jle 0x49a53e
mov ecx, esi
call fcn.00412670
push ebx
mov ecx, esi
call fcn.00405530
cmp eax, edi
je 0x49a56b
mov ecx, dword [esi]
inc ebx
push ebx
push 0x553dd8
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.004ef640
mov ecx, ebp
call fcn.004ab7c0
mov ecx, ebp
call fcn.0049ce40
push 0x96
mov ecx, ebp
call fcn.004a1420
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
call fcn.004a0440
cmp dword [ebp + 0x170], edi
je 0x49a5e9
mov eax, dword [ebp + 0xcc]
cmp eax, edi
je 0x49a5e9
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49a5e9
mov ecx, dword [ebp + 0xcc]
xor esi, esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, 1
jl 0x49a5d2
mov esi, 1
cmp dword [ebp + 0x168], edi
jne 0x49a5de
cmp esi, edi
je 0x49a5e9
mov ecx, dword [ebp + 0xe4]
call fcn.004eb570
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0xe4]
push edx
push edi
push 0x80000
call fcn.004ea830
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x49a610
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], edi
lea ecx, [esp + 0xd4]
call fcn.0050fe40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc0
ret 0xc