Function at 0x5f470ccb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x84], 0
jne 0x5f470d10
push 0x3020
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5f470d10
push 0
push 0
push 0x200
mov eax, dword [ebp - 8]
push eax
call sym.MFC42D.DLL_Ordinal_3564
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_3394
test eax, eax
jne 0x5f470e79
push 0x3020
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5f470d4f
push 0x468
push str.dlgprop.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f470d4f
int3
xor eax, eax
test eax, eax
jne 0x5f470d35
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_454
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_877
push eax
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_4433
push 0x20
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call sym.MFC42D.DLL_Ordinal_450
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jge 0x5f470e79
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_3201
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
push 0x16
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_5072
push eax
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x34], 0
jmp 0x5f470de8
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jae 0x5f470e48
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx*4 + 0x5f4cd358]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5f470e46
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_4433
push 0x15
push 0
push 0
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x5f470ddf
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_3170
push 0x16
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_3201
sub eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call sym.MFC42D.DLL_Ordinal_5072
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_4932
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_1774
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x88], 0
je 0x5f470f7d
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_3394
test eax, eax
jne 0x5f470f7d
lea ecx, [ebp - 0x58]
call sym.MFC42D.DLL_Ordinal_454
lea ecx, [ebp - 0x58]
call sym.MFC42D.DLL_Ordinal_877
push eax
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_3170
lea ecx, [ebp - 0x48]
call sym.MFC42D.DLL_Ordinal_454
push 1
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x5f470ef1
push 0x493
push str.dlgprop.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f470ef1
int3
xor eax, eax
test eax, eax
jne 0x5f470ed7
lea ecx, [ebp - 0x48]
call sym.MFC42D.DLL_Ordinal_877
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x16
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x54]
push edx
lea ecx, [ebp - 0x58]
call sym.MFC42D.DLL_Ordinal_5072
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_4932
mov dword [ebp - 0x5c], 0
jmp 0x5f470f3c
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jae 0x5f470f7d
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx*4 + 0x5f4cd358]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x5f470f7b
push 0
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x5f470f33
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_3065
and eax, 0x40000000
test eax, eax
jne 0x5f470f98
push 0
mov ecx, dword [ebp - 0x64]
call sym.MFC42D.DLL_Ordinal_1359
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret