Function at 0x4a8800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x64], edx
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x20]
xor eax, eax
push 0x17
mov dword [ebp - 0x78], ebx
mov dword [esi + 0x2c], edx
mov word [esi + 0x30], ax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x34], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
mov dword [esi + 0x40], eax
call edi
push 0xe
mov dword [esi + 0x64], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a8888
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 0x18]
mov edi, eax
shr edi, 9
not edi
and edi, 1
or edi, 0x42200042
test al, 0x10
je 0x4a88a5
or edi, 0x2000
mov eax, edi
and eax, 3
mov dword [ebp - 0x70], eax
cmp eax, 3
mov eax, dword [ebx]
jne 0x4a88b9
add eax, 3
jmp 0x4a88ba
inc eax
push 0
push ecx
mov dword [ebp - 0x68], eax
mov eax, esp
mov dword [eax], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov eax, ecx
sub eax, edx
push 0
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x68]
push edi
push 0
push ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0x74]
mov eax, esp
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x80], ebx
mov dword [eax], ecx
push edx
mov ecx, esi
call fcn.004a8140
test eax, eax
jne 0x4a8924
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x20
cmp dword [esi + 0x6c], 0
jne 0x4a8945
mov edi, dword [esi + 4]
call fcn.0049fe50
test al, al
je 0x4a8945
push 0x513364
push edi
call dword [sym.imp.UxTheme.dll_OpenThemeData]
mov dword [esi + 0x6c], eax
push 0x5c
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004eb2d0
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.0049fa30
cmp dword [esi + 0x70], 0
je 0x4a8978
mov ecx, dword [esi + 0x70]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4a8978
mov dword [esi + 0x70], 0
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x70], eax
test eax, eax
je 0x4a890f
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x30
push ecx
call ebx
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4a89b3
push eax
lea ecx, [esi + 0x74]
call fcn.004a7610
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 4]
xor edi, edi
test eax, eax
jle 0x4a89e8
test edi, edi
jl 0x4a8a0e
cmp edi, eax
jge 0x4a8a0e
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + edi*4]
mov ecx, dword [esi + 4]
push eax
push 0
push 0x143
push ecx
call ebx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
inc edi
cmp edi, eax
jl 0x4a89bf
cmp dword [ebp - 0x70], 3
mov eax, dword [ebp - 0x6c]
mov ecx, dword [esi + 4]
push eax
jne 0x4a8a1f
push 0xffffffffffffffff
push 0x158
push ecx
call ebx
cmp eax, 0xffffffff
je 0x4a8a38
push 0
push eax
push 0x14e
jmp 0x4a8a32
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffff0000
push 0
push 0x142
mov edx, dword [esi + 4]
push edx
call ebx
mov eax, dword [ebp - 0x78]
mov cx, word [eax + 0xc]
sub cx, word [eax + 4]
mov eax, dword [esi + 4]
sub cx, 6
movzx edx, cx
push edx
push 0xffffffffffffffff
push 0x153
push eax
call ebx
push 0x30
lea ecx, [ebp - 0xb8]
push 0
push ecx
mov dword [ebp - 0xbc], 0x34
call fcn.004eb2d0
mov eax, dword [esi + 4]
add esp, 0xc
lea edx, [ebp - 0xbc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetComboBoxInfo]
test eax, eax
je 0x4a890f
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [esi + 0x44]
push edx
call ebx
lea eax, [ebp - 0xa8]
push eax
lea edi, [esi + 0x54]
push edi
call ebx
push 0xffffffffffffffff
push 0
push edi
call dword [sym.imp.USER32.dll_InflateRect]
push 0
push 0xfffffffffffffffe
push edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 4]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x20