Function at 0x6138a8
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x6138b0
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x613bc6
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
movzx eax, byte [0x613bd4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov dl, 1
mov al, 1
call fcn.0061f498
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, 0x613be4
call fcn.00427f68
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, 0x613bf4
call fcn.0061531c
lea eax, [ebp - 0x1c]
call fcn.0062055c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x613917
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x613940
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.0062055c
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, 0x613c08
call fcn.0061531c
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00409e64
call fcn.0061fa18
test al, al
je 0x613968
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 0x613c1c
mov eax, 0x613c30
call fcn.0061531c
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.00409e64
call fcn.006203bc
test al, al
je 0x613996
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.00620870
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov eax, 0x613c44
call fcn.0061531c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00409e64
call sub.kernel32.dll_GetUserDefaultUILanguage_1
movzx eax, ax
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x6139b4
cmp dword [ebp - 8], 0
jbe 0x6139f4
jmp 0x6139b6
jle 0x6139f4
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
xor edx, edx
cmp edx, dword [ebp - 4]
jne 0x6139c8
cmp eax, dword [ebp - 8]
je 0x6139f4
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00612a0c
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov eax, 0x613c58
call fcn.0061531c
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.00409e64
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0061e910
push dword [ebx]
lea eax, [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
lea ecx, [ebp - 0x40]
mov edx, 4
call fcn.0041fd78
mov edx, dword [ebp - 0x40]
xor ecx, ecx
mov eax, 0x613c6c
call fcn.0061531c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
lea ecx, [ebp - 0x48]
mov dl, 1
call fcn.00612a0c
mov edx, dword [ebp - 0x48]
xor ecx, ecx
mov eax, 0x613c7c
call fcn.0061531c
push dword [ebp - 0x44]
call sub.kernel32.dll_GetACP_1
mov edx, eax
lea ecx, [ebp - 0x4c]
mov eax, 0x613c90
call fcn.00615408
push dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov al, 1
call fcn.00612bf8
mov edx, dword [ebp - 0x54]
xor ecx, ecx
mov eax, 0x613ca4
call fcn.0061531c
push dword [ebp - 0x50]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
call fcn.0062136c
mov edx, dword [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x613cb8
call fcn.0061531c
push dword [ebp - 0x58]
call fcn.0061144c
mov edx, eax
lea ecx, [ebp - 0x60]
mov eax, 0x613cd0
call fcn.00615408
push dword [ebp - 0x60]
call fcn.0061ef20
mov edx, eax
lea ecx, [ebp - 0x64]
mov eax, 0x613ce4
call fcn.00615408
push dword [ebp - 0x64]
fild qword [ebp - 8]
fdiv dword [0x613cec]
call fcn.00406ca0
mov edx, eax
lea ecx, [ebp - 0x68]
mov eax, 0x613cfc
call fcn.00615408
push dword [ebp - 0x68]
mov eax, dword [0x67a898]
mov eax, dword [eax]
call fcn.005a3114
mov edx, eax
lea ecx, [ebp - 0x6c]
mov eax, 0x613d10
call fcn.00615408
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x70]
mov eax, dword [0x67a898]
mov eax, dword [eax]
mov edx, dword [eax + 0x50]
mov eax, 0x613d20
call fcn.00615408
push dword [ebp - 0x70]
lea ecx, [ebp - 0x74]
mov edx, 0x20
mov eax, 0x613d34
call fcn.00615408
push dword [ebp - 0x74]
mov eax, ebx
mov edx, 0xc
call fcn.00409f44
mov eax, dword [0x67a898]
mov eax, dword [eax]
call fcn.005a3150
dec eax
jle 0x613b84
mov eax, dword [0x67a898]
mov eax, dword [eax]
call fcn.005a3150
mov edx, eax
lea ecx, [ebp - 0x78]
mov eax, 0x613d48
call fcn.00615408
mov edx, dword [ebp - 0x78]
mov eax, ebx
call fcn.00409e64
movzx eax, byte [0x613bd4]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebx]
mov ecx, 0x613d5c
mov edx, 0x613be4
call fcn.00427f68
mov edx, dword [ebp - 0x7c]
mov eax, ebx
call fcn.0040923c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x613bcd
lea eax, [ebp - 0x7c]
mov edx, 0x1b
call fcn.00408ebc
ret