Function at 0x415a30
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x6c]
lea esi, [ebx + 0x6c]
push edi
push 1
push esi
lea edi, [ebx + 0x54]
mov dword [ebp - 0x10], ebx
push ecx
mov ecx, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
call fcn.004165b0
mov eax, dword [esi]
sub eax, 0
je 0x415c2e
sub eax, 1
je 0x415c29
sub eax, 1
jne 0x415c2e
movsd xmm0, qword [0x4aae68]
mov ecx, dword [ebx + 0x5c]
push 0x526e
movsd qword [ebp - 0x2c], xmm0
call fcn.00402790
push eax
lea ecx, [ebp - 0xc]
call fcn.00409a40
mov ecx, dword [ebx + 0x5c]
push 0x526f
call fcn.00402790
push eax
lea ecx, [ebp - 0x18]
call fcn.00409a40
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
push edi
call fcn.0040b280
mov ecx, dword [ebx + 0x5c]
push 0x526c
call fcn.00402790
push eax
lea ecx, [ebp - 0x18]
call fcn.00409a40
xor esi, esi
mov ebx, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
sub eax, 1
je 0x415aec
sub eax, 0xc
jne 0x415af1
mov esi, 0x180000
or esi, 0x131
push esi
mov esi, dword [ebp - 0xc]
push ebx
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x18]
mov ebx, eax
call fcn.0041a66b
add esp, 4
cmp ebx, 1
je 0x415c0f
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebx + 0x68], 0
jne 0x415b51
xor edx, edx
lea ecx, [ebx + 0x54]
test ecx, ecx
mov eax, ebx
push 0x477
cmove eax, edx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebx + 0x68], eax
lea eax, [ebx + 0x6c]
push 0
push eax
push ecx
lea ecx, [ebx + 0x54]
call fcn.004165b0
cmp dword [ebx + 0x70], 0
jne 0x415b83
lea ecx, [ebx + 0x54]
mov edx, 4
test ecx, ecx
lea eax, [ecx - 0x50]
push 0x45b
cmove eax, edx
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebx + 0x70], eax
cmp dword [ebx + 0x74], 0
jne 0x415ba6
xor edx, edx
lea ecx, [ebx + 0x54]
test ecx, ecx
mov eax, ebx
push 0x45c
cmove eax, edx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebx + 0x74], eax
cmp dword [ebx + 0x78], 0
jne 0x415bc9
xor edx, edx
lea ecx, [ebx + 0x54]
test ecx, ecx
mov eax, ebx
push 0x46f
cmove eax, edx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], 0
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x1c], eax
jne 0x415bf2
lea eax, [ebx + 0x54]
xor ecx, ecx
test eax, eax
push 0x489
cmove ebx, ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
push edi
call fcn.0041a66b
add esp, 4
push esi
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
call fcn.0041a66b
add esp, 4
push esi
call fcn.0041a66b
mov ebx, dword [ebp - 0x10]
add esp, 4
mov edi, dword [ebp - 0x20]
jmp 0x415c3b
xorps xmm0, xmm0
jmp 0x415c36
movsd xmm0, qword [0x4aae60]
movsd qword [ebp - 0x2c], xmm0
push 0xe
call fcn.0041a6b1
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x415c7e
movq xmm0, qword [str.defaultklimit]
mov esi, eax
movq qword [eax], xmm0
mov ecx, dword [0x4aa048]
mov dword [eax + 8], ecx
mov cl, byte [0x4aa04c]
mov byte [eax + 0xc], cl
lea ecx, [esi + 1]
mov byte [eax + 0xd], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x415c73
sub esi, ecx
jmp 0x415c80
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041a6b1
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x415cab
test esi, esi
je 0x415ca7
push esi
push dword [ebp - 0x10]
push eax
call fcn.0042e720
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], 0
push eax
push 0
call fcn.00402b40
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x415cd3
push eax
call fcn.0041a66b
add esp, 4
push 0xe
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x415d05
movq xmm0, qword [str.defaultklimit]
movq qword [esi], xmm0
mov ecx, dword [0x4aa048]
mov dword [esi + 8], ecx
mov cl, byte [0x4aa04c]
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], 0
mov eax, dword [0x4b0744]
mov dword [ebp - 0x20], esi
test al, 1
jne 0x415d47
or eax, 1
push 0x11
mov dword [0x4b0744], eax
call fcn.0041a6b1
add esp, 4
test eax, eax
je 0x415d35
movups xmm0, xmmword [str.___MASTER_DOMAIN]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x42f2d0
mov dword [0x4b0774], eax
call fcn.0041ab51
add esp, 4
mov ecx, dword [ebx + 0x58]
lea eax, [ebp - 0x20]
push 0x4b0774
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004042c0
mov cl, al
mov byte [ebp - 5], cl
test esi, esi
je 0x415d71
push esi
call fcn.0041a66b
mov cl, byte [ebp - 5]
add esp, 4
test cl, cl
je 0x415f69
movsd xmm0, qword [ebp - 0x2c]
ucomisd xmm0, qword [0x4aae68]
lahf
test ah, 0x44
jp 0x415d9c
push ecx
mov ecx, dword [ebx + 0x58]
push 0
call fcn.00405860
mov cl, byte [ebp - 5]
and cl, al
test cl, cl
je 0x415f69
push 8
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x415dd4
mov ecx, dword [str.domains]
mov dword [esi], ecx
mov cx, word [0x4a9fd0]
mov word [esi + 4], cx
mov cl, byte [0x4a9fd2]
mov byte [esi + 6], cl
mov byte [esi + 7], 0
mov eax, dword [0x4b0744]
mov dword [ebp - 0x20], esi
test al, 1
jne 0x415e16
or eax, 1
push 0x11
mov dword [0x4b0744], eax
call fcn.0041a6b1
add esp, 4
test eax, eax
je 0x415e04
movups xmm0, xmmword [str.___MASTER_DOMAIN]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x42f2d0
mov dword [0x4b0774], eax
call fcn.0041ab51
add esp, 4
mov ecx, dword [ebx + 0x58]
lea eax, [ebp - 0x20]
push 0x4b0774
push eax
call fcn.00404220
mov dword [ebp - 0x20], eax
test esi, esi
je 0x415e3a
push esi
call fcn.0041a66b
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
je 0x41601a
cmp dword [eax + 8], 0
je 0x41601a
push str.domains
lea ecx, [ebp - 0x10]
call fcn.00401270
call fcn.00403ec0
mov ecx, dword [ebx + 0x58]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404220
mov ecx, dword [ebp - 0x10]
mov esi, eax
test ecx, ecx
je 0x415e7d
push ecx
call fcn.0041a66b
add esp, 4
test esi, esi
je 0x41601a
mov esi, dword [esi + 8]
mov dword [ebp - 0x20], esi
test esi, esi
je 0x41601a
mov esi, dword [esi + 8]
mov eax, 1
sub esi, eax
mov dword [ebp - 0xc], eax
js 0x41601a
mov edi, dword [ebp - 0x20]
nop dword [eax]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x10]
push str.klimit
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x20], eax
call fcn.00401270
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403460
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x415ee8
push eax
call fcn.0041a66b
add esp, 4
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push dword [eax]
call fcn.00401270
push str.klimit
lea ecx, [ebp - 0x14]
call fcn.00401270
mov ecx, dword [ebx + 0x58]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004042c0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 5], al
test ecx, ecx
je 0x415f29
push ecx
call fcn.0041a66b
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415f39
push eax
call fcn.0041a66b
add esp, 4
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp byte [ebp - 5], cl
movzx eax, al
cmove eax, ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xc], eax
call fcn.00402ae0
sub esi, 1
jns 0x415eb0
mov eax, dword [ebp - 0xc]
lea edi, [ebx + 0x54]
test al, al
jne 0x41601a
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + 0x6c]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [eax], ecx
cmp dword [ebx + 0x68], 0
jne 0x415f96
xor ecx, ecx
mov eax, ebx
test edi, edi
push 0x477
cmove eax, ecx
push dword [eax + 4]
call esi
mov dword [ebx + 0x68], eax
lea eax, [ebx + 0x6c]
push 0
push eax
push ecx
mov ecx, edi
call fcn.004165b0
cmp dword [ebx + 0x70], 0
jne 0x415fc0
test edi, edi
lea eax, [edi - 0x50]
mov ecx, 4
cmove eax, ecx
push 0x45b
push dword [eax]
call esi
mov dword [ebx + 0x70], eax
cmp dword [ebx + 0x74], 0
jne 0x415fdc
xor ecx, ecx
mov eax, ebx
test edi, edi
push 0x45c
cmove eax, ecx
push dword [eax + 4]
call esi
mov dword [ebx + 0x74], eax
cmp dword [ebx + 0x78], 0
jne 0x415ff8
xor ecx, ecx
mov eax, ebx
test edi, edi
push 0x46f
cmove eax, ecx
push dword [eax + 4]
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], 0
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x20], eax
jne 0x41601a
xor eax, eax
test edi, edi
push 0x489
cmove ebx, eax
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
sub eax, 2
je 0x416036
sub eax, 1
jne 0x416057
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x416057
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x416057
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x416057
mov eax, dword [esi]
test eax, eax
je 0x41604c
push eax
call fcn.0041a66b
add esp, 4
push 4
push esi
call fcn.0041a6a3
add esp, 8
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x416067
push eax
call fcn.0041a66b
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc