Function at 0x10043a80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x98
push ebx
push edi
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esi + 0x10], eax
call fcn.10043c80
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0x7fd], 0
mov edi, 0x40000080
je 0x10043ab5
mov edi, 0x400000a0
cmp byte [ecx + 0x765], 0
je 0x10043ac7
and edi, 0xffffff7f
or edi, 4
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax]
push 0
sub edx, ecx
push edx
mov edx, dword [esp + 0x14]
sub ebx, edx
push ebx
push ecx
push edx
push 0
push edi
push 0
push eax
mov ecx, esi
call sym.DTLUI.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
mov ecx, dword [esi + 0x10]
mov edi, dword [ecx + 0x74c]
cmp edi, 0xffffffff
je 0x10043b4d
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test edi, edi
jl 0x10043b40
mov ebx, dword [eax + 0x21c]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
sar ecx, 2
cmp edi, ecx
jge 0x10043b40
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
sar edx, 2
cmp edi, edx
jb 0x10043b36
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
jmp 0x10043b49
mov ecx, eax
call sym.DTLUI.dll_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetDefaultFontInfo_void_
mov eax, dword [eax]
test eax, eax
jne 0x10043b60
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.DTLUI.dll_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetDefaultFontInfo_void_
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 1
push ebx
push eax
push 0x30
push ecx
call edi
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x7f8]
mov ecx, dword [esi + 4]
push 0
push eax
push 0xc5
push ecx
call edi
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x7fd], 0
je 0x10043bad
movzx edx, word [eax + 0x7fe]
mov eax, dword [esi + 4]
push 0
push edx
push 0xcc
push eax
call edi
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x10043bdf
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esi + 4]
push 0
push 0
push 0xb9
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 3
push 0xd3
push ecx
call edi
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf0]
call eax
mov edx, dword [esi + 4]
xor ecx, ecx
cmp al, bl
sete cl
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 4]
xor ecx, ecx
cmp byte [eax + 0x7fc], bl
push 0
sete cl
push ecx
push 0xcf
push edx
call edi
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xf68]
or edx, eax
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov byte [esi + 0x18], bl
pop ebx
mov esp, ebp
pop ebp
ret 4