Function at 0x41a77b
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
mov ebx, ecx
push edi
mov edi, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x18]
shr eax, 0xf
and eax, 1
push eax
push 3
push ebx
call esi
mov eax, dword [edi + 0x18]
shr eax, 0x13
and eax, 1
push eax
push 5
push ebx
call esi
movzx eax, byte [edi + 0x1b]
and eax, 1
push eax
push 4
push ebx
call esi
movzx eax, word [edi + 0x1a]
and eax, 1
push eax
push 8
push ebx
call esi
mov eax, dword [edi + 0x18]
shr eax, 0x16
and eax, 1
push eax
push 9
push ebx
call esi
mov eax, dword [edi + 0x18]
shr eax, 0x12
and eax, 1
push eax
push 0xa
push ebx
call esi
mov eax, dword [edi + 0x18]
shr eax, 0x11
and eax, 1
push eax
push 0xb
push ebx
call esi
mov eax, dword [0x529a98]
xor ecx, ecx
xor edx, edx
cmp dword [eax + 0x28], edx
setne cl
push ecx
push 9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
mov eax, dword [edi + 0x14]
shr eax, 0x1a
and eax, 1
push eax
push 0xd
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
call fcn.00475e75
xor ecx, ecx
mov edi, eax
test edi, edi
setne cl
push ecx
push 0xd
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xe
push ebx
call esi
mov ecx, edi
mov dword [esp + 0x14], eax
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
je 0x41a88c
push ecx
push dword [esp + 0x18]
push 0xd
push ebx
call esi
mov edx, eax
mov ecx, ebx
call fcn.00418f2f
pop ecx
pop ecx
push 0x50
push ebx
call esi
mov ecx, dword [0x529a98]
mov edi, eax
push 5
xor eax, eax
pop edx
cmp dword [ecx + 0x28], eax
cmovne edx, eax
push edx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x529a98]
cmp dword [ecx + 0x28], 0
jne 0x41a8e7
push 0x9783aa18
mov edx, 0x5a1e7efb
mov ecx, 0xfdd54af
call fcn.0040180b
pop ecx
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ecx
push edi
push 9
push ebx
call esi
mov edx, eax
mov ecx, ebx
call fcn.00418f2f
pop ecx
pop ecx
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
shr eax, 0x13
and eax, 1
push eax
push 5
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov edx, dword [edi + 0x18]
mov ecx, ebx
shr edx, 0xf
and dl, 1
call fcn.0041a54a
push 0x32
push ebx
xor esi, esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test dword [edi + 0x14], 0x8000
jne 0x41a92b
mov esi, dword [edi + 0x14]
shr esi, 0x10
and esi, 3
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
push 0x14e
push eax
call edi
push 0x33
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
movzx ecx, word [0x522d58]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
cmp ecx, dword [eax + 0x10]
je 0x41a970
mov cx, word [eax + 0x10]
test cx, cx
mov word [0x522d58], cx
setne cl
test cl, cl
jne 0x41a97a
cmp word [0x522c62], 0
jne 0x41a989
push 0x41a68c
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_EnumSystemGeoID]
cmp byte [esp + 0x64], 0
je 0x41aad7
mov ecx, dword [0x529a90]
lea eax, [esp + 0x18]
push 0x20
push eax
push 0x38
call fcn.00420e3f
test eax, eax
jne 0x41a9cc
movzx edx, word [0x51ebc4]
lea eax, [esp + 0x18]
push 0x20
push eax
xor edx, 0x2525
mov ecx, 0x51ebc6
call fcn.00412531
pop ecx
pop ecx
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
push ebx
push 0x143
push esi
call edi
push ebx
mov ebx, dword [esp + 0x18]
mov esi, eax
push esi
push 0x151
push ebx
call edi
push 0
push esi
push 0x14e
push ebx
call edi
xor ecx, ecx
mov esi, ecx
cmp word [esi + 0x522c60], cx
je 0x41aa4a
lea eax, [esi + 0x522c62]
push eax
push ecx
push 0x143
push ebx
call edi
movzx ecx, word [esi + 0x522c60]
push ecx
push eax
push 0x151
push ebx
mov dword [esp + 0x24], eax
call edi
mov eax, dword [esp + 0x10]
movzx ecx, word [esi + 0x522c60]
cmp ecx, dword [eax + 0x10]
jne 0x41aa48
xor eax, eax
push eax
push dword [esp + 0x18]
push 0x14e
push ebx
call edi
xor ecx, ecx
add esi, 0x3e
cmp esi, 0x136
jb 0x41a9fb
mov ebx, dword [esp + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x37
push ebx
call edi
push 0x38
push ebx
mov esi, eax
call edi
mov edi, eax
xor eax, eax
push eax
push 4
push 0xc5
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push eax
push 5
push 0xc5
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push eax
push eax
push 0x41a710
push esi
mov esi, dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
call esi
xor eax, eax
push eax
push eax
push 0x41a710
push edi
call esi
lea eax, [esp + 0x18]
push eax
call fcn.0040d36f
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esp + 0x18]
push eax
push 0x37
push ebx
call esi
lea eax, [esp + 0x18]
push eax
call fcn.0040d4ea
lea eax, [esp + 0x18]
jmp 0x41ab0d
push 0x4d1946e0
mov edx, 0x8084920b
mov ecx, 0xd547b87b
call fcn.0040180b
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop ecx
push eax
push 0x37
push ebx
call esi
push 0x91df647a
mov edx, 0x5c42b092
mov ecx, 0x9819aee
call fcn.0040180b
pop ecx
push eax
push 0x38
push ebx
call esi
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x54
ret