Function at 0x10007bfc
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005f663
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
cmp byte [ebp + 0x34], 0
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0x64], ecx
je 0x10007cca
cmp byte [ebp + 0x28], 0
je 0x10007caa
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [esi], ebx
cmp dword [eax], ebx
jle 0x10008531
mov edi, dword [ebp + 0x20]
cmp dword [edi], ebx
jne 0x10008531
push esi
push edi
push dword [ebp + 0x30]
mov edx, 0x2871
push ecx
mov ecx, dword [ebp + 0x24]
push 1
call fcn.10007837
add esp, 0x14
mov edx, edi
mov ecx, 0x55c0
push 0x3cf1
push 0x6dd4
push dword [ebp + 0x24]
push dword [ebp + 0x30]
push ebx
push 1
push 0x2f22
push esi
push 0x21c
push 1
call fcn.1000a6b2
mov ecx, dword [ebp + 0x10]
add esp, 0x28
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [ecx]
jl 0x10007c4b
jmp 0x10008531
push ecx
mov ecx, dword [ebp + 0x38]
call fcn.10006a22
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
push eax
call fcn.1000b415
jmp 0x10008531
cmp byte [ebp + 0x18], 0
je 0x10007d0e
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
mov dword [esi], eax
cmp eax, dword [ecx]
jge 0x10008531
xor ebx, ebx
lea eax, [esp + 0x84]
mov dword [esp + 0x84], ebx
push eax
mov ecx, edi
call fcn.1000b415
mov ecx, dword [esp + 0x64]
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [ecx]
jl 0x10007ce7
jmp 0x10008531
mov dword [esp + 0x40], 0x8256a9ef
xor ebx, ebx
mov dword [esp + 0x38], 0xfffffff7
mov dword [esp + 0x80], 1
mov dword [esp + 0xb8], ebx
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x40], ebx
jne 0x10007d58
mov ecx, dword [esp + 0x40]
xor edx, edx
mov eax, dword [esp + 0x40]
cmp ecx, eax
setge dl
add edx, 3
jne 0x10007d58
mov eax, ebx
jmp 0x10007d5b
xor eax, eax
inc eax
cmp dword [esp + 0x40], eax
jge 0x10007d6c
cmp dword [esp + 0x38], ebx
je 0x10007d6c
xor eax, eax
inc eax
jmp 0x10007d6e
mov eax, ebx
push 2
mov dword [esp + 0x84], eax
mov dword [esp + 0x14], ebx
pop edx
jmp 0x10007d91
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xbc], 0x4dbb
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10007d7e
mov dword [esp + 0x38], ebx
mov edi, 0x5440
jmp 0x10007db1
mov eax, dword [esp + 0x38]
mov dword [esp + eax*4 + 0xbc], edi
inc dword [esp + 0x38]
cmp dword [esp + 0x38], edx
jl 0x10007da2
push 0x7c
pop eax
mov ecx, ebx
mov dword [esp + 0x4c], 0xbd045800
mov word [esp + 0x50], 0x95ec
mov esi, edx
mov byte [esp + 0x52], 0x4b
mov word [esp + 0x48], ax
mov dword [esp + 0x60], ecx
cmp esi, edx
jne 0x10007dea
push 5
pop ecx
push ecx
mov dword [esp + 0x64], ecx
pop esi
jmp 0x10007e42
movzx edx, byte [esp + esi + 0x4d]
mov eax, esi
sub eax, ecx
push 0x4ac
push 1
push 1
movzx eax, byte [esp + eax + 0x56]
push 0x4813
push 0x14a5
movzx eax, word [esp + eax*2 + 0x5c]
mov ecx, eax
and eax, edx
or ecx, edx
xor dl, dl
sub ecx, eax
movzx eax, byte [esp + esi + 0x60]
mov word [esp + eax*2 + 0x5c], cx
lea eax, [esp + 0x74]
push eax
push 0x43f
mov ecx, 0x174d
call fcn.1000aa95
mov ecx, dword [esp + 0x7c]
add esp, 0x1c
push 2
pop edx
add esi, edx
cmp esi, 7
jb 0x10007ddb
xor eax, eax
mov dword [esp + 0xf8], 7
mov word [esp + 0x4a], ax
lea ecx, [esp + 0xe4]
mov word [esp + 0xe4], ax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0xf8], ebx
call fcn.100039c6
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x148], 1
call fcn.10006c96
pop ecx
push ebx
push 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x14c], 3
call fcn.10003de5
mov dword [esp + 0x44], 0x8256a9ef
xor ecx, ecx
mov dword [esp + 0x2c], 0xfffffff7
inc ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x44], ebx
jne 0x10007efd
mov ecx, dword [esp + 0x44]
xor edx, edx
mov eax, dword [esp + 0x44]
cmp ecx, eax
mov eax, ebx
setge dl
xor ecx, ecx
inc ecx
add edx, 3
je 0x10007eff
mov eax, ecx
cmp dword [esp + 0x44], eax
jge 0x10007f0d
mov eax, ecx
cmp dword [esp + 0x2c], ebx
jne 0x10007f0f
mov eax, ebx
push 2
mov dword [esp + 0x90], eax
mov dword [esp + 0x14], ebx
pop edx
jmp 0x10007f32
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xfc], 0x4dbb
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10007f1f
mov dword [esp + 0x2c], ebx
jmp 0x10007f4d
mov eax, dword [esp + 0x2c]
mov dword [esp + eax*4 + 0xfc], edi
inc dword [esp + 0x2c]
cmp dword [esp + 0x2c], edx
jl 0x10007f3e
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], 6
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], ebx
jmp 0x10007f7c
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x90], 0xf825
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x10007f69
mov dword [esp + 0xc], ebx
jmp 0x10007f99
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x28], 0xd8a87013
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x10007f89
push ecx
lea eax, [esp + 0x43]
mov byte [esp + 0x43], bl
push eax
push ecx
push ecx
mov edx, 0x1e97
call fcn.10009293
add esp, 0x10
mov dword [esp + 0x28], ebx
push 3
pop ecx
jmp 0x1000811a
mov dword [esp + 0x14], 0x73ff82ff
mov dword [esp + 0x34], 0x39d6b9c2
mov dword [esp + 0x34], 4
mov dword [esp + 0x34], 0x2314af1
mov dword [esp + 0xc], 1
mov dword [esp + 0x34], 0xe70d28e4
mov dword [esp + 0x10], ebx
jmp 0x10008009
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xac], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x10007ffa
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], ecx
jg 0x100080de
mov dword [esp + 0x5c], 0x5fcb
mov dword [esp + 0x10], ebx
jmp 0x1000803e
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xc4], 0xffffffff
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1000802b
mov eax, dword [esp + 0x14]
cmp dword [esp + eax*4 + 0x90], ebx
jne 0x1000805a
inc dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x5c], ebx
jne 0x10008067
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x5c]
sub edx, 0xf13bcf59
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x98]
cmp edx, eax
mov eax, dword [esp + 0x28]
setg cl
sub ecx, eax
jne 0x1000809b
cmp dword [esp + 0x34], ebx
jne 0x1000809b
mov eax, ebx
jmp 0x1000809e
xor eax, eax
inc eax
cmp eax, dword [esp + 0x9c]
jne 0x100080b8
mov eax, dword [esp + 0x14]
cmp dword [esp + eax*4 + 0x90], ebx
jne 0x100080b8
mov eax, ebx
jmp 0x100080bb
xor eax, eax
inc eax
mov dword [esp + 0x1c], eax
mov ecx, 0x45de
push 0x4eb3
call fcn.1000940d
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
pop ecx
jle 0x1000801d
mov eax, dword [esp + 0x28]
push 3
mov ecx, dword [esp + eax*4 + 0x94]
mov eax, dword [esp + 0x2c]
mov dword [esp + eax*4 + 0x94], ecx
pop ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x18], ebx
jl 0x10008116
mov dword [esp + 0x34], 0xfffffff8
inc dword [esp + 0xac]
dec dword [esp + 0x18]
jns 0x10008101
inc dword [esp + 0x28]
cmp dword [esp + 0x28], ecx
jle 0x10007fc4
push dword [esp + 0x88]
movdqa xmm0, xmmword [0x1006cbe0]
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x70], ebx
push eax
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], ebx
movdqu xmmword [esp + 0x114], xmm0
mov dword [esp + 0x80], ebx
call fcn.10005d79
mov byte [esp + 0x144], 7
xor edx, edx
mov dword [esp + 0x10], 0xffff
inc edx
mov dword [esp + 0x18], 0xebda1846
mov dword [esp + 0x14], 0xc1676565
mov dword [esp + 0x34], 0xfffffffe
mov dword [esp + 0xc], ebx
jmp 0x100081a6
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x20], 0x28405cef
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x10008196
mov dword [esp + 0xc], ebx
jmp 0x100081c5
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x114], 0xb986af20
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x100081b2
mov esi, dword [esp + 0x68]
cmp dword [esi + 8], ebx
je 0x10008238
cmp dword [esp + 0x20], edx
jl 0x100081e1
cmp dword [esp + 0x18], ebx
je 0x100081e5
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 8]
add ecx, 0x88a9
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov edi, dword [eax]
mov eax, dword [esp + 0x20]
imul eax, ecx
xor ecx, ecx
cmp eax, dword [esp + 0x1c]
setge cl
cmp edi, ecx
jne 0x1000821e
mov eax, edx
test edi, edi
jne 0x10008220
mov eax, ebx
add eax, dword [esp + 0x1c]
imul eax, eax, 0x189d
cmp eax, dword [esp + 0x20]
jl 0x10008238
mov eax, edx
cmp dword [esp + 0x20], ebx
jne 0x1000823a
mov eax, ebx
imul eax, eax, 0xc877
test eax, eax
jne 0x1000824b
mov ecx, ebx
cmp dword [esi + 8], ebx
je 0x1000824d
mov ecx, edx
mov eax, dword [esp + 0x68]
xor edx, edx
cmp ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x14
jmp 0x10008430
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
add eax, 3
imul ecx, eax
test ecx, ecx
je 0x100083a8
mov dword [esp + 0x18], 3
cmp dword [esp + 0x18], ebx
jl 0x1000842c
mov dword [esp + 0x1c], 0xf1b
cmp dword [esp + 0x1c], 0x10d1
jle 0x10008322
mov esi, ebx
mov edi, ebx
mov eax, edi
lea ecx, [esp + 0x120]
and eax, esi
cdq
push edx
push eax
call fcn.10001ac4
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100082f4
mov eax, dword [eax]
push eax
call fcn.10046ccf
pop ecx
push ebx
push 1
lea ecx, [esp + 0x128]
call fcn.100038da
inc edi
cmp edi, 0x42d8
jl 0x100082d7
inc esi
cmp esi, 0x4125
jl 0x100082d5
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x7e87
push 1
push 0x1d06
lea eax, [esp + 0x30]
xor dl, dl
push eax
push ebx
push 0x2573
push 0x410a
mov ecx, 0x456b
call fcn.1000795c
add esp, 0x1c
cmp dword [esp + 0x1c], 0xd3c
jge 0x10008362
push str.iaozfhwao_xtbd_jmnjlhmb_kfmwzaoe_egunxrk
call fcn.10046ccf
pop ecx
mov dword [esp + 0x144], 7
mov byte [esp + 0x33], bl
cmp byte [esp + 0x33], 0
je 0x10008399
push 1
push 0x3d2f
push 1
push 0x3399
push ebx
mov edx, 0x44a8
mov ecx, 0x5935
call fcn.10009459
add esp, 0x14
dec dword [esp + 0x18]
jns 0x100082c1
jmp 0x1000842c
xor edx, edx
inc edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x5c], 0xdaee255
mov dword [esp + 0x14], ebx
jmp 0x10008425
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], 0x6307
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x24], ebx
jne 0x100083dd
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
imul ecx, dword [esp + 0xc]
imul eax, ecx, 0xfffa
test eax, eax
je 0x10008403
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
cmp eax, edx
setge cl
mov dword [esp + 0x118], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x1d
jl 0x100083bd
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jg 0x10008275
lea ecx, [esp + 0x68]
mov byte [esp + 0x144], 3
call fcn.100035d0
push 0x20
pop eax
push 2
mov dword [esp + 0x58], 0x2900e103
mov dword [esp + 0x5c], 0x7020401
mov word [esp + 0x7e], ax
pop esi
movzx eax, byte [esp + esi + 0x52]
movzx edx, byte [esp + esi + 0x55]
mov ecx, edx
movzx eax, word [esp + eax*2 + 0x74]
or ecx, eax
and edx, eax
movzx eax, byte [esp + esi + 0x54]
sub ecx, edx
add esi, 2
mov word [esp + eax*2 + 0x74], cx
cmp esi, 8
jb 0x10008467
xor eax, eax
mov dword [esp + 0xe0], 7
mov word [esp + 0x7c], ax
lea ecx, [esp + 0xcc]
mov word [esp + 0xcc], ax
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0xe0], ebx
call fcn.100039c6
xor eax, eax
mov byte [esp + 0x144], 0xa
lea edi, [esp + 0x74]
xor dl, dl
stosd dword es:[edi], eax
mov ecx, 0x2f2a
push 0x5b48
push 1
push 0x4fb5
stosd dword es:[edi], eax
push 0x5c9e
push 1
stosw word es:[edi], ax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.1000795c
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0xbc]
add esp, 0x1c
push eax
call fcn.1000b238
push ebx
push 1
lea ecx, [esp + 0xd4]
call fcn.10003de5
lea ecx, [esp + 0xa0]
call fcn.1000b92c
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret