Function at 0x40413d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4254a6
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x42f0a0]
xor eax, esp
mov dword [esp + 0x858], eax
push ebx
push esi
push edi
mov eax, dword [0x42f0a0]
xor eax, esp
push eax
lea eax, [esp + 0x870]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 4]
push ebx
mov dword [esp + 0x2c], edi
call fcn.00405221
push dword [edi + 0x254]
mov esi, 0x80
push 1
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x258]
push 0
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x410
lea eax, [esp + 0x48]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x40
call fcn.004124d1
pop ecx
cmp eax, esi
je 0x4041d9
call fcn.0040acb7
mov esi, eax
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jne 0x404238
cmp dword [0x431618], eax
mov eax, 0x42a724
jne 0x4041fb
mov eax, str.Bandizip_SFX
push 0
push eax
call fcn.00401049
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov edi, eax
call fcn.00401c7d
push dword [ebx]
call fcn.0040fed4
add esp, 0x10
push 0
push 0
push 0x10
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esi + 4]
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x4046e4
xor ecx, ecx
push ecx
push ecx
push ecx
lea eax, [edi + 0x1e0]
push 0xb
call fcn.0040a444
lea esi, [edi + 0x1e0]
call fcn.00406298
xor ecx, ecx
cmp edx, ecx
jg 0x4042a6
jl 0x404261
cmp eax, ecx
ja 0x4042a6
mov eax, 0x42a724
cmp dword [0x431618], ecx
jne 0x404273
mov eax, str.Bandizip_SFX
push ecx
push eax
call fcn.00401049
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov edi, eax
call fcn.00401c7d
push dword [ebx]
call fcn.0040fed4
add esp, 0x10
push 0
push 0
push 0x10
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4046e4
add eax, 0xc
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x1e0]
adc edx, ecx
mov ecx, dword [eax]
push eax
mov dword [esp + 0x34], edx
call dword [ecx + 4]
push dword [esp + 0x30]
lea esi, [edi + 0x28]
push dword [esp + 0x30]
mov edx, dword [esi]
lea eax, [edi + 0x1e0]
push eax
mov ecx, esi
call dword [edx + 4]
test eax, eax
jne 0x4042f3
cmp dword [0x431618], 0
mov eax, 0x42a724
jne 0x4042ef
mov eax, str.Bandizip_SFX
push 0
jmp 0x404274
mov edx, dword [esi]
lea eax, [edi + 0x20]
push eax
mov ecx, esi
call dword [edx + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4042dc
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
test eax, eax
je 0x4042dc
push dword [esp + 0x18]
mov dword [0x431690], 1
call esi
push eax
push dword [esp + 0x1c]
call fcn.0040edae
test eax, eax
je 0x4042dc
push str.MESSAGE
mov ecx, str.CONFIG
lea esi, [esp + 0x28]
call fcn.0040f689
and dword [esp + 0x878], 0
mov ecx, esi
call fcn.004012c2
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
je 0x40437f
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.00401855
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00404dc2
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
mov esi, 0x427ff8
push eax
mov edi, esi
call fcn.00401c7d
push str.MB_NO
mov byte [esp + 0x880], 1
call fcn.0040105d
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov edi, eax
call fcn.00401c7d
push str.MB_YES
mov byte [esp + 0x884], 2
call fcn.0040105d
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
mov edi, eax
call fcn.00401c7d
push ecx
mov byte [esp + 0x888], 3
mov eax, esp
mov dword [esp + 0x30], esp
push eax
mov edi, esi
call fcn.00401c7d
push ecx
mov byte [esp + 0x88c], 4
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00401c7d
push ecx
mov byte [esp + 0x890], 5
mov eax, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00401c7d
push ecx
mov byte [esp + 0x894], 6
mov eax, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00401c7d
push str.MB_OK
mov byte [esp + 0x898], 7
call fcn.0040105d
mov ecx, esp
mov dword [esp + 0x4c], esp
push ecx
mov edi, eax
call fcn.00401c7d
mov byte [esp + 0x898], 0
call fcn.0040fcf7
add esp, 0x20
cmp dword [0x431618], 0
mov eax, 0x42a724
jne 0x40446c
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 esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop ecx
push eax
push 0xffffffffffffffff
push dword [ebx]
call esi
push str.BTN_SELECT_FOLDER
call fcn.0040105d
pop ecx
push eax
push 0x3e9
push dword [ebx]
call esi
push str.BTN_EXTRACT
call fcn.0040105d
pop ecx
push eax
push 0x3ea
push dword [ebx]
call esi
push str.BTN_CLOSE
call fcn.0040105d
pop ecx
push eax
push 2
push dword [ebx]
call esi
push str.BTN_OPEN_FOLDER
call fcn.0040105d
pop ecx
push eax
push 0x3ec
push dword [ebx]
call esi
push str.CHK_OVERWRITE
call fcn.0040105d
pop ecx
push eax
mov edi, 0x3eb
push edi
push dword [ebx]
call esi
lea eax, [esp + 0x14]
push eax
call fcn.00401000
pop ecx
push dword [eax]
push 0x3e8
push dword [ebx]
call esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401d08
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push dword [ebx]
call esi
mov ecx, dword [esp + 0x28]
push 0x64
push 0
push 0x406
push eax
mov dword [ecx + 0x250], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push dword [ebx]
call esi
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x4309cc]
mov esi, 0x4309cc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x878], 8
mov eax, dword [0x4309cc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x878], 9
mov eax, dword [0x4309cc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push str.TARGET
mov ecx, str.CONFIG
lea esi, [esp + 0x20]
mov byte [esp + 0x87c], 0xa
call fcn.0040f689
lea edi, [esp + 0x18]
mov byte [esp + 0x878], 0xb
call fcn.00401396
mov byte [esp + 0x878], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00401d08
push str.TITLE
mov ecx, str.CONFIG
lea esi, [esp + 0x20]
call fcn.0040f689
lea edi, [esp + 0x14]
mov byte [esp + 0x878], 0xc
call fcn.00401396
mov byte [esp + 0x878], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00401d08
push 0x42a868
mov ecx, str.CONFIG
lea esi, [esp + 0x20]
call fcn.0040f689
lea edi, [esp + 0x20]
mov byte [esp + 0x878], 0xd
call fcn.00401396
mov byte [esp + 0x878], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00401d08
call fcn.0040f60f
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x18]
mov dword [edi + 0x264], eax
call fcn.004011a2
lea ecx, [esp + 0x20]
call fcn.004011a2
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x404680
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x404698
push eax
push 0x3e8
push dword [ebx]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
add edi, 0x260
lea eax, [esp + 0x20]
call fcn.00401396
push 0
push 0x12c
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00401d08
lea eax, [esi - 0x10]
call fcn.00401d08
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00401d08
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00401d08
xor eax, eax
inc eax
mov ecx, dword [esp + 0x870]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.00411d45
mov esp, ebp
pop ebp
ret