Function at 0x100bd4f
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x1029004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x414], edi
je 0x100bdcf
test dword [ebp + 0xc], 0xfffffff3
jne 0x100bdcf
push ebx
call fcn.0100b66b
mov dword [0x1029080], eax
and al, 0x20
neg al
sbb eax, eax
and eax, 0x1e
inc eax
inc eax
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
je 0x100bdcb
mov eax, dword [0x1029080]
xor esi, esi
test al, 0x60
je 0x1015699
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001750
leave
ret 0xc
xor eax, eax
jmp 0x100bdba
xor eax, eax
jmp 0x100bdbb
mov ecx, eax
and cl, 0x78
neg cl
sbb ecx, ecx
and al, 0x66
neg ecx
neg al
mov dword [ebp - 0x420], ecx
sbb eax, eax
neg eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x104
push edi
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x100bdcb
mov eax, dword [ebp - 0x414]
cmp eax, edi
jne 0x10156ff
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x418], edi
jmp 0x101570f
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x418], ecx
mov word [eax - 2], di
push 0x1016738
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1015e6c
cmp word [ebp + 0x10], di
jne 0x1015df7
mov al, byte [0x1029080]
test al, 4
je 0x1015b98
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
cmp ax, 0x404
mov dword [ebp - 0x424], eax
jne 0x101575f
call fcn.01022917
movzx eax, ax
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0xc]
and eax, 8
mov dword [ebp - 0x428], eax
mov edi, 0x1015efc
cmp dword [ebp - 0x428], 0
je 0x1015859
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x424]
call fcn.01022ac5
test eax, eax
je 0x1015a66
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
push dword [ebp - 0x41c]
lea eax, [ebp - 0x15c]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
cmp word [ebp - 0x208], ax
je 0x101583b
push dword [ebp - 0x41c]
lea eax, [ebp - 0x208]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
cmp word [ebp - 0x424], 0xc04
jne 0x1015a7e
mov dword [ebp - 0x424], 0x404
jmp 0x1015770
movzx eax, word [ebp - 0x424]
push eax
push edi
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100914c
add esp, 0x10
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x424]
call fcn.01022ac5
test eax, eax
je 0x101591b
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.01022f19
movzx eax, ax
test ax, ax
je 0x101591b
movzx eax, ax
push eax
push edi
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100914c
add esp, 0x10
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
cmp word [ebp - 0x424], 0xc04
je 0x101584a
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
cmp ax, word [ebp - 0x424]
mov dword [ebp - 0x428], eax
je 0x1015a00
movzx eax, ax
push eax
push edi
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100914c
add esp, 0x10
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x428]
call fcn.01022ac5
test eax, eax
je 0x1015a00
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.01022f19
movzx eax, ax
test ax, ax
je 0x1015a00
movzx eax, ax
push eax
push edi
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100914c
add esp, 0x10
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
mov eax, 0x409
cmp word [ebp - 0x424], ax
je 0x1015a40
cmp word [ebp - 0x428], ax
je 0x1015a40
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push 0x1015ee8
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push 0
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
xor edi, edi
cmp esi, edi
je 0x1015e6c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x100bdba
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx edi, ax
cmp di, word [ebp - 0x424]
je 0x1015b49
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xb0]
push eax
push edi
call fcn.01022ac5
test eax, eax
je 0x1015e6a
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
push dword [ebp - 0x41c]
lea eax, [ebp - 0x15c]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
cmp word [ebp - 0x208], ax
je 0x1015b49
push dword [ebp - 0x41c]
lea eax, [ebp - 0x208]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
mov eax, 0x409
cmp word [ebp - 0x424], ax
je 0x1015a40
cmp di, ax
je 0x1015a40
push 0
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push eax
call fcn.01022ac5
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
jmp 0x1015a2e
test al, 3
je 0x1015e6c
call fcn.01022b1c
test byte [ebp + 0xc], 8
movzx eax, ax
mov dword [ebp - 0x428], eax
je 0x1015ccc
lea ecx, [ebp - 0x208]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push eax
call fcn.01022ac5
test eax, eax
je 0x1015e6c
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
cmp esi, edi
jne 0x1015a70
push dword [ebp - 0x41c]
lea eax, [ebp - 0x15c]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
cmp esi, edi
jne 0x1015a70
cmp word [ebp - 0x208], di
je 0x1015c71
push dword [ebp - 0x41c]
lea eax, [ebp - 0x208]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
cmp esi, edi
jne 0x1015a70
mov eax, 0x409
cmp word [ebp - 0x428], ax
je 0x1015dc9
push edi
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push eax
call fcn.01022ac5
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
cmp esi, edi
je 0x1015dc9
jmp 0x1015a70
movzx eax, ax
push eax
mov edi, 0x1015efc
push edi
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100914c
add esp, 0x10
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x428]
call fcn.01022ac5
test eax, eax
je 0x1015d8f
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.01022f19
movzx eax, ax
test ax, ax
je 0x1015d8f
movzx eax, ax
push eax
push edi
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100914c
add esp, 0x10
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
cmp word [ebp - 0x428], 0x409
je 0x1015dc7
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push 0x1015ee8
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
test esi, esi
jne 0x1015a70
xor edi, edi
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push edi
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
cmp esi, edi
je 0x1015a68
jmp 0x1015a70
test byte [0x1029080], 7
je 0x1015e6c
test byte [ebp + 0xc], 8
je 0x1015e4d
push edi
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp + 0x10]
call fcn.01022ac5
test eax, eax
je 0x1015e6c
push dword [ebp - 0x41c]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x420]
push dword [ebp - 0x414]
push eax
push dword [ebp - 0x418]
push ebx
call fcn.01022d73
mov esi, eax
jmp 0x1015a68
movzx eax, word [ebp + 0x10]
push eax
push 0x1015efc
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100914c
add esp, 0x10
jmp 0x1015e21
xor edi, edi
test bl, 1
je 0x100bdb8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x420], edi
je 0x1015eba
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push dword [ebp - 0x418]
push 0x1015edc
push 0x104
push eax
call fcn.0100914c
add esp, 0x14
push edi
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.0102288a
jmp 0x1015ed3
xor eax, eax
cmp dword [ebp - 0x41c], edi
setne al
push eax
push edi
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
jmp 0x100bdb8