Function at 0x7c4a684a
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x7c4a6a1c
call sub.MSVCRT40.dll__EH_prolog
sub esp, 0x1c
cmp dword [ebp + 0x10], 0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, dword [ebp + 0xc]
jne 0x7c4a6868
mov dword [ebp + 0x10], ebx
cmp dword [esi + 0x20], 0
jne 0x7c4a6a61
mov dword [ebp - 0x14], 0x46000000
cmp word [esi + 0xce], 0
je 0x7c4a688a
mov dword [ebp - 0x14], 0x46800000
cmp dword [esi + 0xd0], 0
jne 0x7c4a6897
or byte [ebp - 0x11], 8
xor eax, eax
cmp word [esi + 0xcc], ax
mov dword [ebp - 0x18], eax
je 0x7c4a68ac
mov dword [ebp - 0x18], 0x200
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x168]
test eax, eax
je 0x7c4a68c5
mov ecx, esi
call sym.MFC40.DLL_Ordinal_1774
test eax, eax
je 0x7c4a6932
mov ecx, esi
call sym.MFC40.DLL_Ordinal_1773
test eax, eax
je 0x7c4a6932
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
xor edi, edi
mov eax, dword [ebx + 0xc]
push edi
sub eax, edx
push edi
push dword [ebp + 8]
push eax
mov eax, dword [ebx + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, esi
push dword [ebp - 0x14]
push dword [esi + 0xb8]
push edi
push dword [ebp - 0x18]
call sym.MFC40.DLL_Ordinal_1869
mov eax, dword [esi + 0x20]
test eax, eax
je 0x7c4a690e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x110]
mov ecx, dword [ebp - 0xc]
pop edi
cmp dword [esi + 0x20], 1
mov dword fs:[0], ecx
pop esi
sbb eax, eax
pop ebx
inc eax
mov esp, ebp
pop ebp
ret 0xc
lea edi, [esi + 0x94]
mov eax, dword [edi]
test eax, eax
jne 0x7c4a6a2f
push 0x44
call sym.MFC40.DLL_Ordinal_729
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x7c4a6a15
mov ecx, eax
call sym.MFC40.DLL_Ordinal_509
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
mov dword [eax + 0x40], 0
mov dword [eax], vtable.CReflectorWnd.0
push dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [edi], eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [edi]
call sym.MFC40.DLL_Ordinal_1836
test eax, eax
jne 0x7c4a69ab
mov dword [edi], 0
mov eax, dword [edi]
xor ecx, ecx
test eax, eax
je 0x7c4a690e
mov eax, dword [eax + 0x20]
test eax, eax
je 0x7c4a69ee
push ecx
push ecx
push eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push eax
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [ebp - 0x14]
push dword [esi + 0xb8]
push ecx
push dword [ebp - 0x18]
mov ecx, esi
call sym.MFC40.DLL_Ordinal_1869
cmp dword [esi + 0x20], 0
je 0x7c4a6a49
push 5
mov ecx, dword [edi]
call sym.MFC40.DLL_Ordinal_5506
push 5
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x7c4a690e
xor eax, eax
jmp 0x7c4a697d
mov eax, dword [eax + 0x20]
test eax, eax
je 0x7c4a69ab
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x7c4a69ab
mov ecx, dword [edi]
xor ebx, ebx
test ecx, ecx
je 0x7c4a690e
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov dword [edi], ebx
jmp 0x7c4a690e
mov ecx, esi
call sym.MFC40.DLL_Ordinal_3023
push dword [eax + 0x20]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebp + 8]
je 0x7c4a6a88
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [eax + 0x16c]
push 5
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x94], 0
jne 0x7c4a6abf
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
push 1
mov eax, dword [ebx + 0xc]
sub eax, edx
push eax
mov eax, dword [ebx + 8]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x7c4a6918
mov eax, dword [ebp + 0x10]
push 1
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, edx
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, edi
call sym.MFC40.DLL_Ordinal_3786
push 1
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push eax
push dword [esi + 0x88]
push dword [esi + 0x84]
jmp 0x7c4a6ab1