Function at 0x40405f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4247a9
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x858], eax
push ebx
push esi
push edi
mov eax, dword [0x42e070]
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
mov dword [esp + 0x24], ebx
call fcn.00405146
push dword [edi + 0x25c]
mov esi, 0x80
push 1
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x260]
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.004118cb
pop ecx
cmp eax, esi
je 0x4040ff
call fcn.0040a8bb
mov esi, eax
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jne 0x404160
cmp dword [0x4305d8], eax
mov eax, 0x42970c
jne 0x404123
mov eax, str.Bandizip_SFX
push 0
push eax
call fcn.00401049
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov edi, eax
call fcn.00401bca
push dword [ebx]
call fcn.0040f44c
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 0x40461c
xor ecx, ecx
push ecx
push ecx
push ecx
lea eax, [edi + 0x1e8]
push 0xa
call fcn.0040a076
lea esi, [edi + 0x1e8]
call fcn.00406181
xor ecx, ecx
cmp edx, ecx
jg 0x4041ce
jl 0x404189
cmp eax, ecx
ja 0x4041ce
mov eax, 0x42970c
cmp dword [0x4305d8], ecx
jne 0x40419b
mov eax, str.Bandizip_SFX
push ecx
push eax
call fcn.00401049
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov edi, eax
call fcn.00401bca
push dword [ebx]
call fcn.0040f44c
add esp, 0x10
push 0
push 0
push 0x10
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40461c
add eax, 0xc
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x1e8]
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 + 0x1e8]
push eax
mov ecx, esi
call dword [edx + 4]
test eax, eax
jne 0x40421b
cmp dword [0x4305d8], 0
mov eax, 0x42970c
jne 0x404217
mov eax, str.Bandizip_SFX
push 0
jmp 0x40419c
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 + 0x14], eax
test eax, eax
je 0x404204
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
test eax, eax
je 0x404204
push dword [esp + 0x14]
mov dword [0x430654], 1
call esi
push eax
push dword [esp + 0x18]
call fcn.0040e4d5
test eax, eax
je 0x404204
push str.MESSAGE
mov ecx, str.CONFIG
lea ebx, [esp + 0x28]
call fcn.0040ec08
xor ebx, ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x878], ebx
call fcn.004012c4
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], ebx
je 0x4042a9
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.004017a2
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00404ce7
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov esi, 0x426fe0
push eax
mov edi, esi
call fcn.00401bca
push str.MB_NO
mov byte [esp + 0x880], 1
call fcn.0040105d
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
mov edi, eax
call fcn.00401bca
push str.MB_YES
mov byte [esp + 0x884], 2
call fcn.0040105d
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov edi, eax
call fcn.00401bca
push ecx
mov byte [esp + 0x888], 3
mov eax, esp
mov dword [esp + 0x2c], esp
push eax
mov edi, esi
call fcn.00401bca
push ecx
mov byte [esp + 0x88c], 4
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00401bca
push ecx
mov byte [esp + 0x890], 5
mov eax, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00401bca
push ecx
mov byte [esp + 0x894], 6
mov eax, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00401bca
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.00401bca
mov byte [esp + 0x898], 0
call fcn.0040f26f
add esp, 0x20
mov eax, 0x42970c
cmp dword [0x4305d8], ebx
jne 0x404395
mov eax, str.Bandizip_SFX
mov edi, dword [esp + 0x20]
push eax
push dword [edi]
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 [edi]
call esi
push str.BTN_SELECT_FOLDER
call fcn.0040105d
pop ecx
push eax
push 0x3e9
push dword [edi]
call esi
push str.BTN_EXTRACT
call fcn.0040105d
pop ecx
push eax
push 0x3ea
push dword [edi]
call esi
push str.BTN_CLOSE
call fcn.0040105d
pop ecx
push eax
push 2
push dword [edi]
call esi
push str.BTN_OPEN_FOLDER
call fcn.0040105d
pop ecx
push eax
push 0x3ec
push dword [edi]
call esi
push str.CHK_OVERWRITE
call fcn.0040105d
pop ecx
push eax
push 0x3eb
push dword [edi]
call esi
lea eax, [esp + 0x10]
push eax
call fcn.00401000
pop ecx
push dword [eax]
push 0x3e8
push dword [edi]
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401c3a
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push dword [edi]
call ebx
mov ecx, dword [esp + 0x28]
push 0x64
push 0
push 0x406
push eax
mov dword [ecx + 0x258], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3eb
push dword [edi]
call ebx
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x42f98c]
mov edi, 0x42f98c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x878], 8
mov eax, dword [0x42f98c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x878], 9
mov eax, dword [0x42f98c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.TARGET
mov ecx, str.CONFIG
lea ebx, [esp + 0x1c]
mov byte [esp + 0x87c], 0xa
call fcn.0040ec08
lea edi, [esp + 0x14]
mov byte [esp + 0x878], 0xb
call fcn.00401398
mov byte [esp + 0x878], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00401c3a
push str.TITLE
mov ecx, str.CONFIG
lea ebx, [esp + 0x1c]
call fcn.0040ec08
lea edi, [esp + 0x10]
mov byte [esp + 0x878], 0xc
call fcn.00401398
mov byte [esp + 0x878], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00401c3a
push 0x429850
mov ecx, str.CONFIG
lea ebx, [esp + 0x1c]
call fcn.0040ec08
lea edi, [esp + 0x1c]
mov byte [esp + 0x878], 0xd
call fcn.00401398
mov byte [esp + 0x878], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00401c3a
call fcn.0040eb7b
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x14]
mov dword [edi + 0x26c], eax
call fcn.004011a4
lea ecx, [esp + 0x1c]
call fcn.004011a4
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 0xc], 0
je 0x4045b4
mov eax, dword [esp + 0x20]
push ebx
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x4045cc
push eax
mov eax, dword [esp + 0x24]
push 0x3e8
push dword [eax]
call esi
add edi, 0x268
lea eax, [esp + 0x1c]
call fcn.00401398
mov eax, dword [esp + 0x20]
push 0
push 0x12c
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00401c3a
lea eax, [ebx - 0x10]
call fcn.00401c3a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401c3a
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00401c3a
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.0041110d
mov esp, ebp
pop ebp
ret