Function at 0x571540
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1334], 0
je 0x5715ba
cmp byte [edi + 0x44], 0
je 0x5717a0
push 0
call fcn.005306f0
mov esi, dword [edi + 0x1334]
lea edx, [edi + 8]
lea ecx, [esp + 0xc]
call fcn.00560530
cmp dword [eax + 0x14], 8
jb 0x57158c
mov eax, dword [eax]
push eax
push 0xde
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0xc]
call fcn.0040ab30
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
push 0
call fcn.005306f0
push 0
push str.replace.use.strip
lea ecx, [edi + 0xb0c]
call fcn.00528190
mov cl, byte [edi + 0x142c]
test eax, eax
je 0x571743
test cl, cl
je 0x5715f4
mov eax, dword [edi + 0x13f0]
lea ecx, [edi + 0x13f0]
call dword [eax + 0x10]
cmp byte [edi + 0x148c], 0
je 0x57160c
mov eax, dword [edi + 0x1450]
lea ecx, [edi + 0x1450]
call dword [eax + 0x10]
mov eax, dword [edi]
mov ecx, edi
mov byte [edi + 0x1528], 1
call dword [eax + 0x158]
push 0
push str.replace.strip.incremental
lea ecx, [edi + 0xb0c]
call fcn.00528190
mov dword [edi + 0x156c], eax
lea esi, [edi + 0x14ec]
mov eax, dword [esi + 0x40]
mov byte [eax + 0x42], 0
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x40]
sub esp, 8
mov edx, esp
add ecx, 0x4c
mov dword [edx], vtable.GUI::Window.0
mov eax, dword [esi + 0x54]
mov dword [edx + 4], eax
call fcn.005731e0
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x14]
mov eax, dword [esi + 0x54]
add esp, 8
add edx, 4
mov dword [esp + 8], eax
call fcn.00560530
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
jb 0x571697
mov eax, dword [esp + 0xc]
push eax
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffff0000
push 0
push 0x142
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0xc]
call fcn.0040ab30
mov ecx, dword [esi + 0x40]
sub esp, 8
mov edx, esp
add ecx, 0x13c
mov dword [edx], vtable.GUI::Window.0
mov eax, dword [esi + 0xa0]
mov dword [edx + 4], eax
call fcn.005731e0
add esp, 8
mov ecx, esi
call fcn.00576860
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x571713
mov eax, dword [esi + 0x40]
cmp byte [eax + 0x22c], 0
je 0x571713
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [esi + 0x80], 2
jne 0x57172e
mov ecx, dword [esi + 0x40]
push 1
mov eax, dword [ecx]
call dword [eax + 0x24]
mov byte [edi + 0x45], 0
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
test cl, cl
jne 0x5717a0
cmp byte [edi + 0x148c], cl
jne 0x5717a0
push 0
push str.find.replace.advanced
lea ecx, [edi + 0xb0c]
mov word [edi + 0x44], 1
call fcn.00528190
mov ecx, edi
mov edx, eax
call fcn.00563920
neg edx
push edi
sbb edx, edx
push 0x570110
and edx, 3
push eax
add edx, 0x191
push edx
push dword [0x602f64]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 4
push eax
mov dword [edi + 0x1334], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret