Function at 0x100328c0
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
push esi
push edi
push 0x60
lea eax, [esp + 0x14]
mov esi, ecx
push 0
push eax
call sub.msvcrt.dll_memset
push 0x14
push 0x1300000
push dword [0x100a3570]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10046516
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [esi + 0x18], edi
test edi, edi
je 0x1004651d
mov eax, 0xa
mov dword [edi], 0x60
mov ecx, 0x60
mov dword [edi + 0xc], 0xa
mul ecx
mov dword [edi + 8], 0xa
test edx, edx
jne 0x100465cf
cmp eax, 0xffffffff
ja 0x100465cf
push eax
call dword [sym.imp.MSDART.DLL_mpMalloc]
add esp, 4
mov dword [edi + 0x10], eax
test eax, eax
je 0x100465f0
mov ecx, edi
call fcn.10032d50
test eax, eax
je 0x100465f0
push dword [edi]
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.msvcrt.dll_memcpy
lea eax, [esi + 0x1c]
add esp, 0xc
cmp dword [eax], 0
jne 0x100329b3
push 0
push eax
call dword [sym.imp.MSDART.DLL_MPInitializeCriticalSectionAndSpinCount]
add esp, 8
test eax, eax
je 0x10046558
push 0x10
push 0x1300000
push dword [0x100a3570]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
add esp, 0xc
test eax, eax
je 0x10046593
mov ecx, dword [esi + 8]
mov dword [eax], 0x10002588
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
push 0x38
push 0x1300000
push dword [0x100a3570]
mov dword [esi + 0xc], eax
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1004659a
mov ecx, dword [esi + 8]
mov dword [edi], 0x1000119c
mov dword [edi + 4], 0
mov dword [edi + 8], esi
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [edi + 0x18], eax
cmp dword [esi + 0xc], 0
mov dword [esi + 0x10], edi
je 0x10032ac4
test edi, edi
je 0x10032ac4
mov eax, dword [0x100a4710]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.MSDART.DLL_UMSEnterCSWraper]
mov eax, dword [0x100a4708]
add esp, 4
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], eax
test eax, eax
je 0x10032aa5
mov dword [eax + 0x28], esi
mov eax, dword [esp + 0xc]
mov dword [0x100a4708], esi
mov byte [esi + 0x30], 1
test eax, eax
je 0x10032ac4
dec dword [eax + 0x1c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [0x100a4750], 2
mov eax, dword [esi + 0xc]
jne 0x100465a1
test eax, eax
je 0x10032ae6
cmp dword [esi + 0x10], 0
je 0x10032ae6
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x8007000e
jmp 0x10032ae0
xor edi, edi
jmp 0x10032927
mov eax, dword [0x100a4750]
test al, 2
je 0x10032ae6
push 0xd4
mov edx, 0x10021450
mov ecx, 0x8007000e
call fcn.10051341
mov eax, dword [0x100a4750]
add esp, 4
test al, 2
je 0x10032ae6
mov edx, 0x35009
jmp 0x10046626
mov eax, dword [0x100a4750]
test al, 2
je 0x10032ae6
push 0xdc
mov edx, 0x10021450
mov ecx, 0x8007000e
call fcn.10051341
mov eax, dword [0x100a4750]
add esp, 4
test al, 2
je 0x10032ae6
mov edx, 0x37409
jmp 0x10046626
xor eax, eax
jmp 0x100329e7
xor edi, edi
jmp 0x10032a6b
test eax, eax
je 0x100465af
cmp dword [esi + 0x10], 0
je 0x100465af
xor eax, eax
jmp 0x100465b4
mov eax, 0x8007000e
mov ecx, dword [0x100aa1c0]
mov edx, 0x3e409
push eax
push 0x10021488
call fcn.1005682f
jmp 0x10032ae0
test byte [0x100a4750], 2
je 0x10032ae6
push 0x66
mov edx, 0x10005d1c
mov ecx, 0x80004005
call fcn.10051341
add esp, 4
test byte [0x100a4750], 2
je 0x10032ae6
push 0xd7
mov edx, 0x10021450
mov ecx, 0x8007000e
call fcn.10051341
add esp, 4
test byte [0x100a4750], 2
je 0x10032ae6
mov edx, 0x35c09
mov ecx, dword [0x100aa1c0]
push 0x8007000e
push 0x10021488
call fcn.1005682f
jmp 0x10032ae0