Function at 0x43de90
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e136
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x9b0
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.00475700
xorps xmm0, xmm0
mov dword [ebp - method.WTL::CMessageLoop.virtual_0], vtable.WTL::CMessageLoop.0
add esp, 0xc
mov dword [ebp - 0x23c], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x238], 0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x21c], 0
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 4], 0
mov eax, dword [0x4d0708]
add eax, 0x10
push eax
mov dword [ebp - 0x9c0], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4d06a4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi + 8]
xor edx, edx
add ecx, 1
mov edi, eax
push 4
setb dl
neg edx
or edx, ecx
push edx
push dword [esi]
call fcn.00478b8a
add esp, 0xc
test eax, eax
je 0x43dfb9
mov dword [esi], eax
xor ecx, ecx
mov eax, dword [esi + 8]
add eax, 1
push 4
setb cl
neg ecx
or ecx, eax
push ecx
push dword [esi + 4]
call fcn.00478b8a
add esp, 0xc
test eax, eax
je 0x43dfb9
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x43dfaa
mov dword [ecx], edi
mov eax, dword [esi + 4]
add eax, edx
je 0x43dfb6
lea ecx, [ebp - 0x250]
mov dword [eax], ecx
inc dword [esi + 8]
push dword [ebp - 0x9c0]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x724
lea eax, [ebp - 0x9b8]
push 0
push eax
call fcn.00475700
add esp, 0xc
lea ecx, [ebp - 0x9b8]
call fcn.0043e510
push 0x200
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00475700
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x100
push eax
push dword [0x4cc364]
push dword [0x4cf788]
call dword [sym.imp.USER32.dll_LoadStringW]
movzx eax, word [0x4cc364]
push eax
push dword [0x4cf788]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov edi, eax
mov ecx, 0x4cc308
lea eax, [ebp - 0x998]
push eax
call fcn.004439a0
movzx esi, ax
mov eax, dword [ebp - 0x9a4]
test eax, eax
jne 0x43e13c
call fcn.0045d2c8
mov dword [ebp - 0x9a4], eax
test eax, eax
jne 0x43e13c
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 0x9b9], 0
lea ecx, [ebp - 0x36c]
call fcn.0043ef30
lea ecx, [ebp - 0x538]
call fcn.00418b60
lea ecx, [ebp - 0x638]
call fcn.0043f340
lea ecx, [ebp - 0x78c]
call fcn.0043f210
lea ecx, [ebp - 0x8d0]
call fcn.0043f0a0
lea ecx, [ebp - 0x97c]
call fcn.0043efe0
mov eax, dword [ebp - 0x9a4]
test eax, eax
je 0x43e0ca
push eax
call fcn.0045d374
mov eax, dword [ebp - 0x240]
mov dword [ebp - method.WTL::CMessageLoop.virtual_0], vtable.WTL::CMessageLoop.0
test eax, eax
je 0x43e0f1
push eax
call fcn.00478b6d
add esp, 4
mov dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
test eax, eax
je 0x43e118
push eax
call fcn.00478b6d
add esp, 4
mov al, byte [ebp - 0x9b9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 0
push eax
call fcn.0045d3ca
test si, si
je 0x43e071
lea eax, [ebp - 0x9b8]
mov dword [ebp - 0x9b0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x4cc36c
mov dword [ebp - 0x9ac], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4cc384]
mov dword [ebp - 0x9a8], eax
lea eax, [ebp - 0x9b0]
push 0x4cc36c
mov dword [0x4cc384], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4cc300]
mov edx, dword [0x4cc2f8]
sub eax, edx
mov ecx, dword [0x4cc2f4]
push 0
push dword [0x4cf784]
push edi
push 0
push eax
mov eax, dword [0x4cc2fc]
sub eax, ecx
push eax
push edx
push ecx
push 0x6ca0000
lea eax, [ebp - 0x218]
push eax
push esi
push 0x40000
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x43e071
movzx eax, word [0x4cc364]
push eax
push dword [0x4cf788]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp byte [0x4cbeac], 0
mov esi, dword [0x4cc100]
mov dword [ebp - 0x988], eax
mov eax, dword [0x4cc0fc]
mov dword [ebp - 0x9c0], eax
je 0x43e23d
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push dword [0x4cbea8]
push eax
call edi
cmp byte [0x4cbeac], 0
mov dword [ebp - 0x9c0], eax
je 0x43e23d
push 0x64
push dword [0x4cbea8]
push esi
call edi
mov esi, eax
push 0x38
lea eax, [ebp - 0x288]
mov dword [ebp - 0x28c], 0x3c
push 0
push eax
call fcn.00475700
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x9b4]
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [ebp - 0x274]
sub eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x278]
sub ecx, dword [ebp - 0x270]
sub eax, dword [ebp - 0x284]
sub ecx, dword [ebp - 0x288]
add eax, dword [ebp - 0x27c]
add ecx, dword [ebp - 0x280]
add eax, esi
add ecx, dword [ebp - 0x9c0]
push 0x80
push eax
push ecx
push 0
push 0
push 0
push dword [ebp - 0x9b4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
lea ecx, [ebp - 0x9b4]
call fcn.0041ddc0
push 5
push dword [ebp - 0x9b4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ecx, 1
xor esi, esi
mov dword [ebp - 0x9c0], ecx
nop dword [eax]
test ecx, ecx
je 0x43e326
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x234]
push eax
call edi
test eax, eax
jne 0x43e326
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x250]
push esi
mov eax, dword [eax + 8]
call eax
inc esi
test eax, eax
jne 0x43e2f4
mov dword [ebp - 0x9c0], eax
push 0
push 0
push 0
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov ecx, dword [ebp - 0x9c0]
cmp eax, 0xffffffff
je 0x43e2f0
test eax, eax
je 0x43e3a9
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x250]
mov eax, dword [eax + 4]
call eax
test eax, eax
jne 0x43e37e
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x250]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x9c0]
test eax, eax
je 0x43e2f0
jmp 0x43e2df
mov eax, dword [ebp - 0x22c]
mov edx, 0x500
push str.After_message_loop
mov ecx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbutils.cpp
mov dword [ebp - 0x9c0], eax
call fcn.0043ac70
add esp, 4
call fcn.004448e0
mov edi, dword [0x4d0708]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4d06a8]
test esi, esi
je 0x43e433
cmp dword [esi + 4], 0
jle 0x43e401
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x4d06a8]
test esi, esi
je 0x43e433
mov eax, dword [esi]
test eax, eax
je 0x43e41a
push eax
call fcn.00478b6d
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0045d989
add esp, 8
push edi
mov dword [0x4d06a8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4d06a4]
test esi, esi
je 0x43e48c
mov eax, dword [esi]
test eax, eax
je 0x43e463
push eax
call fcn.00478b6d
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x43e47a
push eax
call fcn.00478b6d
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.0045d989
add esp, 8
mov byte [ebp - 4], 2
mov esi, dword [0x4d069c]
test esi, esi
je 0x43e4c3
cmp dword [esi], 0
je 0x43e4c3
nop
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43e4ad
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x43e4a0
mov esi, dword [0x4cc39c]
mov ecx, dword [0x4cc3a0]
cmp esi, ecx
jae 0x43e4ed
mov eax, dword [esi]
test eax, eax
je 0x43e4e6
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x4cc3a0]
add esi, 4
cmp esi, ecx
jb 0x43e4d3
mov ecx, 0x4d0670
call fcn.00404bf0
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x9c0], 0
setne byte [ebp - 0x9b9]
jmp 0x43e078