Function at 0x4846b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov byte [ebp - 8], 0
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
jne 0x484762
mov eax, dword [0x52e820]
test eax, eax
je 0x4846eb
mov ecx, dword [eax + 0x190]
jmp 0x4846f1
mov ecx, dword [0x52e824]
push str.AddDialogChild:_Bad_parent_dialog_specified
push str.AddDialogChild:_Bad_parent_dialog_specified
push eax
push ecx
push 0
push 0x1ad7
push str.LibMain.c
push 0x103
call fcn.004c66b0
push 0x1ad8
push str.LibMain.c
push str._hs__d__:_AddDialogChild:_Bad_parent_dialog_specified
lea eax, [ebp - 0x134]
push 0x12c
push eax
call fcn.00482630
add esp, 0x34
mov byte [ebp - 8], 0
lea eax, [ebp - 0x134]
push 0x10
push str.Program_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x148], eax
test eax, eax
jne 0x4847c1
mov eax, dword [0x52e820]
test eax, eax
je 0x484785
mov ecx, dword [eax + 0x190]
jmp 0x48478b
mov ecx, dword [0x52e824]
push str.AddDialogChild:_Bad_child_frame_id_specified
push str.AddDialogChild:_Bad_child_frame_id_specified
push eax
push ecx
push 0
push 0x1ae1
push str.LibMain.c
push 0x103
call fcn.004c66b0
push 0x1ae2
push str.LibMain.c
push str._hs__d__:_AddDialogChild:_Bad_child_frame_id_specified
jmp 0x484722
mov eax, dword [0x52e838]
push esi
test eax, eax
je 0x48480d
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x48480d
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x4847e9
mov dword [0x52e83c], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x48480d
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x48480d
push 0x4ef64c
push ebx
call eax
mov esi, eax
mov dword [ebp - 0x14c], esi
jmp 0x484820
push 0x4ef64c
push ebx
call fcn.004939c0
mov esi, eax
mov dword [ebp - 0x14c], eax
add esp, 8
test esi, esi
jne 0x48483a
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.00493100
add esp, 8
test eax, eax
jne 0x484970
push 0x1aec
push str.LibMain.c
push dword [ebp - 0x148]
push str.OCLD
push edi
call fcn.004a06f0
push dword [ebp - 0x148]
push esi
call fcn.00493100
add esp, 0x1c
mov esi, eax
push 0
push dword [ebp - 0x148]
mov dword [esi + 0x50], 7
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
movups xmmword [ebp - 0x144], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x144]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebp - 0x14c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [edx + 0x118]
add ax, word [ebp - 0x140]
movzx ecx, ax
movzx eax, word [edx + 0x114]
add ax, word [ebp - 0x144]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x900d
push edi
call ebx
push 0x60
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [esi + 0x5c], eax
test eax, eax
je 0x484928
push 0x60
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x5c]
add esp, 0xc
test eax, eax
jne 0x484932
push 0x60
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0x150]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [eax + 0x50], xmm0
mov eax, dword [esi + 0x5c]
mov dword [eax], edi
mov dword [eax + 0x5c], ecx
jmp 0x4849a5
lea eax, [ebp - 0x144]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x148]
movups xmmword [ebp - 0x144], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x144]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x484a05
mov eax, dword [0x52e838]
test eax, eax
je 0x4849ec
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x4849ec
mov edx, dword [eax + 0x1f0c]
test edx, edx
je 0x4849d0
mov dword [0x52e83c], edx
mov ecx, dword [eax + 4]
test ecx, 0x40000000
je 0x4849ec
mov eax, dword [eax + 0x1f2c]
test eax, eax
je 0x4849ec
push 0x4ef64c
push edi
call eax
jmp 0x4849f7
push 0x4ef64c
push edi
call fcn.004939c0
add esp, 8
test eax, eax
je 0x484a05
mov dword [eax + 0x44], 1
push 0
push 0
push 5
push edi
call ebx
mov ecx, dword [ebp - 0x138]
mov esi, dword [ebp - 0x140]
sub ecx, esi
mov edx, dword [ebp - 0x144]
push 0
push ecx
mov ecx, dword [ebp - 0x13c]
sub ecx, edx
push ecx
push esi
push edx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 4]
mov eax, edi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret