Function at 0x5f465877
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
call dword [edx + 0xc8]
mov dword [ebp - 4], eax
push 0x70f
push str.winfrm.cpp
mov eax, dword [ebp - 4]
push eax
call sym.MFC42D.DLL_Ordinal_1042
cmp dword [ebp + 8], 0
je 0x5f4658c9
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x6c], 0
je 0x5f4658c9
push 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x6c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [edx]
call dword [eax + 0x64]
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x70
call sym.MFC42D.DLL_Ordinal_2550
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5f46599c
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x70
call sym.MFC42D.DLL_Ordinal_2730
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
push 0x71a
push str.winfrm.cpp
mov eax, dword [ebp - 0x14]
push eax
call sym.MFC42D.DLL_Ordinal_1042
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
and eax, 0xffff
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xe800
jb 0x5f465997
cmp dword [ebp - 0x10], 0xe81f
ja 0x5f465997
mov ecx, dword [ebp - 0x10]
sub ecx, 0xe800
mov eax, 1
shl eax, cl
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
call dword [edx + 0xd0]
test eax, eax
je 0x5f465964
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
call dword [edx + 0xd8]
test eax, eax
je 0x5f46597f
cmp dword [ebp - 0x10], 0xe81f
je 0x5f465997
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
and ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x28]
call sym.MFC42D.DLL_Ordinal_4945
jmp 0x5f4658de
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
cmp dword [ebp + 8], 0
je 0x5f465afe
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0xa0], 0
je 0x5f4659cf
push 0x72a
push str.winfrm.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f4659cf
int3
xor eax, eax
test eax, eax
jne 0x5f4659af
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0xa0], eax
push 0
mov ecx, dword [ebp - 0x28]
call sym.MFC42D.DLL_Ordinal_4948
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5f465a1e
push 0x732
push str.winfrm.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f465a1e
int3
xor edx, edx
test edx, edx
jne 0x5f465a04
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x5f465a75
push 1
mov ecx, dword [ebp - 0x28]
call sym.MFC42D.DLL_Ordinal_3309
push 0
mov ecx, dword [ebp - 0x28]
call sym.MFC42D.DLL_Ordinal_4739
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xbc]
and ecx, 0xfffffffe
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x4c]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x4c], 0
push 0x7915
mov ecx, dword [ebp - 0x28]
call sym.MFC42D.DLL_Ordinal_3419
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0xe900
je 0x5f465ab8
push 0xe900
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5f465acf
push 0xea21
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x300000
test eax, eax
je 0x5f465af9
push str.Warning:_scroll_bars_in_frame_windows_may_cause_unusual_behaviour._n
push 0x5f4abab0
call sym.MFC42D.DLL_Ordinal_1179
add esp, 8
jmp 0x5f465c19
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0xa0], 0
push 0xea21
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5f465b63
push 0xe900
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5f465b52
push 0xea21
push 0xfffffffffffffff4
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xe900
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x5f465b8a
push 1
mov ecx, dword [ebp - 0x28]
call sym.MFC42D.DLL_Ordinal_3309
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x6c], 0
je 0x5f465ba6
push 1
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x6c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [edx]
call dword [eax + 0x64]
push 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
call dword [edx + 0xd0]
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xe900
je 0x5f465bd7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x5f465bf1
push 0x773
push str.winfrm.cpp
call sym.MFC42D.DLL_Ordinal_1041
test eax, eax
je 0x5f465bf1
int3
xor edx, edx
test edx, edx
jne 0x5f465bd7
push 5
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x4c], eax
push 1
mov ecx, dword [ebp - 0x28]
call sym.MFC42D.DLL_Ordinal_4948
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8