Function at 0x41dcf8
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x430479
call fcn.0042e9c0
sub esp, 0x10
movsx eax, byte [0x438c21]
and eax, 0x988bffff
push ebx
add dword [0x438c5c], eax
mov eax, dword [0x4391c0]
xor ebx, ebx
push esi
cmp eax, ebx
je 0x41dd5e
cmp byte [0x4382c8], bl
jne 0x41dd5e
cmp dword [eax + 4], ebx
je 0x41dd5e
push 0x6543ffff
push 0x3c2fffff
call fcn.0040a9de
pop ecx
mov word [0x438c32], ax
pop ecx
mov eax, dword [0x4391c0]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 4]
jmp 0x41e04b
push dword [0x438c4c]
push 0xa999ffff
call fcn.0040a9a5
push dword [0x438c38]
mov word [0x438c24], ax
push 0x8317ffff
call fcn.0040aa83
add dword [0x438c40], eax
add esp, 0x10
xor eax, eax
cmp byte [0x438c18], bl
setne al
add dword [0x438c38], eax
cmp dword [ebp + 8], ebx
je 0x41dfe4
cmp byte [0x4382c8], bl
je 0x41dfe4
cmp dword [0x4391c0], ebx
je 0x41dfe4
or byte [0x438c21], 0xff
mov eax, 0x789ffff
sub eax, dword [0x438c50]
push edi
push ebx
lea ecx, [ebp - 0x1c]
mov dword [0x438c38], eax
mov al, byte [ebp + 0xf]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea ecx, [ebp - 0x1c]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov esi, 0x4382cc
mov dword [ebp - 4], ebx
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
add dword [0x438c50], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push dword [ebp + 0x10]
add byte [0x438c21], al
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea ecx, [ebp - 0x1c]
push dword [ebp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
push 0xad15ffff
push 0xf9adffff
call fcn.0040a8f9
add dword [0x438c3c], eax
push 0x141ffff
push 0xc971ffff
call fcn.0040a9a5
add word [0x438c32], ax
add esp, 0x10
lea eax, [ebp - 0x1c]
mov ecx, 0x4391c8
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041ecae
movsx eax, word [0x438c2a]
push eax
push 0x3675ffff
call fcn.0040a933
mov esi, dword [ebp + 0xc]
mov dword [0x438c5c], eax
mov al, byte [0x438c1f]
pop ecx
neg al
mov byte [0x438c1a], al
mov eax, dword [0x4391cc]
cmp esi, eax
pop ecx
je 0x41dfac
movsx eax, word [0x438c24]
push eax
push 0xeb69ffff
call fcn.0040a96f
mov word [0x438c30], ax
or al, 0xff
sub al, byte [0x438c40]
dec byte [0x438c1e]
push 0x639ffff
mov byte [0x438c18], al
mov edi, dword [esi + 0x40]
movsx eax, byte [0x438c19]
push eax
call fcn.0040a9a5
add byte [0x438c19], al
mov eax, dword [esi + 0x44]
add esp, 0x10
cmp edi, eax
je 0x41df5d
movsx eax, word [0x438c2c]
or eax, 0xc3ebffff
add dword [0x438c54], eax
mov eax, dword [ebp + 8]
inc dword [0x438c4c]
cmp dword [edi + 4], eax
je 0x41df5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x438c48], eax
mov ax, word [0x438c5c]
add ax, word [0x438c30]
add word [0x438c24], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add edi, 8
mov word [0x438c30], ax
cmp edi, dword [esi + 0x44]
jne 0x41df0a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov byte [0x438c1a], al
mov al, byte [0x438c2c]
add byte [0x438c20], al
cmp edi, dword [esi + 0x44]
je 0x41dfac
movsx ax, byte [0x438c1f]
sub edi, 8
dec eax
add word [0x438c2c], ax
mov dword [0x438c38], 1
movsx eax, word [0x438c30]
push eax
push eax
call fcn.0040a9de
pop ecx
mov dword [0x438c5c], eax
mov ebx, dword [edi]
pop ecx
movsx eax, byte [0x438c21]
push eax
movsx eax, word [0x438c28]
push eax
call fcn.0040ab0e
or word [0x438c24], 0xffff
or dword [ebp - 4], 0xffffffff
pop ecx
mov byte [0x438c21], al
pop ecx
push 1
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, ebx
pop edi
jmp 0x41e04b
push 0x28d3ffff
push 0xeaa7ffff
push dword [0x438c54]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [0x438c1f], al
mov eax, dword [0x438c48]
neg eax
mov word [0x438c32], ax
call esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
add dword [0x438c54], eax
push 0xfc13ffff
movsx eax, word [0x438c28]
push eax
call fcn.0040a9a5
pop ecx
mov dword [0x438c40], eax
pop ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc