Function at 0x44405f
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x470cb8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x414], 0
push edi
mov edi, ecx
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x44408f
xor eax, eax
jmp 0x44443a
push ebx
push esi
call fcn.00443c26
mov dword [0x472a78], eax
xor esi, esi
and eax, 0x20
or eax, 2
push eax
push esi
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x444436
test byte [0x472a78], 0x20
jne 0x444438
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x104
push esi
push edi
push esi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SearchPathW]
test eax, eax
je 0x44442f
mov eax, dword [ebp - 0x414]
test eax, eax
jne 0x444101
lea eax, [ebp - 0x410]
xor edi, edi
mov dword [ebp - 0x414], eax
jmp 0x44410d
xor ecx, ecx
lea edi, [ebp - 0x410]
mov word [eax - 2], cx
push 0
push 1
push 0x3dab9c
push ebx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
test eax, eax
je 0x44430d
mov eax, dword [0x472a78]
test al, 4
je 0x44435f
call dword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x404
mov dword [ebp - 0x418], eax
cmp ax, cx
jne 0x444159
call fcn.00443b1c
movzx eax, ax
mov dword [ebp - 0x418], eax
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0xb0]
mov ecx, eax
call fcn.00443d98
test eax, eax
je 0x444305
push dword [ebp - 0x414]
lea eax, [ebp - 0xb0]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
push dword [ebp - 0x414]
lea eax, [ebp - 0x208]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
cmp word [ebp - 0x15c], ax
je 0x4441e5
push dword [ebp - 0x414]
lea eax, [ebp - 0x15c]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
mov eax, 0xc04
cmp word [ebp - 0x418], ax
jne 0x4441fd
mov eax, 0x404
jmp 0x444153
call dword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x41c], eax
cmp ax, word [ebp - 0x418]
je 0x4442ab
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0xb0]
mov ecx, eax
call fcn.00443d98
test eax, eax
je 0x44430d
push dword [ebp - 0x414]
lea eax, [ebp - 0xb0]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
push dword [ebp - 0x414]
lea eax, [ebp - 0x208]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
cmp word [ebp - 0x15c], ax
je 0x4442a5
push dword [ebp - 0x414]
lea eax, [ebp - 0x15c]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
mov eax, dword [ebp - 0x41c]
mov ecx, 0x409
cmp cx, word [ebp - 0x418]
je 0x4442f2
cmp cx, ax
je 0x4442f2
push 0
lea eax, [ebp - 0x208]
push eax
lea edx, [ebp - 0xb0]
call fcn.00443d98
push dword [ebp - 0x414]
lea eax, [ebp - 0xb0]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
push dword [ebp - 0x414]
mov edx, edi
mov ecx, ebx
push 0
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
test bl, 1
je 0x44442b
push ebx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
call fcn.00443c26
test al, 0x38
je 0x44440d
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push edi
push 0x3e02f0
push 0x104
push eax
call fcn.003ed6f4
add esp, 0x14
lea ecx, [ebp - 0x410]
xor edx, edx
inc edx
push 0
call fcn.00443ec6
jmp 0x444429
test al, 3
je 0x44430d
call fcn.00443b79
lea ecx, [ebp - 0x15c]
movzx eax, ax
push ecx
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x41c], eax
push ecx
lea edx, [ebp - 0xb0]
mov ecx, eax
call fcn.00443d98
test eax, eax
je 0x44430d
push dword [ebp - 0x414]
lea eax, [ebp - 0xb0]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
push dword [ebp - 0x414]
lea eax, [ebp - 0x208]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
cmp word [ebp - 0x15c], ax
je 0x4443f1
push dword [ebp - 0x414]
lea eax, [ebp - 0x15c]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00443d32
mov esi, eax
test esi, esi
jne 0x444402
mov ecx, 0x409
cmp cx, word [ebp - 0x41c]
jmp 0x4442bc
push ebx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov eax, esi
jmp 0x444438
call fcn.00443c26
push 0
test al, 0x26
pop eax
setne al
push eax
push 0
push dword [ebp - 0x420]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov ebx, eax
mov eax, ebx
jmp 0x444438
push ebx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040b590
leave
ret 4