Function at 0x103dd7f
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x418], ebx
cmp esi, ebx
jne 0x103ddb2
xor eax, eax
jmp 0x103e50b
test dword [ebp + 0xc], 0xffffffe3
jne 0x103ddab
push edi
mov edi, dword [ebp + 0x10]
cmp di, bx
jne 0x103ddce
test byte [ebp + 0xc], 0x10
jne 0x103e438
call fcn.0103d681
mov dword [0x104bd24], eax
movzx eax, al
and eax, 0x20
or eax, 2
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x414], eax
test eax, eax
je 0x103e438
test byte [0x104bd24], 0x20
jne 0x103e50a
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x104
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x103e42c
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x103de4a
and dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x410]
mov dword [ebp - 0x418], eax
jmp 0x103de5c
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x41c], ecx
xor ecx, ecx
mov word [eax - 2], cx
push 0
push dword [ebp - 0x414]
call fcn.0103d541
test eax, eax
je 0x103e414
test di, di
jne 0x103e3ec
mov al, byte [0x104bd24]
test al, 4
je 0x103e1fb
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x404
mov dword [ebp - 0x420], eax
cmp ax, cx
jne 0x103deae
call fcn.0103d7c0
movzx eax, ax
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0xc]
and eax, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x103df84
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x420]
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.0103dbbd
test eax, eax
je 0x103e478
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
cmp word [ebp - 0x208], ax
je 0x103df63
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
mov eax, 0xc04
cmp word [ebp - 0x420], ax
jne 0x103e12f
mov dword [ebp - 0x420], 0x404
jmp 0x103deba
movzx eax, word [ebp - 0x420]
push eax
push 0x103e53c
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100a257
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x420]
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.0103dbbd
test eax, eax
je 0x103e036
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.0103e5bb
movzx eax, ax
test ax, ax
je 0x103e036
movzx eax, ax
push eax
push 0x103e53c
mov eax, esi
push 0x55
push eax
call fcn.0100a257
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
mov eax, 0xc04
cmp word [ebp - 0x420], ax
je 0x103df75
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov dword [ebp - 0x424], esi
cmp si, word [ebp - 0x420]
je 0x103e113
movzx eax, si
push eax
push 0x103e53c
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100a257
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
lea eax, [ebp - 0x15c]
push eax
push esi
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.0103dbbd
test eax, eax
je 0x103e10d
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.0103e5bb
movzx eax, ax
test ax, ax
je 0x103e10d
movzx eax, ax
push eax
push 0x103e53c
mov eax, esi
push 0x55
push eax
call fcn.0100a257
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
mov esi, dword [ebp - 0x424]
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x420]
je 0x103e3c4
cmp ax, si
jmp 0x103e39c
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x424], eax
cmp ax, word [ebp - 0x420]
je 0x103e1e2
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.0103dbbd
test eax, eax
je 0x103e414
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
cmp word [ebp - 0x208], ax
je 0x103e1e2
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x420]
jne 0x103e2b9
jmp 0x103e3c4
test al, 3
je 0x103e414
call fcn.0103d82f
test byte [ebp + 0xc], 8
movzx eax, ax
mov dword [ebp - 0x424], eax
je 0x103e2e2
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea edi, [ebp - 0x208]
lea esi, [ebp - 0xb0]
call fcn.0103dbbd
test eax, eax
je 0x103e414
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, esi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0x15c]
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
cmp word [ebp - 0x208], ax
je 0x103e2b2
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov edx, edi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
mov eax, 0x409
mov ecx, eax
cmp cx, word [ebp - 0x424]
je 0x103e3c4
lea ecx, [ebp - 0x15c]
push ecx
push eax
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.0103dbbd
mov edx, esi
jmp 0x103e3a3
movzx eax, ax
push eax
push 0x103e53c
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100a257
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
lea edx, [ebp - 0xb0]
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x424]
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.0103dbbd
test eax, eax
je 0x103e390
push 2
lea eax, [ebp - 0x15c]
push eax
call fcn.0103e5bb
movzx eax, ax
test ax, ax
je 0x103e390
movzx eax, ax
push eax
push 0x103e53c
mov eax, esi
push 0x55
push eax
call fcn.0100a257
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
add esp, 0x10
push dword [ebp - 0x41c]
mov edx, esi
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
mov eax, 0x409
cmp ax, word [ebp - 0x424]
je 0x103e3c4
mov edx, 0x103e528
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
jne 0x103e47c
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
xor edx, edx
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
je 0x103e478
jmp 0x103e47c
test byte [0x104bd24], 7
je 0x103e414
test byte [ebp + 0xc], 8
je 0x103e43f
lea eax, [ebp - 0x15c]
push eax
push edi
xor edi, edi
lea esi, [ebp - 0xb0]
call fcn.0103dbbd
test eax, eax
jne 0x103e459
test byte [ebp + 0xc], 0x10
je 0x103e48c
push dword [ebp + 0x10]
push dword [ebp - 0x414]
call fcn.0103d541
test eax, eax
jne 0x103e48c
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x103e50a
movzx eax, di
push eax
push 0x103e53c
lea eax, [ebp - 0xb0]
push 0x55
push eax
call fcn.0100a257
add esp, 0x10
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
lea edx, [ebp - 0xb0]
call fcn.0103dcbd
mov ebx, eax
test ebx, ebx
je 0x103e414
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x103e50a
test byte [ebp - 0x414], 1
je 0x103e504
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0103d681
test al, 0x38
je 0x103e4e1
push dword [ebp - 0x418]
lea eax, [ebp - 0x410]
push dword [ebp - 0x41c]
push 0x103e51c
push 0x104
push eax
call fcn.0100a257
add esp, 0x14
push 0
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.0103d5f4
jmp 0x103e4fe
call fcn.0103d681
push 0
and eax, 0x26
pop eax
setne al
push eax
push 0
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x414]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01002a8b
leave
ret 0xc