Function at 0x70381f6a
Capabilities:
Identify system language via api

Disassembly:
push 0x270
mov eax, 0x70395f63
call fcn.7038fc28
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp ebx, esi
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], esi
je 0x70382282
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x70381fbc
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
push esi
push ebx
call edi
mov dword [ebp - 0x26c], eax
jmp 0x7038219c
mov dword [ebp - 0x278], esi
lea eax, [ebp - 0x278]
push eax
push 0x7030c204
push 1
push esi
push 0x7030c1e4
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jl 0x70382182
push 0x4c
lea eax, [ebp - 0x264]
push esi
push eax
mov dword [ebp - 0x268], esi
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x278]
mov ebx, dword [eax]
mov dword [ebp - 0x27c], eax
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
add ebx, 0x40
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
push dword [ebp - 0x27c]
call dword [ebx]
test eax, eax
jl 0x703820ca
push dword [ebp - 0x270]
lea eax, [ebp - 0x264]
push dword [0x703bfac0]
mov ebx, 0x104
push dword [ebp - 0x274]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.70381d2f
test al, al
je 0x703820ca
push esi
push esi
lea eax, [ebp - 0x218]
push eax
call edi
cmp eax, esi
mov dword [ebp - 0x26c], eax
jne 0x70382182
push dword [ebp - 0x270]
lea eax, [ebp - 0x264]
push dword [0x703bfac4]
push dword [ebp - 0x274]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.70381d2f
test al, al
je 0x703820be
push esi
push esi
lea eax, [ebp - 0x218]
push eax
call edi
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], esi
jne 0x70382182
mov eax, dword [ebp - 0x278]
mov ebx, dword [eax]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x268]
push eax
add ebx, 0x40
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push eax
push dword [ebp - 0x27c]
call dword [ebx]
test eax, eax
jl 0x70382182
push dword [ebp - 0x270]
lea eax, [ebp - 0x264]
push dword [0x703bfac0]
push dword [ebp - 0x274]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.70381d2f
test al, al
je 0x70382182
push esi
push esi
lea eax, [ebp - 0x218]
push eax
call edi
cmp eax, esi
mov dword [ebp - 0x26c], eax
jne 0x70382182
push dword [ebp - 0x270]
lea eax, [ebp - 0x264]
push dword [0x703bfac4]
push dword [ebp - 0x274]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.70381d2f
test al, al
je 0x70382182
push esi
push esi
lea eax, [ebp - 0x218]
push eax
call edi
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x278]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x70382196
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x274]
cmp dword [ebp - 0x26c], esi
jne 0x70382282
push esi
push dword [0x703bfac0]
lea eax, [ebp - 0x218]
push ebx
push esi
push 0x104
push eax
call fcn.70381d2f
test al, al
je 0x70382216
push esi
push esi
lea eax, [ebp - 0x218]
push eax
call edi
cmp eax, esi
mov dword [ebp - 0x26c], eax
jne 0x70382282
push esi
push dword [0x703bfac4]
lea eax, [ebp - 0x218]
push ebx
push esi
push 0x104
push eax
call fcn.70381d2f
test al, al
je 0x7038220e
push esi
push esi
lea eax, [ebp - 0x218]
push eax
call edi
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], esi
jne 0x70382282
push dword [ebp - 0x270]
lea eax, [ebp - 0x218]
push dword [0x703bfac0]
push ebx
push esi
push 0x104
push eax
call fcn.70381d2f
test al, al
je 0x70382282
push esi
push esi
lea eax, [ebp - 0x218]
push eax
call edi
cmp eax, esi
mov dword [ebp - 0x26c], eax
jne 0x70382282
push dword [ebp - 0x270]
lea eax, [ebp - 0x218]
push dword [0x703bfac4]
push ebx
push esi
push 0x104
push eax
call fcn.70381d2f
test al, al
je 0x70382282
push esi
push esi
lea eax, [ebp - 0x218]
push eax
call edi
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
call fcn.7038fc7c
ret 8