Function at 0x409830
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584860
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5d4074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xffffffffffffffff
push str.chk_agree
lea ecx, [edi + 4]
call fcn.004e6a14
mov esi, eax
test esi, esi
je 0x409885
mov eax, dword [esi]
mov ecx, esi
push str.check
call dword [eax + 4]
test eax, eax
jne 0x4098a0
push 0xffffffffffffffff
push str.chk_agree
push str.check
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
call fcn.00401f50
add esp, 0x10
xor esi, esi
mov ecx, esi
call fcn.004e7d12
test eax, eax
jne 0x4098cb
push 0x1000
push 0x5bd970
push 0x5bd970
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x409e63
push 0xffffffffffffffff
push str.edit_path
lea ecx, [edi + 4]
call fcn.004e6a14
mov esi, eax
test esi, esi
je 0x4098f0
mov edx, dword [esi]
mov ecx, esi
push str.edit
call dword [edx + 4]
test eax, eax
jne 0x40990b
push 0xffffffffffffffff
push str.edit_path
push str.edit
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
call fcn.00401f50
add esp, 0x10
xor esi, esi
mov eax, dword [esi]
lea ecx, [ebp - 0xbc]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov esi, eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
jg 0x409933
cmp dword [eax - 4], ecx
jge 0x40994b
mov eax, dword [eax - 8]
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00407090
test al, al
jne 0x40994b
xor eax, eax
jmp 0x40994d
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00405800
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xbc]
add ecx, 0xfffffff4
cmp ecx, dword [0x5d4284]
je 0x409983
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x409983
push ecx
call fcn.00509540
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x90], 0
jne 0x409a07
push 0x5bd984
lea ecx, [ebp - 0x28]
call fcn.00405800
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.tip_err_path
push 0x468
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4099d4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push str.btn_install
push 0x466
push dword [edi + 0x248]
call esi
push 0
push str.btn_quick_install
push 0x466
push dword [edi + 0x248]
call esi
jmp 0x409e21
sub esp, 8
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
mov ecx, esp
cmovae eax, dword [ebp - 0xa0]
mov dword [ecx], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x70]
call fcn.0041b550
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
push str.APPNAME
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.00405800
mov byte [ebp - 4], 7
call fcn.004514f0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00450e30
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x409abf
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x74], 7
push str.APPNAME_EN
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00405800
mov byte [ebp - 4], 8
call fcn.004514f0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00450e30
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x409b14
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x70]
call fcn.0041b620
mov ecx, dword [ebp - 0x78]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x7c]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x40]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
lea eax, [eax + eax*2]
cmp dword [esi + eax*8 - 4], 8
lea esi, [esi + eax*8]
jb 0x409b77
mov eax, dword [esi - 0x18]
jmp 0x409b7a
lea eax, [esi - 0x18]
push dword [ebp - 0x30]
push ecx
push dword [esi - 8]
push eax
call fcn.0040aef0
add esp, 0x10
test eax, eax
je 0x409c1b
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
cmp dword [esi - 4], 8
jb 0x409ba8
mov ecx, dword [esi - 0x18]
jmp 0x409bab
lea ecx, [esi - 0x18]
push dword [ebp - 0x48]
push eax
push dword [esi - 8]
push ecx
call fcn.0040aef0
add esp, 0x10
test eax, eax
je 0x409c1b
sub esp, 8
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00405690
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041c020
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
cmp ecx, eax
je 0x409bee
push 0xffffffffffffffff
push 0
push eax
call fcn.004062c0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x409c07
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
xor edx, edx
lea ecx, [ebp - 0x70]
call fcn.0041a170
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 0
cmovae eax, dword [ebp - 0x70]
push 0x2000000
push 3
push 0
push 7
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x409d3c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.INSTDIR
lea ecx, [ebp - 0x28]
call fcn.00405800
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0xbc], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x70]
push eax
call fcn.004062c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
call fcn.0044e090
add esp, 0x18
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
call fcn.004514f0
mov ecx, eax
call fcn.00451370
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
call fcn.00405770
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00405770
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 2
push 0x465
push dword [edi + 0x248]
call esi
push 0
push str.btn_close
push 0x467
push dword [edi + 0x248]
call esi
call fcn.00403bf0
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
je 0x409d1f
call fcn.00403bf0
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [edi + 0x3a0]
neg edi
push 1
sbb edi, edi
and edi, eax
push edi
call fcn.00454be0
mov ecx, eax
call fcn.004546d0
jmp 0x409d8e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x5bd9b0
call fcn.00405800
mov byte [ebp - 4], 0xb
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0040a670
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push str.btn_install
push 0x466
push dword [edi + 0x248]
call esi
push 0
push str.btn_quick_install
push 0x466
push dword [edi + 0x248]
call esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.0040ae70
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x409db3
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x409de0
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x409e0d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x409e46
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a04e0
mov esp, ebp
pop ebp
ret