Function at 0x415ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, ecx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
push 0x17
mov dword [ebp - 0x90], edi
mov byte [ebx + 0x30], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x34], eax
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
push dword [ebx + 4]
mov dword [ebx + 0x68], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415b64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp + 0x18]
mov eax, ecx
shr eax, 9
not eax
and eax, 1
or eax, 0x42200142
mov esi, eax
or esi, 0x2000
and cl, 0x10
cmove esi, eax
mov eax, esi
and eax, 3
mov dword [ebp - 0x98], eax
cmp eax, 3
mov eax, dword [edi]
je 0x415b97
inc eax
mov edx, dword [edi + 4]
push dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x10], edx
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + edx*2]
add eax, eax
sub ecx, eax
mov eax, dword [0x586738]
mov dword [ebp - 8], ecx
test eax, eax
mov ecx, str.COMBOBOX
cmovne ecx, eax
lea eax, [ebx + 0x20]
push eax
push 0x586708
push 0x593dd4
push 0x594af8
mov dword [0x586738], ecx
call fcn.00411840
add esp, 0x14
movzx eax, ax
mov ecx, ebx
push 0
push eax
push 0
push 0
push esi
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x94]
call fcn.004d6f00
test eax, eax
jne 0x415c29
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x20
cmp dword [ebx + 0x6c], 0
jne 0x415c4a
mov esi, dword [ebx + 4]
call fcn.004050f0
test al, al
je 0x415c4a
push 0x54f038
push esi
call dword [sym.imp.UxTheme.dll_OpenThemeData]
mov dword [ebx + 0x6c], eax
push 0x3c
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea ecx, [ebp - 0x84]
call fcn.0041eec0
cmp dword [ebx + 0x70], 0
je 0x415c82
push dword [ebx + 0x70]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x415c82
mov dword [ebx + 0x70], 0
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebx + 0x70], eax
test eax, eax
je 0x415c14
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push dword [ebx + 4]
call edi
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x415cc2
push eax
lea ecx, [ebx + 0x74]
call fcn.0041fa80
mov ecx, dword [ebp - 0x88]
xor esi, esi
mov eax, dword [ecx + 4]
test eax, eax
jle 0x415cf8
test esi, esi
js 0x415d22
cmp esi, eax
jge 0x415d22
mov eax, dword [ecx]
push dword [eax + esi*4]
push 0
push 0x143
push dword [ebx + 4]
call edi
mov ecx, dword [ebp - 0x88]
inc esi
mov eax, dword [ecx + 4]
cmp esi, eax
jl 0x415cd1
cmp dword [ebp - 0x98], 3
push dword [ebp - 0x8c]
jne 0x415d33
push 0xffffffffffffffff
push 0x158
push dword [ebx + 4]
call edi
cmp eax, 0xffffffff
je 0x415d4d
push 0
push eax
push 0x14e
jmp 0x415d48
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xffff0000
push 0
push 0x142
push dword [ebx + 4]
call edi
mov ecx, dword [ebp - 0x90]
mov ax, word [ecx + 0xc]
sub ax, word [ecx + 4]
sub ax, 6
movzx eax, ax
push eax
push 0xffffffffffffffff
push 0x153
push dword [ebx + 4]
call edi
push 0x30
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], 0x34
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetComboBoxInfo]
test eax, eax
je 0x415c14
mov esi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x44]
push eax
call esi
lea eax, [ebp - 0x34]
push eax
lea edi, [ebx + 0x54]
push edi
call esi
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]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x105
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x20