Function at 0x100315eb
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100631bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10031a73
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x100318da
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [0x1017c078]
and eax, 1
jne 0x100316a0
mov eax, dword [0x1017c078]
or eax, 1
mov dword [0x1017c078], eax
and dword [ebp - 4], 0
mov ecx, 0x1017c018
call fcn.1001bec6
push 0x10063c75
call fcn.1004af52
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1017bf11]
test eax, eax
je 0x10031826
mov ecx, 0x1017c018
call fcn.10032eab
movzx eax, al
test eax, eax
jne 0x10031826
push dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x1017c018
call fcn.1001bd58
mov dword [ebp - 0x58], 0xefa
mov dword [ebp - 0x80], str.uxyoga_epupnbl_mohl_lqqkri_tng_rogeacbe_pbv_cvc_klb_lhjruh_fkiyup_xsefwuzu_dyel_vlftg
cmp dword [ebp - 0x58], 0x1198
jle 0x100317b1
and dword [ebp - 0x34], 0
jmp 0x100316fd
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6114
jge 0x100317b1
and dword [ebp - 0x20], 0
jmp 0x10031717
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6638
jge 0x100317ac
and dword [ebp - 0x38], 0
jmp 0x10031731
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x7d7e
jge 0x100317a7
and dword [ebp - 0x28], 0
jmp 0x10031747
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x10c9
jge 0x100317a5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
shl eax, cl
mov ecx, dword [ebp - 0x38]
shl eax, cl
and eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x10c]
call fcn.10001a95
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.10004c18
push eax
call fcn.1004af7c
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.10004c0e
jmp 0x10031740
jmp 0x1003172a
jmp 0x10031710
jmp 0x100316f6
lea eax, [ebp - 0xd8]
push eax
mov ecx, 0x1017c018
call fcn.1001bd4a
push eax
lea ecx, [ebp - 0x60]
call fcn.1001bd6d
movzx eax, al
test eax, eax
je 0x100317e7
lea ecx, [ebp - 0x60]
call fcn.10032eb4
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x10031c35
mov dword [ebp - 4], 1
cmp dword [ebp - 0x58], 0xd14
jge 0x10031800
push dword [ebp - 0x80]
call fcn.1004af7c
pop ecx
jmp 0x1003181c
or dword [ebp - 4], 0xffffffff
jmp 0x10031826
mov eax, dword [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0xf4]
push eax
call fcn.10011418
pop ecx
pop ecx
mov dword [ebp - 4], 3
push 0
push 0
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0xbc]
call fcn.1002c99b
add esp, 0x10
mov dword [ebp - 0x54], eax
movzx eax, byte [0x1017bf11]
test eax, eax
je 0x10031878
mov ecx, 0x1017c018
call fcn.10032eab
movzx eax, al
test eax, eax
jne 0x100318aa
push dword [ebp - 0x4c]
mov ecx, 0x1017c018
call fcn.10032e6d
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
push 0x1da3
push 1
push 1
push 0x1017bf11
push 0x47b4
push 0x6ac8
call fcn.100312e6
add esp, 0x18
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.1001bc00
jmp 0x10031c35
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x5c], 0x7381
mov dword [ebp - 0x90], str.qofrayo_uwvfpw_yfizzxp_igtmo_ftd_qpxv_wmgytqsxu_tlr_dekoj_pbuqmbr
cmp dword [ebp - 0x5c], 0x76e7
jle 0x10031999
and dword [ebp - 0x48], 0
jmp 0x10031911
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x429c
jge 0x10031999
and dword [ebp - 0x44], 0
jmp 0x10031927
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xd15
jge 0x10031994
and dword [ebp - 0x40], 0
jmp 0x1003193d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x792b
jge 0x10031992
and dword [ebp - 0x30], 0
jmp 0x10031953
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5518
jge 0x10031990
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x44]
add eax, ecx
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
mov ecx, 0x1007d9f8
call fcn.10004c38
jmp 0x1003194c
jmp 0x10031936
jmp 0x10031920
jmp 0x1003190a
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x5c], 0x729d
jge 0x100319c2
mov edx, dword [ebp - 0x90]
mov ecx, 0x1007d9f8
call fcn.100070aa
jmp 0x100319de
or dword [ebp - 4], 0xffffffff
jmp 0x100319e8
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
jmp 0x100319fe
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 3
jg 0x10031a6e
mov dword [ebp - 0x18], 0x19a80bfb
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0x18], 3
jmp 0x10031a27
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10031a6c
mov dword [ebp - 0xa4], 0xffff
push 0x4adc
push 0x90e
push 0x7947
push 1
push 0x4a18
push 0x427
push 0x462
lea eax, [ebp - 0xa4]
push eax
push 1
push 0
call fcn.100234e1
add esp, 0x28
jmp 0x10031a20
jmp 0x100319f3
jmp 0x10031c35
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10031afa
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10031adb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x10031af5
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.10004f01
or dword [eax], 0xffffffff
jmp 0x10031ad0
jmp 0x10031c35
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x64], 0x7cbf
mov dword [ebp - 0x9c], str.aqksjz_fvorx_rwcoz_pecepeod
cmp dword [ebp - 0x64], 0x7e81
jle 0x10031ba8
and dword [ebp - 0x1c], 0
jmp 0x10031b2e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x205c
jge 0x10031ba2
and dword [ebp - 0x24], 0
jmp 0x10031b44
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x29b7
jge 0x10031ba0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x124]
call fcn.10001a95
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.10004c18
push eax
call fcn.1004af7c
pop ecx
lea ecx, [ebp - 0x124]
call fcn.10004c0e
jmp 0x10031b3d
jmp 0x10031b27
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 3
jmp 0x10031bc7
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jl 0x10031bf3
mov dword [ebp - 0x94], 0xffff
push 0
lea eax, [ebp - 0x94]
push eax
push 0
push 0x59c5
call fcn.10021f2f
add esp, 0x10
jmp 0x10031bbc
mov dword [ebp - 4], 6
cmp dword [ebp - 0x64], 0x7b28
jge 0x10031c0f
push dword [ebp - 0x9c]
call fcn.1004af7c
pop ecx
jmp 0x10031c2b
or dword [ebp - 4], 0xffffffff
jmp 0x10031c35
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret