Function at 0x10030106
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064404
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10030187
lea eax, [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10030150
push 0
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
jmp 0x10030182
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10030182
push 0xb8d
push 0xf47
push 0x1e6e
push 0x1600
push 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
jmp 0x100303f5
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
push 4
lea ecx, [ebp - 0x24]
call fcn.1001a8b6
and dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0xfffffffe
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x5c], 0x305aba9a
mov dword [ebp - 0x10], 0
jmp 0x100301c0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x100301d3
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x7c], 0xffffffff
jmp 0x100301b9
mov dword [ebp - 0x10], 0
jmp 0x100301e3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x100301fc
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov dword [eax], 5
jmp 0x100301dc
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov dword [eax], 3
jmp 0x10030226
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
cmp dword [eax], 0
jl 0x100303dd
mov dword [ebp - 0x18], 0
jmp 0x10030249
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1003025f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x94], 9
jmp 0x10030242
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10030271
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x4c], 1
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
cmp dword [eax], 9
jne 0x1003029f
mov dword [ebp - 0x50], 1
jmp 0x100302a3
and dword [ebp - 0x50], 0
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov ecx, dword [ebp - 0x50]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x30]
jne 0x100302c1
mov dword [ebp - 0x34], 1
jmp 0x100302c5
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 8
jle 0x100302d4
mov dword [ebp - 0x44], 1
jmp 0x100302d8
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xcea445a8
ja 0x100302ea
mov dword [ebp - 0x64], 1
jmp 0x100302ee
and dword [ebp - 0x64], 0
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x7c]
mov dword [ebp - 0x80], eax
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x7c]
mov dword [ebp - 0x84], eax
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov eax, dword [eax]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x7c]
cmp dword [ebp + eax*4 - 0x7c], ecx
jl 0x1003033b
mov dword [ebp - 0x3c], 1
jmp 0x1003033f
and dword [ebp - 0x3c], 0
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp + eax*4 - 0x7c]
mov dword [ebp - 0x2c], ecx
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0x7c], ecx
push 2
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [eax]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x94]
jg 0x10030389
mov dword [ebp - 0x38], 1
jmp 0x1003038d
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x38], eax
jne 0x100303a0
xor eax, eax
inc eax
jne 0x100303a0
and dword [ebp - 0x28], 0
jmp 0x100303a7
mov dword [ebp - 0x28], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x94]
cmp dword [ebp - 0x28], eax
jne 0x100303c2
mov dword [ebp - 0x48], 1
jmp 0x100303c6
and dword [ebp - 0x48], 0
push 3
lea ecx, [ebp - 0x24]
call fcn.1001a954
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
jmp 0x1003020e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1001a938
push 0
push dword [ebp - 0x58]
call fcn.1002beea
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret