Function at 0x46ceed
Capabilities:
Identify system language via api

Disassembly:
push 0x1a0
mov eax, 0x647faf
call fcn.00642602
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
jne 0x46cf9f
push 0x6f1967
lea ecx, [ebp - 0x2c]
call fcn.0044ea89
push 0x6f7728
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], ebx
call fcn.0044ea89
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x6f8fbc
call fcn.004559c9
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x6f8fe8
call fcn.0046e5a8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x54
pop edx
lea ecx, [ebp - 0x44]
call fcn.0048a055
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.004511a7
lea ecx, [ebp - 0x74]
call fcn.004511a7
lea ecx, [ebp - 0x8c]
call fcn.004511a7
lea ecx, [ebp - 0x2c]
call fcn.004511a7
xor al, al
jmp 0x46d343
push ecx
push ecx
push eax
lea ecx, [ebp - 0x1ac]
call fcn.0046e488
lea edx, [ebp - 0x1ac]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.004b5edc
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 5
call fcn.004b46fa
cmp eax, 3
je 0x46d06f
push 0x6f1967
lea ecx, [ebp - 0xa4]
call fcn.0044ea89
push 0x6f7728
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.0044ea89
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 7
push eax
mov ecx, 0x6f8fbc
call fcn.004559c9
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x6f8fe8
call fcn.0046e5a8
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x5c
pop edx
lea ecx, [ebp - 0x2c]
call fcn.0048a055
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.004511a7
lea ecx, [ebp - 0x8c]
call fcn.004511a7
lea ecx, [ebp - 0x74]
call fcn.004511a7
lea ecx, [ebp - 0xa4]
jmp 0x46d326
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
movzx edx, ax
lea ecx, [ebp - 0x2c]
call fcn.0046d39c
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
call fcn.0048a8f6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.004511a7
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
lea edi, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x5c]
add edx, ecx
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
cmp ecx, edx
jne 0x46d0db
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
jmp 0x46d0ea
mov eax, edx
sub eax, ecx
push eax
push edx
push ecx
lea ecx, [ebp - 0x44]
call fcn.0046ec8d
push 0x6f226c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.0044eb76
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
call fcn.0048a948
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.004510b9
lea ecx, [ebp - 0xf4]
call fcn.004b467e
mov esi, dword [eax]
mov eax, dword [eax + 4]
cmp esi, eax
mov dword [ebp - 0xfc], eax
jmp 0x46d2f5
push dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.0044eb76
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa4]
call fcn.0048a948
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.004510b9
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xa4]
call fcn.00464db0
mov bl, al
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xed], bl
call fcn.00464db0
test bl, bl
jne 0x46d191
test al, al
je 0x46d2dd
lea ecx, [esi + 8]
call fcn.004b467e
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x100], eax
cmp edi, eax
je 0x46d2d9
mov esi, eax
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.004b46fa
cmp eax, 2
je 0x46d257
push 0x6f1967
lea ecx, [ebp - 0xbc]
call fcn.0044ea89
push str.translation.is_string__
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x14
call fcn.0044ea89
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x15
push eax
mov ecx, 0x6f8fbc
call fcn.004559c9
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
push eax
mov ecx, 0x6f8fe8
call fcn.0046e5a8
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x75
pop edx
lea ecx, [ebp - 0x2c]
call fcn.0048a055
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.004511a7
lea ecx, [ebp - 0x8c]
call fcn.004511a7
lea ecx, [ebp - 0x74]
call fcn.004511a7
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x13
call fcn.004511a7
mov ecx, ebx
call fcn.004b46fa
cmp eax, 2
jne 0x46d2c2
mov ecx, ebx
call fcn.004b336c
push dword [edi]
lea ecx, [ebp - 0xbc]
mov ebx, eax
call fcn.0044eb76
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xec]
call fcn.0048a948
push ebx
push ecx
mov ecx, dword [ebp - 0x104]
push eax
mov byte [ebp - 4], 0x19
call fcn.0046e76f
pop ecx
mov ecx, eax
call fcn.004615c6
lea ecx, [ebp - 0xec]
call fcn.004510b9
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x13
call fcn.004510b9
add edi, 0xc
cmp edi, esi
jne 0x46d1ae
mov esi, dword [ebp - 0xf8]
mov bl, byte [ebp - 0xed]
test bl, bl
jne 0x46d303
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
call fcn.004510b9
add esi, 0xc
cmp esi, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], esi
jne 0x46d136
jmp 0x46d30e
lea ecx, [ebp - 0xa4]
call fcn.004510b9
lea ecx, [ebp - 0xd4]
mov bl, 1
call fcn.004510b9
lea ecx, [ebp - 0x44]
call fcn.004510b9
lea ecx, [ebp - 0x5c]
call fcn.004511a7
lea ecx, [ebp - 0xf4]
call fcn.0046e624
lea ecx, [ebp - 0x1ac]
call fcn.0046d34b
mov al, bl
call fcn.006425b1
ret 4