Function at 0x4790c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x4e5070]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x24], esi
lea ecx, [esi + 0xc74]
mov dword [esp + 0x10], edi
mov dword [edi + 0x6e4], esi
mov dword [edi + 0x6e8], 0
mov eax, dword [ecx]
cmp eax, vtable.UiLib::CComboUI.0
jne 0x4793a1
mov eax, dword [ecx + 0x24]
mov dword [edi + 0x6ec], eax
mov eax, dword [edi + 0x6e4]
mov edx, dword [eax + 0xd38]
mov edi, dword [eax + 0xd3c]
mov eax, dword [esi]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], edi
cmp eax, vtable.UiLib::CComboUI.2.0
jne 0x4793ab
lea eax, [esi + 0x1ec]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x40]
movaps xmmword [esp + 0x30], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
add edi, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edi
test edx, edx
jle 0x479172
add edx, ecx
mov dword [esp + 0x48], edx
jmp 0x479176
mov edx, dword [esp + 0x48]
sub edx, ecx
sub edi, eax
mov dword [esp + 0x20], edx
lea ecx, [esi + 0xc2c]
xor edx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 8], edx
xor edi, edi
mov dword [esp + 0x14], ecx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, vtable.UiLib::CComboUI.1.0
jne 0x4793bb
mov eax, dword [ecx + 8]
cmp edi, eax
jge 0x47923d
mov eax, dword [ecx]
mov edx, dword [eax]
cmp eax, vtable.UiLib::CComboUI.1.0
jne 0x4793cd
test edi, edi
js 0x4791d8
cmp edi, dword [ecx + 8]
jge 0x4791d8
mov eax, dword [ecx + 4]
mov esi, dword [eax + edi*4]
jmp 0x4791da
xor esi, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x100]
cmp eax, method.UiLib::CCheckBoxUI.virtual_256
jne 0x4793d7
cmp byte [esi + 0x234], 0
je 0x4791ff
cmp byte [esi + 0x235], 0
jne 0x47920a
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
inc edi
jmp 0x4791a0
push dword [esp + 0x1c]
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push dword [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x198]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 8]
test eax, eax
jle 0x479203
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 8], edx
inc edi
jmp 0x4791a0
mov ecx, dword [esp + 0xc]
cmp edx, ecx
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
cmovl ecx, edx
add eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
cmp eax, vtable.UiLib::CComboUI.2.0
jne 0x4793e8
mov eax, dword [esi + 0x40]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
lea ecx, [esp + 0x40]
push 2
push ecx
push 0
push dword [eax + 4]
call edi
lea eax, [esp + 0x50]
xorps xmm0, xmm0
push eax
mov eax, dword [esp + 0x14]
push 1
movaps xmmword [esp + 0x58], xmm0
movaps xmmword [esp + 0x68], xmm0
push dword [eax + 4]
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x5c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x70]
jle 0x47930a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
test eax, eax
jle 0x4792da
add eax, ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov dword [esp + 0x4c], ecx
cmp eax, vtable.UiLib::CComboUI.2.0
jne 0x4793f4
mov eax, dword [esi + 0x40]
push 2
lea ecx, [esp + 0x44]
push ecx
push 0
push dword [eax + 4]
call edi
mov eax, dword [esi]
cmp eax, vtable.UiLib::CComboUI.2.0
jne 0x479400
mov eax, dword [esi + 0x40]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x50]
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x50]
sub ecx, edx
push ecx
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
push edx
push 0x80
push SysReAllocString
push 0
push dword [eax + 4]
call fcn.00428ab0
mov esi, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x47936c
nop dword [eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x479360
mov eax, dword [esp + 0x10]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.00493122
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax + 4]
call eax
jmp 0x47910f
mov eax, dword [eax + 0x44]
mov ecx, esi
call eax
mov edx, dword [esp + 0x18]
jmp 0x479142
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
jmp 0x4791b0
push edi
call edx
mov esi, eax
jmp 0x4791da
mov ecx, esi
call eax
test al, al
je 0x4791ff
jmp 0x47920a
mov eax, dword [eax + 0x1c]
mov ecx, esi
call eax
jmp 0x479268
mov eax, dword [eax + 0x1c]
mov ecx, esi
call eax
jmp 0x4792fc
mov eax, dword [eax + 0x1c]
mov ecx, esi
call eax
jmp 0x47931a