Function at 0x415740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x583384]
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 0x4157d4
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 0x415807
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 [0x57f6e0]
mov dword [ebp - 8], ecx
test eax, eax
mov ecx, str.COMBOBOX
cmovne ecx, eax
lea eax, [ebx + 0x20]
push eax
push 0x57f6b0
push 0x58c7d0
push 0x58d480
mov dword [0x57f6e0], ecx
call fcn.00412380
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.004d2ae0
test eax, eax
jne 0x415899
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x20
cmp dword [ebx + 0x6c], 0
jne 0x4158ba
mov esi, dword [ebx + 4]
call fcn.00406af0
test al, al
je 0x4158ba
push 0x5486e0
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.00517590
add esp, 0xc
lea ecx, [ebp - 0x84]
call fcn.0041f3f0
cmp dword [ebx + 0x70], 0
je 0x4158f2
push dword [ebx + 0x70]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4158f2
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 0x415884
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 0x415932
push eax
lea ecx, [ebx + 0x74]
call fcn.0041ffd0
mov ecx, dword [ebp - 0x88]
xor esi, esi
mov eax, dword [ecx + 4]
test eax, eax
jle 0x415968
test esi, esi
js 0x415992
cmp esi, eax
jge 0x415992
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 0x415941
cmp dword [ebp - 0x98], 3
push dword [ebp - 0x8c]
jne 0x4159a3
push 0xffffffffffffffff
push 0x158
push dword [ebx + 4]
call edi
cmp eax, 0xffffffff
je 0x4159bd
push 0
push eax
push 0x14e
jmp 0x4159b8
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.00517590
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetComboBoxInfo]
test eax, eax
je 0x415884
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.00513512
mov esp, ebp
pop ebp
ret 0x20