Function at 0x500ebc2f
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp dword [0x502898b8], edi
je 0x500ebc41
push edi
jmp 0x500ebc4f
cmp dword [0x5028e670], edi
je 0x500ebc4d
push 2
jmp 0x500ebc4f
push 1
lea eax, [esp + 0x14]
push eax
push 0x50011a28
push edi
call fcn.500eb7c6
cmp dword [esp + 0x10], edi
mov eax, 0x113f
jne 0x500ebc71
mov dword [0x50296a98], eax
jmp 0x500ebc87
xor ecx, ecx
cmp dword [esp + 0x10], 1
setne cl
add ecx, 0x1140
mov dword [0x50296a98], ecx
push dword [0x50296a98]
mov esi, dword [esp + 0x1c]
push 0x1141
push eax
push esi
mov dword [0x50296a9c], edi
mov dword [0x50296aa0], edi
mov dword [0x50296aa4], edi
call dword [sym.imp.USER32.dll_CheckRadioButton]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1144
push esi
call ebp
push 0x32d1
mov dword [esp + 0x1c], eax
call fcn.5005698e
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x14a
push ebx
push dword [esp + 0x24]
call edi
push 0x32d4
call fcn.5005698e
push eax
push 1
push ebx
push dword [esp + 0x24]
call edi
push 0x32d2
call fcn.5005698e
push eax
push 2
push ebx
push dword [esp + 0x24]
call edi
push 0x32d3
call fcn.5005698e
push eax
push 3
push ebx
push dword [esp + 0x24]
call edi
push 0x32d0
call fcn.5005698e
push eax
push 4
push ebx
push dword [esp + 0x24]
call edi
xor ebx, ebx
push ebx
push dword [0x5028fe5c]
push 0x14e
push dword [esp + 0x24]
call edi
call fcn.50106381
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
neg eax
sbb eax, eax
neg eax
push eax
push 0x1135
push esi
call edi
xor eax, eax
cmp dword [0x50289ae4], ebx
setne al
push eax
push 0x440
push esi
call edi
push 0xa0000
push ebx
push 0x406
mov ebx, 0x1323
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push dword [0x50289ae8]
push 1
push 0x405
push ebx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push dword [0x50289ae4]
push ebx
push esi
call ebp
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push dword [0x50289ae4]
push 0x49e
push esi
call ebp
push eax
call ebx
push dword [0x50289ae4]
push 0x49f
push esi
call ebp
push eax
call ebx
xor eax, eax
cmp dword [0x5028a230], eax
setne al
push eax
push 0x466
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 1
push dword [0x50289adc]
push 0x1139
push esi
call ebx
push 1
push dword [0x50289ae0]
push 0x113a
push esi
call ebx
push 1
call fcn.50141b43
mov ebx, eax
test ebx, ebx
je 0x500ebe8c
xor eax, eax
cmp byte [ebx + 0xd5], al
je 0x500ebe26
inc eax
cmp byte [ebx + 0xd6], 0
je 0x500ebe30
inc eax
cmp byte [ebx + 0xd7], 0
je 0x500ebe3a
inc eax
cmp byte [ebx + 0xd9], 0
je 0x500ebe44
inc eax
cmp byte [ebx + 0xda], 0
je 0x500ebe4e
inc eax
cmp byte [ebx + 0xdc], 0
je 0x500ebe58
inc eax
test eax, eax
jne 0x500ebe5f
push eax
jmp 0x500ebe6a
cmp eax, 6
jne 0x500ebe68
push 1
jmp 0x500ebe6a
push 2
push 0x4a4
push esi
call edi
xor eax, eax
cmp byte [ebx + 0xdb], al
setne al
push eax
push 0x4a5
push esi
call edi
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [0x5029a6c0]
cmp dword [eax + 0x14], 0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x500ebec4
push 0
push 0x405
push esi
call ebp
push eax
call edi
push 0
push 0x113a
push esi
call ebp
push eax
call edi
push 0
push 0x406
push esi
call ebp
push eax
call edi
mov eax, dword [0x5029a6c0]
cmp dword [eax + 0x14], 0
jne 0x500ebee1
call fcn.50272bbe
test eax, eax
je 0x500ebee1
call fcn.50272bbe
test eax, eax
jne 0x500ebefb
push 0
push 0x407
push esi
call ebp
push eax
call edi
push 0
push 0x1144
push esi
call ebp
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
pop ecx
ret 4