Function at 0x5262b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56cb26
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5c5678]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [esp + 0x18], 0
cmp dword [ebx + 0x1ac], 0
sete al
test al, al
jne 0x526983
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x526378
cmp byte [ebx + 0x1e5], 0
je 0x526983
push ebx
call fcn.005270f0
cmp dword [ebx + 0x1b0], esi
je 0x526378
mov eax, dword [ebx + 0x1b0]
test eax, eax
jne 0x526343
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
mov edx, dword [ecx + 0x158]
push 0
push eax
call edx
mov eax, dword [ebx + 0x1b0]
test eax, eax
jne 0x526364
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 1
push eax
call edx
mov edi, ebx
call fcn.00527030
mov eax, dword [ebx + 0x1e0]
test eax, eax
je 0x526983
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x526983
cmp esi, 1
jne 0x5263f8
cmp byte [ebx + 0x1e6], 0
je 0x526983
mov byte [ebx + 0x1e6], 0
cmp byte [ebx + 0x1e6], 0
lea edi, [ebx + 0x54]
push 0
mov eax, edi
je 0x52659e
mov ecx, str.IDS_DONE
lea esi, [esp + 0x34]
call fcn.004adac0
mov dword [esp + 0x2d0], 2
cmp dword [eax + 0x18], 8
mov dword [esp + 0x18], 1
jb 0x5265ce
mov eax, dword [eax + 4]
jmp 0x5265d1
test esi, esi
jne 0x526442
cmp byte [ebx + 0x1e7], 1
je 0x526983
mov al, byte [ebx + 0x1e6]
cmp al, 1
jne 0x52658e
mov esi, dword [ebx + 0x1e0]
add esi, 4
mov eax, 0xffffffff
call fcn.0049b200
mov ebx, dword [ebx + 0x1e0]
mov ecx, dword [ebx + 4]
add ebx, 4
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x526983
cmp esi, 3
jne 0x526532
lea esi, [esp + 0x20]
mov byte [ebx + 0x1e7], 0
call fcn.004dfc50
mov dword [esp + 0x2d0], 0
mov edx, dword [ebx + 0x1e0]
add edx, 4
push edx
call fcn.0049b510
mov eax, dword [ebx + 0x1e0]
add eax, 4
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x84]
push ecx
call int.004255e0
mov byte [esp + 0x2d0], 1
call fcn.00425b30
push 0xd
lea edx, [esp + 0x88]
push edx
call fcn.004258f0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x138]
push eax
call fcn.0040f510
call fcn.00425b30
push 0xd
push eax
lea eax, [esp + 0x8c]
call fcn.004258f0
push 0
push ecx
mov esi, esp
mov dword [esp + 0x2c], esp
push 1
push 0xacbd
lea eax, [ebx + 0x1ac]
call fcn.00473640
call fcn.00471100
call fcn.0048d990
mov ecx, dword [esp + 0x144]
add esp, 8
cmp dword [esp + 0x150], 8
jae 0x526517
lea ecx, [esp + 0x13c]
push ebx
call fcn.00526ec0
lea edi, [esp + 0x84]
call fcn.00425ba0
lea ecx, [esp + 0x20]
jmp 0x52697e
cmp esi, 4
jne 0x5263aa
mov eax, dword [ebx + 0x1e0]
add eax, esi
mov byte [ebx + 0x1e7], 0
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
mov esi, esp
mov dword [esp + 0x2c], esp
push 1
push 0xacbd
lea eax, [ebx + 0x1ac]
call fcn.00473640
call fcn.00471100
call fcn.0048d990
mov ecx, dword [ebx + 0x1e8]
add esp, 8
push ebx
call fcn.00526ec0
jmp 0x526983
test al, al
sete dl
mov byte [ebx + 0x1e6], dl
jmp 0x5263b1
mov ecx, str.IDS_EDIT
lea esi, [esp + 0x6c]
call fcn.004adac0
mov dword [esp + 0x2d0], 3
cmp dword [eax + 0x18], 8
mov dword [esp + 0x18], 2
jb 0x5265ce
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
jmp 0x5265d5
add eax, 4
mov dword [esp + 0x1c], eax
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
push 1
lea eax, [ebx + 0x1ac]
push 0xacbf
mov dword [esp + 0x2c], eax
call fcn.00473640
call fcn.00471100
push 1
mov dword [esp + 0x2d8], 4
mov eax, dword [esp + 0x28]
push 0xacbd
call fcn.00473640
lea esi, [esp + 0x30]
call fcn.00471100
push ecx
mov ecx, esp
mov byte [esp + 0x2d8], 5
mov dword [esp + 0x30], esp
call fcn.00473cc0
mov edx, dword [ebx + 0x30]
mov esi, dword [esp + 0x24]
push edx
mov byte [esp + 0x2dc], 6
call fcn.00522860
mov byte [esp + 0x2dc], 3
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x52665f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test byte [esp + 0x18], 2
je 0x526674
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x68]
call fcn.0040f400
mov dword [esp + 0x2d0], 0xffffffff
test byte [esp + 0x18], 1
je 0x526694
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x30]
call fcn.0040f400
movzx eax, byte [ebx + 0x1e6]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
push 1
push 0xacbf
call fcn.00473640
call fcn.00471100
call fcn.0048c7e0
add esp, 8
cmp byte [ebx + 0x1e6], 1
jne 0x5267cc
mov ecx, dword [ebx + 0x1e0]
add ecx, 4
lea esi, [ebx + 0x1e8]
push ecx
call fcn.0049b510
push 0
mov ecx, str.IDS_EDIT_NAME_PROMPT
lea esi, [esp + 0x34]
mov eax, edi
call fcn.004adac0
cmp dword [eax + 0x18], 8
jb 0x5266ff
mov eax, dword [eax + 4]
jmp 0x526702
add eax, 4
mov ecx, eax
lea eax, [ebx + 0x1e8]
call fcn.00421d70
lea ecx, [esp + 0x30]
mov byte [esp + 0x17], al
call fcn.0040f400
cmp byte [esp + 0x17], 0
je 0x52673b
mov eax, dword [ebx + 0x1e0]
mov edx, dword [eax + 4]
add eax, 4
push 0x582044
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x1e0]
mov eax, dword [esi + 4]
add esi, 4
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffff7ff
cmp eax, ecx
je 0x526768
push ecx
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 0x1e0]
mov edx, dword [eax + 4]
add eax, 4
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebx + 0x1e0]
add esi, 4
or eax, 0xffffffff
call fcn.0049b200
mov ebx, dword [ebx + 0x1e0]
mov eax, dword [ebx + 4]
add ebx, 4
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x20]
push 0
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
push 1
push 0xacc0
call fcn.00473640
call fcn.00471100
call fcn.0048c7e0
add esp, 8
jmp 0x526983
lea esi, [esp + 0x1c]
call fcn.004dfc50
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2d0], 7
cmp eax, 2
jne 0x5268ce
mov ecx, dword [ebx + 0x1e0]
add ecx, 4
push ecx
call fcn.0049b510
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
jne 0x52683e
push 0
mov ecx, str.IDS_EDIT_NAME_PROMPT
lea esi, [esp + 0x34]
mov eax, edi
call fcn.004adac0
or dword [esp + 0x18], 4
cmp dword [eax + 0x18], 8
jb 0x526827
mov ecx, dword [eax + 4]
jmp 0x52682a
lea ecx, [eax + 4]
lea eax, [ebx + 0x1e8]
call fcn.00421d70
mov byte [esp + 0x17], 1
test al, al
jne 0x526843
mov byte [esp + 0x17], 0
test byte [esp + 0x18], 4
je 0x526853
lea ecx, [esp + 0x30]
call fcn.0040f400
cmp byte [esp + 0x17], 0
jne 0x526925
lea eax, [ebx + 0x1e8]
lea edx, [esp + 0x1c]
call fcn.0040f100
test al, al
je 0x526925
mov ecx, dword [ebx + 0x1a8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x1c]
push edx
call eax
test al, al
je 0x526925
mov esi, dword [ebx + 0x1e0]
add esi, 4
xor eax, eax
call fcn.0049b200
mov eax, dword [esp + 0x20]
push 1
push ecx
mov esi, esp
mov dword [esp + 0x30], esp
push 1
push 0xacbd
mov byte [ebx + 0x1e7], 1
call fcn.00473640
call fcn.00471100
call fcn.0048d990
add esp, 8
jmp 0x526943
cmp eax, 1
jne 0x526925
mov ecx, dword [ebx + 0x1e8]
cmp dword [ecx - 0xc], 0
jne 0x526925
push 0
mov ecx, str.IDS_EDIT_NAME_PROMPT
lea esi, [esp + 0x50]
mov eax, edi
call fcn.004adac0
mov byte [esp + 0x2d0], 8
cmp dword [eax + 0x18], 8
jb 0x526904
mov eax, dword [eax + 4]
jmp 0x526907
add eax, 4
mov edx, eax
lea edi, [ebx + 0x1e8]
call fcn.00425220
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2d0], 7
call fcn.0040f400
mov edx, dword [ebx + 0x1e0]
mov eax, dword [edx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x1e8]
push ebx
call fcn.00526ec0
mov esi, dword [ebx + 0x1e0]
mov ecx, dword [esi + 4]
add esi, 4
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x800
cmp eax, ecx
je 0x526970
mov edx, dword [esi]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esp + 0x1c]
call fcn.00425530
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret 8