Function at 0x418050
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0xc58
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0xc50], eax
mov eax, dword [esp + 0xc60]
push ebp
mov ebp, dword [esp + 0xc60]
push esi
push edi
xor esi, esi
push 0x206
lea ecx, [esp + 0x43e]
push esi
push ecx
mov dword [esp + 0x20], eax
mov word [esp + 0x444], si
call fcn.0046adc0
add esp, 0xc
push 0x206
lea edx, [esp + 0x236]
push esi
push edx
mov word [esp + 0x23c], si
call fcn.0046adc0
add esp, 0xc
push 0x206
lea eax, [esp + 0x84e]
push esi
push eax
mov word [esp + 0x854], si
call fcn.0046adc0
add esp, 0xc
push 0x206
lea ecx, [esp + 0xa56]
push esi
push ecx
mov word [esp + 0xa5c], si
call fcn.0046adc0
add esp, 0xc
push 0x206
lea edx, [esp + 0x646]
push esi
push edx
mov word [esp + 0x64c], si
call fcn.0046adc0
add esp, 0xc
push 0x206
lea eax, [esp + 0x2e]
push esi
push eax
mov word [esp + 0x34], si
call fcn.0046adc0
add esp, 0xc
call fcn.0042cfb0
movzx ecx, ax
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edx, ax
mov dword [esp + 0x1c], edx
call fcn.0042cfb0
movzx eax, ax
movzx esi, ax
lea edx, [esp + 0x640]
call fcn.0042d020
test eax, eax
jne 0x4181a9
and esi, 0x1ff
lea edx, [esp + 0x640]
call fcn.0042d020
test eax, eax
jne 0x4181a9
lea edx, [esp + 0x640]
lea esi, [eax + 9]
call fcn.0042d020
lea eax, [esp + 0x640]
push eax
push str.GetLandDir____s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
lea ecx, [esp + 0x648]
push ecx
push ebp
push 0x498c0c
lea edx, [esp + 0x44c]
push 0x104
push edx
call fcn.00468098
add esp, 0x1c
lea eax, [esp + 0x438]
push eax
push str.__driver_Source_Lang_Path:_s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
movzx esi, word [esp + 0x2c]
add esp, 8
cmp dword [esp + 0x10], esi
je 0x4182d1
lea edx, [esp + 0x28]
call fcn.0042d020
test eax, eax
jne 0x41823c
and esi, 0x1ff
lea edx, [esp + 0x28]
call fcn.0042d020
test eax, eax
jne 0x41823c
lea edx, [esp + 0x28]
lea esi, [eax + 9]
call fcn.0042d020
lea ecx, [esp + 0x28]
push ecx
push str.GetLandDir____s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
lea edx, [esp + 0x30]
push edx
push ebx
push 0x498c0c
lea eax, [esp + 0x244]
push 0x104
push eax
call fcn.00468098
add esp, 0x1c
lea ecx, [esp + 0x230]
push ecx
push str.__driver_Dest_UserDefaultUILang_Path:_s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x43c]
push eax
push str.CopyEntireFolder__s__s_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
push 1
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x440]
push edx
push 0x49bf20
call fcn.00433790
add esp, 0x10
movzx esi, word [esp + 0x20]
cmp dword [esp + 0x10], esi
je 0x4183a1
lea edx, [esp + 0x28]
call fcn.0042d020
test eax, eax
jne 0x41830c
and esi, 0x1ff
lea edx, [esp + 0x28]
call fcn.0042d020
test eax, eax
jne 0x41830c
lea edx, [esp + 0x28]
lea esi, [eax + 9]
call fcn.0042d020
lea eax, [esp + 0x28]
push eax
push str.GetLandDir____s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
lea ecx, [esp + 0x30]
push ecx
push ebx
push 0x498c0c
lea edx, [esp + 0x244]
push 0x104
push edx
call fcn.00468098
add esp, 0x1c
lea eax, [esp + 0x230]
push eax
push str.__driver_Dest_SystemDefaultUILang_Path:_s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x43c]
push edx
push str.CopyEntireFolder__s__s_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
push 1
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x440]
push ecx
push 0x49bf20
call fcn.00433790
add esp, 0x10
movzx esi, word [esp + 0x18]
cmp dword [esp + 0x10], esi
je 0x418471
lea edx, [esp + 0x28]
call fcn.0042d020
test eax, eax
jne 0x4183dc
and esi, 0x1ff
lea edx, [esp + 0x28]
call fcn.0042d020
test eax, eax
jne 0x4183dc
lea edx, [esp + 0x28]
lea esi, [eax + 9]
call fcn.0042d020
lea edx, [esp + 0x28]
push edx
push str.GetLandDir____s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
lea eax, [esp + 0x30]
push eax
push ebx
push 0x498c0c
lea ecx, [esp + 0x244]
push 0x104
push ecx
call fcn.00468098
add esp, 0x1c
lea edx, [esp + 0x230]
push edx
push str.__driver_Dest_UserDefaultLangID_Path:_s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x43c]
push ecx
push str.CopyEntireFolder__s__s_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
push 1
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x440]
push eax
push 0x49bf20
call fcn.00433790
add esp, 0x10
movzx esi, word [esp + 0x1c]
cmp dword [esp + 0x10], esi
je 0x418541
lea edx, [esp + 0x28]
call fcn.0042d020
test eax, eax
jne 0x4184ac
and esi, 0x1ff
lea edx, [esp + 0x28]
call fcn.0042d020
test eax, eax
jne 0x4184ac
lea edx, [esp + 0x28]
lea esi, [eax + 9]
call fcn.0042d020
lea ecx, [esp + 0x28]
push ecx
push str.GetLandDir____s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
lea edx, [esp + 0x30]
push edx
push ebx
push 0x498c0c
lea eax, [esp + 0x244]
push 0x104
push eax
call fcn.00468098
add esp, 0x1c
lea ecx, [esp + 0x230]
push ecx
push str.__driver_Dest_SystemDefaultLangID_Path:_s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x43c]
push eax
push str.CopyEntireFolder__s__s_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
push 1
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x440]
push edx
push 0x49bf20
call fcn.00433790
add esp, 0x10
lea eax, [esp + 0x640]
push eax
push ebx
push 0x498c0c
lea ecx, [esp + 0x23c]
push 0x104
push ecx
call fcn.00468098
add esp, 0x14
lea edx, [esp + 0x230]
push edx
push str.__driver_Dest_Lang_Path:_s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x43c]
push ecx
push str.CopyEntireFolder__s__s_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
push 1
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x440]
push eax
push 0x49bf20
call fcn.00433790
push ebx
push str._sx32
lea ecx, [esp + 0x860]
push 0x104
push ecx
call fcn.00468098
push ebx
push str._sx64
lea edx, [esp + 0xa78]
push 0x104
push edx
call fcn.00468098
mov esi, dword [esp + 0x44]
add esp, 0x30
lea eax, [esp + 0x848]
push eax
push esi
push str.CopyEntireFolder__s__s_
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
push 1
lea ecx, [esp + 0x84c]
push ecx
push esi
push 0x49bf20
call fcn.00433790
push 0
push ebx
push ebp
push str..inf
call fcn.00433790
push 0
push ebx
push ebp
push str..cat
call fcn.00433790
push 0
push ebx
push ebp
push str..cab
call fcn.00433790
mov ecx, dword [esp + 0xc9c]
add esp, 0x40
pop edi
pop esi
mov eax, 1
pop ebp
xor ecx, esp
call fcn.004677d8
add esp, 0xc58
ret