Function at 0x475190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
sub esp, 0x294
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 0x20]
xor eax, eax
push 0x17
mov dword [ebx + 0x2c], edx
mov word [ebx + 0x30], ax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x34], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
mov dword [ebx + 0x40], eax
call esi
push 0xe
mov dword [ebx + 0x64], eax
call esi
mov edx, dword [ebx + 4]
push edx
mov dword [ebx + 0x68], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4751f6
mov eax, dword [ebx + 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, 0x42200142
test al, 0x10
je 0x475213
or edi, 0x2000
mov ecx, dword [ebp + 0x14]
mov eax, edi
and eax, 3
mov dword [ebp + 0xc], eax
cmp eax, 3
mov eax, dword [ecx]
jne 0x47522a
add eax, 3
jmp 0x47522b
inc eax
push 0
push ecx
mov dword [ebp + 0x18], eax
mov eax, esp
mov dword [eax], 0
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov eax, edx
push 0
sub eax, esi
lea eax, [eax + eax*2]
push edi
lea edx, [edx + eax*2]
mov eax, dword [ebp + 0x18]
push 0
push ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
mov eax, esp
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], esi
mov dword [eax], ecx
push edx
mov ecx, ebx
call fcn.00473bf0
test eax, eax
jne 0x475282
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp dword [ebx + 0x6c], 0
jne 0x4752a3
mov esi, dword [ebx + 4]
call fcn.0046ead0
test al, al
je 0x4752a3
push str.COMBOBOX
push esi
call dword [sym.imp.UxTheme.dll_OpenThemeData]
mov dword [ebx + 0x6c], eax
push 0x5c
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.006100a0
push 0x1f0
lea ecx, [ebp - 0x290]
push 0
push ecx
mov dword [ebp - 0x294], 0x1f4
call fcn.006100a0
add esp, 0x18
push 0
lea edx, [ebp - 0x294]
push edx
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, 0x17
lea esi, [ebp - 0xfc]
lea edi, [ebp - 0xa0]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebx + 0x70], esi
je 0x475314
mov eax, dword [ebx + 0x70]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x475314
mov dword [ebx + 0x70], esi
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x70], eax
cmp eax, esi
je 0x475277
push esi
push eax
mov eax, dword [ebx + 4]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
cmp eax, esi
je 0x475353
push eax
lea ecx, [ebx + 0x74]
call fcn.00501d50
mov edi, dword [ebp + 0x24]
mov eax, dword [edi + 4]
test eax, eax
jle 0x475384
test esi, esi
js 0x4753b6
cmp esi, eax
jge 0x4753b6
mov edx, dword [edi]
mov eax, dword [edx + esi*4]
mov ecx, dword [ebx + 4]
push eax
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x47535d
cmp dword [ebp + 0xc], 3
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebx + 4]
push edx
jne 0x4753c7
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x158
push eax
call esi
cmp eax, 0xffffffff
je 0x4753ea
mov ecx, dword [ebx + 4]
push 0
push eax
push 0x14e
push ecx
call esi
jmp 0x4753ea
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebx + 4]
push 0xffff0000
push 0
push 0x142
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x14]
mov dx, word [eax + 0xc]
sub dx, word [eax + 4]
mov ecx, dword [ebx + 4]
sub dx, 6
movzx eax, dx
push eax
push 0xffffffffffffffff
push 0x153
push ecx
call esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
mov dword [ebp - 0x44], 0x34
call fcn.006100a0
mov ecx, dword [ebx + 4]
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetComboBoxInfo]
test eax, eax
je 0x475277
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [ebp - 0x40]
push edx
lea eax, [ebx + 0x44]
push eax
call edi
lea ecx, [ebp - 0x30]
push ecx
lea esi, [ebx + 0x54]
push esi
call edi
push 0xffffffffffffffff
push 0
push esi
call dword [sym.imp.USER32.dll_InflateRect]
push 0
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebx + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebx + 4]
push 0x105
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x20