Function at 0x4be100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5811a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov edx, 0x78
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x30], ecx
mov dword [edi + 0x22c], eax
mov esi, dword [eax + 0x54c]
cmp esi, 0xffffffff
cmove esi, edx
cmp dword [eax + 0x550], ebx
jne 0x4be164
test ecx, ecx
je 0x4be154
push ecx
call fcn.004788e0
cmp eax, 1
jle 0x4be154
imul ebx, eax, 0x17
add ebx, 5
cmp ebx, esi
mov eax, 0x1c
cmovle esi, ebx
cmp esi, 0x16
cmovl esi, eax
mov ebx, dword [ebp + 0xc]
push 2
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x4be459
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push ecx
movups xmmword [ebp - 0x2c], xmm0
push eax
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], 0x28
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x4be459
mov ecx, dword [ebp + 0x14]
lea eax, [esi + ebx]
add eax, ecx
cmp eax, dword [ebp - 0xc]
jle 0x4be1b6
sub ebx, esi
jmp 0x4be1b8
add ebx, ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
lea eax, [ecx + edx]
sub ecx, edx
cmp eax, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
cmovg eax, ecx
mov ecx, dword [edi + 0x22c]
mov dword [ebp + 8], eax
call fcn.00430320
cmp eax, 0x60
je 0x4be20b
movd xmm0, eax
movd xmm1, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
divss xmm0, dword [0x507100]
divss xmm1, xmm0
addss xmm1, dword [0x5066d4]
cvttss2si eax, xmm1
mov dword [ebp + 0x10], eax
jmp 0x4be20e
mov eax, dword [ebp + 0x10]
push 0
push 0
push 0
push esi
push eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0
push 0x86000000
push 0x8000088
call fcn.0040f2a0
test eax, eax
je 0x4be459
push 0
push 0
push 0
push 0
mov ecx, edi
call fcn.00415d70
push dword [edi + 0x70]
push esi
push dword [ebp + 0x10]
push 0
push 0
call fcn.004a56b0
push 0x1f
push eax
mov dword [edi + 0x228], eax
call fcn.00429dd0
push 0x16
push 0x16
push dword [edi + 0x228]
call fcn.004a5970
push 2
push 2
push 2
push 2
push dword [edi + 0x228]
call fcn.00433aa0
push 0x17
push 0xa
push dword [edi + 0x228]
call fcn.00470250
push 1
push dword [edi + 0x228]
call fcn.004a5ba0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4be2b3
push eax
push dword [edi + 0x228]
call fcn.004a5600
push 0
push dword [edi + 0x228]
call fcn.004703e0
mov eax, dword [edi + 0x22c]
mov ecx, dword [eax + 0x560]
test ecx, ecx
je 0x4be303
push ecx
call fcn.004b8a00
mov ebx, eax
add esp, 4
cmp dword [ebx + 0x34], 0
je 0x4be349
push 2
call fcn.004b8af0
push dword [ebx + 0x34]
mov esi, eax
call fcn.004b8ae0
push esi
mov dword [esi + 0x34], eax
push dword [edi + 0x228]
call fcn.004a59e0
jmp 0x4be349
cmp dword [eax + 0x574], 0
jbe 0x4be327
add eax, 0x564
cmp dword [eax + 0x14], 8
jb 0x4be319
mov eax, dword [eax]
push eax
push dword [edi + 0x228]
call fcn.004a5a40
jmp 0x4be349
cmp dword [eax + 0x58c], 0
jbe 0x4be349
add eax, 0x57c
cmp dword [eax + 0x14], 0x10
jb 0x4be33d
mov eax, dword [eax]
push eax
push dword [edi + 0x228]
call fcn.004a5b00
mov ebx, dword [edi + 0x228]
push 0x114
call fcn.004c7a8c
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
je 0x4be39b
push str.CComboBoxWndUI::OnListBoxSelect
lea eax, [esi + 0x10]
mov dword [esi], vtable.xc_event.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0x104
mov byte [eax], 0
push eax
mov dword [esi + 4], 0
call fcn.004e0e34
add esp, 0xc
jmp 0x4be39d
xor esi, esi
push 0xc
call fcn.004c7a8c
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4be3c0
mov dword [eax], vtable.bind_event_cpp__int__class_CComboBoxWndUI__unsigned_char____cdecl_CComboBoxWndUI::__int__int__int___.0
mov dword [eax + 4], edi
mov dword [eax + 8], 0x4be470
jmp 0x4be3c2
xor eax, eax
push esi
push 0x56
push ebx
mov dword [esi + 8], eax
call fcn.00434140
test eax, eax
jne 0x4be3e8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
cmp eax, fcn.00408df3
jne 0x4be3e6
call fcn.00408df3
jmp 0x4be3e8
call eax
push str.CComboBoxWndUI::OnActivate
push 0x4293d0
push edi
push 0
push 0
push 6
push dword [edi + 0x70]
call fcn.004bdf30
push str.CComboBoxWndUI::OnActivateApp
push 0x4293d0
push edi
push 0
push 0
push 0x1c
push dword [edi + 0x70]
call fcn.004bdf30
push str.CComboBoxWndUI::OnMouseAactivate
push 0x4be4b0
push edi
push 0
push 0
push 0x21
push dword [edi + 0x70]
call fcn.004bdf30
add esp, 0x54
push 8
push dword [edi + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c77a6
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c77a6
mov esp, ebp
pop ebp
ret 0x1c