Function at 0x41132a
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
mov eax, dword [0x5107c0]
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 [0x52181c]
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.0046c7cd
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 0x41143b
push ecx
push dword [esp + 0x18]
push 0xd
push ebx
call esi
mov edx, eax
mov ecx, ebx
call fcn.0040fb98
pop ecx
pop ecx
push 0x50
push ebx
call esi
mov ecx, dword [0x52181c]
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 [0x52181c]
cmp dword [ecx + 0x28], 0
jne 0x411496
push 0xb20f3400
mov edx, 0x68503dfa
mov ecx, 0xd5894e9
call fcn.004014a6
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.0040fb98
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.004110f9
push 0x32
push ebx
xor esi, esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test dword [edi + 0x14], 0x8000
jne 0x4114da
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 [0x515418]
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
cmp ecx, dword [eax + 0x10]
je 0x41151f
mov cx, word [eax + 0x10]
test cx, cx
mov word [0x515418], cx
setne cl
test cl, cl
jne 0x411529
cmp word [0x515322], 0
jne 0x411538
push 0x41123b
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_EnumSystemGeoID]
cmp byte [esp + 0x64], 0
je 0x411686
mov ecx, dword [0x521818]
lea eax, [esp + 0x18]
push 0x20
push eax
push 0x38
call fcn.0041c148
test eax, eax
jne 0x41157b
movzx edx, word [0x517674]
lea eax, [esp + 0x18]
push 0x20
push eax
xor edx, 0xc7c7
mov ecx, 0x517676
call fcn.00415bfb
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 + 0x515320], cx
je 0x4115f9
lea eax, [esi + 0x515322]
push eax
push ecx
push 0x143
push ebx
call edi
movzx ecx, word [esi + 0x515320]
push ecx
push eax
push 0x151
push ebx
mov dword [esp + 0x24], eax
call edi
mov eax, dword [esp + 0x10]
movzx ecx, word [esi + 0x515320]
cmp ecx, dword [eax + 0x10]
jne 0x4115f7
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 0x4115aa
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 0x4112bf
push esi
mov esi, dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
call esi
xor eax, eax
push eax
push eax
push 0x4112bf
push edi
call esi
lea eax, [esp + 0x18]
push eax
call fcn.0040828e
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.00408409
lea eax, [esp + 0x18]
jmp 0x4116bc
push 0xe8718153
mov edx, 0x322e88a1
mov ecx, 0x572621ae
call fcn.004014a6
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop ecx
push eax
push 0x37
push ebx
call esi
push 0xd6f84428
mov edx, 0xca74dd9
mov ecx, 0x69afe4e2
call fcn.004014a6
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.004b35e5
add esp, 0x54
ret