Function at 0x4041ac
Capabilities:
Get graphical window text

Disassembly:
push 0x854
mov eax, 0x433520
call fcn.0042e6ce
mov edi, ecx
lea ebx, [edi + 4]
push ebx
mov dword [ebp - 0x84c], edi
call fcn.004052be
push dword [edi + 0x40]
push 1
push 0x80
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x44]
xor esi, esi
push esi
push 0x80
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x410
lea eax, [ebp - 0x834]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x50
call fcn.00420124
pop ecx
cmp eax, esi
je 0x404220
lea edx, [edi + 0x7c]
call fcn.00418cf4
mov dword [ebp - 0x838], eax
jmp 0x404226
mov dword [ebp - 0x838], esi
mov ecx, dword [ebp - 0x838]
mov eax, dword [ecx]
lea edx, [ebp - 0x834]
push edx
call dword [eax + 0xc]
test eax, eax
jne 0x404290
mov eax, 0x437cd0
cmp dword [0x441b60], esi
jne 0x40424e
mov eax, str.Bandizip_SFX
push esi
push eax
call fcn.00401049
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push ecx
mov edi, eax
call fcn.00401bbc
push dword [ebx]
call fcn.0041c1fe
add esp, 0x10
push esi
push esi
push 0x10
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x838]
add ecx, 4
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x404728
mov eax, dword [ebp - 0x838]
mov ecx, dword [edi + 0x28]
push esi
push esi
push esi
push 0xb
call fcn.00418192
mov eax, dword [edi + 0x28]
push esi
call fcn.004155a0
cmp edx, esi
pop ecx
jg 0x4042fc
jl 0x4042b7
cmp eax, esi
ja 0x4042fc
mov eax, 0x437cd0
cmp dword [0x441b60], esi
jne 0x4042c9
mov eax, str.Bandizip_SFX
push esi
push eax
call fcn.00401049
push ecx
mov ecx, esp
mov dword [ebp - 0x83c], esp
push ecx
mov edi, eax
call fcn.00401bbc
push dword [ebx]
call fcn.0041c1fe
add esp, 0x10
push esi
push esi
push 0x10
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x404728
add eax, 0xc
mov dword [ebp - 0x854], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [eax]
adc edx, esi
push eax
mov dword [ebp - 0x850], edx
call dword [ecx + 4]
push dword [ebp - 0x850]
mov ecx, dword [edi + 0x24]
push dword [ebp - 0x854]
mov eax, dword [ecx]
push dword [edi + 0x28]
call dword [eax + 4]
test eax, eax
je 0x4042b7
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx]
lea eax, [edi + 0x20]
push eax
call dword [edx + 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov dword [ebp - 0x840], eax
cmp eax, esi
je 0x4042b7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4042b7
push dword [ebp - 0x840]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0x840]
push 0x44f348
call fcn.0041d935
test eax, eax
je 0x4042b7
push str.MESSAGE
mov ecx, str.CONFIG
lea esi, [ebp - 0x848]
call fcn.0041e315
and dword [ebp - 4], 0
mov ecx, esi
call fcn.004012c3
mov eax, dword [ebp - 0x848]
cmp dword [eax - 0xc], 0
je 0x4043d0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x844], esp
mov esi, esp
call fcn.00401c30
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00404e1d
push ecx
mov eax, esp
mov dword [ebp - 0x844], esp
mov esi, 0x436014
push eax
mov edi, esi
call fcn.00401bbc
push str.MB_NO
mov byte [ebp - 4], 1
call fcn.0040105d
mov ecx, esp
mov dword [ebp - 0x83c], esp
push ecx
mov edi, eax
call fcn.00401bbc
push str.MB_YES
mov byte [ebp - 4], 2
call fcn.0040105d
mov ecx, esp
mov dword [ebp - 0x840], esp
push ecx
mov edi, eax
call fcn.00401bbc
push ecx
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x838], esp
push eax
mov edi, esi
call fcn.00401bbc
push ecx
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x85c], esp
push eax
call fcn.00401bbc
push ecx
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x858], esp
push eax
call fcn.00401bbc
push ecx
mov byte [ebp - 4], 6
mov eax, esp
mov dword [ebp - 0x860], esp
push eax
call fcn.00401bbc
push str.MB_OK
mov byte [ebp - 4], 7
call fcn.0040105d
mov ecx, esp
mov dword [ebp - 0x850], esp
push ecx
mov edi, eax
call fcn.00401bbc
mov byte [ebp - 4], 0
call fcn.0041bff9
add esp, 0x20
cmp dword [0x441b60], 0
mov eax, 0x437cd0
jne 0x4044ad
mov eax, str.Bandizip_SFX
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push str.STATIC_TARGET_PATH
call fcn.0040105d
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop ecx
push eax
push 0xffffffffffffffff
push dword [ebx]
call edi
push str.BTN_SELECT_FOLDER
call fcn.0040105d
pop ecx
push eax
push 0x3e9
push dword [ebx]
call edi
push str.BTN_EXTRACT
call fcn.0040105d
pop ecx
push eax
push 0x3ea
push dword [ebx]
call edi
push str.BTN_CLOSE
call fcn.0040105d
pop ecx
push eax
push 2
push dword [ebx]
call edi
push str.BTN_OPEN_FOLDER
call fcn.0040105d
pop ecx
push eax
push 0x3ec
push dword [ebx]
call edi
push str.CHK_OVERWRITE
call fcn.0040105d
pop ecx
push eax
mov esi, 0x3eb
push esi
push dword [ebx]
call edi
lea eax, [ebp - 0x83c]
push eax
call fcn.00401000
pop ecx
push dword [eax]
push 0x3e8
push dword [ebx]
call edi
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
call fcn.00401cc5
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push dword [ebx]
call edi
mov ecx, dword [ebp - 0x84c]
push 0x64
push 0
push 0x406
push eax
mov dword [ecx + 0x3c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [ebx]
call edi
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x440f0c]
mov esi, 0x440f0c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x840], eax
mov byte [ebp - 4], 8
mov eax, dword [0x440f0c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x83c], eax
mov byte [ebp - 4], 9
mov eax, dword [0x440f0c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x838], eax
push str.TARGET
mov ecx, str.CONFIG
lea esi, [ebp - 0x844]
mov byte [ebp - 4], 0xa
call fcn.0041e315
lea edi, [ebp - 0x840]
mov byte [ebp - 4], 0xb
call fcn.00401397
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x844]
add eax, 0xfffffff0
call fcn.00401cc5
push str.TITLE
mov ecx, str.CONFIG
lea esi, [ebp - 0x844]
call fcn.0041e315
lea edi, [ebp - 0x83c]
mov byte [ebp - 4], 0xc
call fcn.00401397
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x844]
add eax, 0xfffffff0
call fcn.00401cc5
push 0x437e14
mov ecx, str.CONFIG
lea esi, [ebp - 0x844]
call fcn.0041e315
lea edi, [ebp - 0x838]
mov byte [ebp - 4], 0xd
call fcn.00401397
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x844]
add eax, 0xfffffff0
call fcn.00401cc5
call fcn.0041e296
mov edi, dword [ebp - 0x84c]
lea ecx, [ebp - 0x840]
mov dword [edi + 0x50], eax
call fcn.004011a3
lea ecx, [ebp - 0x838]
call fcn.004011a3
mov esi, dword [ebp - 0x83c]
cmp dword [esi - 0xc], 0
je 0x4046bd
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x840]
cmp dword [eax - 0xc], 0
je 0x4046d7
push eax
push 0x3e8
push dword [ebx]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
add edi, 0x4c
lea eax, [ebp - 0x838]
call fcn.00401397
push 0
push 0x12c
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x838]
add eax, 0xfffffff0
call fcn.00401cc5
lea eax, [esi - 0x10]
call fcn.00401cc5
mov eax, dword [ebp - 0x840]
add eax, 0xfffffff0
call fcn.00401cc5
mov eax, dword [ebp - 0x848]
add eax, 0xfffffff0
call fcn.00401cc5
xor eax, eax
inc eax
call fcn.0042e718
ret