Function at 0x47a310
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xa4
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb4]
push edi
push 0x261
push 0
call fcn.004998d0
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
add esp, 8
test eax, eax
mov ebx, 0x262
jle 0x47a3a8
mov ebp, eax
nop
push 0x40
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.004977c0
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [esp + 0x30]
push ecx
push 0
push 0x143
push 0x45a
push esi
add ebx, 1
call edi
lea edx, [esp + 0x30]
push edx
push 0
push 0x143
push 0x45b
push esi
call edi
lea eax, [esp + 0x30]
push eax
push 0
push 0x143
push 0x45c
push esi
call edi
sub ebp, 1
jne 0x47a350
mov eax, dword [0x5aa964]
mov ecx, eax
sub ecx, 4
je 0x47a3ca
sub ecx, 1
je 0x47a3c3
sub ecx, 1
jne 0x47a3cf
lea eax, [ecx + 5]
jmp 0x47a3cf
mov eax, 4
jmp 0x47a3cf
mov eax, 6
push 0
push eax
push 0x14e
push 0x45a
push esi
call edi
mov ecx, dword [0x5aa968]
mov eax, ecx
sub eax, 4
je 0x47a408
sub eax, 1
je 0x47a401
sub eax, 1
je 0x47a3fa
mov eax, ecx
jmp 0x47a40d
mov eax, 5
jmp 0x47a40d
mov eax, 4
jmp 0x47a40d
mov eax, 6
push 0
push eax
push 0x14e
push 0x45b
push esi
call edi
mov ecx, dword [0x5aa96c]
mov eax, ecx
sub eax, 4
je 0x47a446
sub eax, 1
je 0x47a43f
sub eax, 1
je 0x47a438
mov eax, ecx
jmp 0x47a44b
mov eax, 5
jmp 0x47a44b
mov eax, 4
jmp 0x47a44b
mov eax, 6
push 0
push eax
push 0x14e
push 0x45c
push esi
call edi
mov eax, dword [0x5aa970]
push eax
mov dword [0x5abaf0], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, dword [sym.imp.USER32.dll_CheckDlgButton]
xor ecx, ecx
cmp dword [0x5aa974], 0x434
mov dword [0x5abaf4], eax
sete cl
push ecx
push 0x434
push esi
call ebp
cmp dword [0x5aa980], 0
je 0x47a4a2
push 1
push 0x43a
push esi
call ebp
push 0x190
push 0
call fcn.004998d0
add esp, 8
test eax, eax
mov ebx, 0x191
jle 0x47a4f9
mov ebp, eax
lea esp, [esp]
push 0x40
lea edx, [esp + 0x34]
push edx
add ebx, 1
push ebx
call fcn.004977c0
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x30]
push eax
push 0
push 0x143
push 0x43b
push esi
add ebx, 1
call edi
sub ebp, 1
jne 0x47a4c0
mov ebp, dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [0x5aa984]
push 0
push ecx
push 0x14e
push 0x43b
push esi
call edi
push 0x43a
push esi
xor edi, edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x47a526
mov edi, 1
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x43b
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [0x5aa97c], 0
je 0x47a54f
push 1
push 0x445
push esi
call ebp
push 0x444
push esi
call edi
mov edi, eax
test edi, edi
je 0x47a5b1
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.00497fe0
add esp, 8
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5aa978]
mov eax, dword [0x5abaf8]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.00461380
add esp, 0x14
mov dword [0x5abafc], eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051674d
add esp, 0xa4
ret