Function at 0x41e240
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x530e02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0xb4], ebx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x41e284
inc dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x24]
push ecx
cmp eax, ebx
mov esi, esp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esp
mov dword [esi], ebx
je 0x41e2d8
cmp byte [str.Select_Your_Axis_Player_Model], bl
je 0x41e318
mov edi, str.Select_Your_Axis_Player_Model
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x41e318
lea edx, [edi + 1]
push 1
push edx
mov ecx, esi
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov eax, dword [esi]
mov ecx, str.Select_Your_Axis_Player_Model
mov edx, dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x41e2cc
jmp 0x41e313
cmp byte [str.Select_Your_Allied_Player_Model], bl
je 0x41e318
mov edi, str.Select_Your_Allied_Player_Model
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x41e318
lea edx, [edi + 1]
push 1
push edx
mov ecx, esi
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov eax, dword [esi]
mov ecx, str.Select_Your_Allied_Player_Model
mov edx, dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x41e309
mov ecx, dword [esi]
mov dword [ecx + 0xc], edi
mov ecx, dword [ebp + 0x14]
call fcn.004e21d0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41e32c
mov eax, dword [eax]
jmp 0x41e331
mov eax, dword [0x545608]
lea edx, [esp + 0x24]
push edx
push ebx
push str..tik
push eax
call fcn.004524f0
mov edi, eax
mov eax, dword [esp + 0x34]
add esp, 0x10
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
jle 0x41e51b
mov ebp, dword [sym.imp.system86.dll_MemoryMalloc]
mov ecx, dword [edi + esi*4]
lea edx, [esp + 0x2c]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x41e36a
lea eax, [esp + 0x2c]
push str._fps
push eax
call fcn.0051b340
add esp, 8
test eax, eax
jne 0x41e506
push 6
lea ecx, [esp + 0x30]
push str.german
push ecx
call fcn.00465370
add esp, 0xc
test eax, eax
je 0x41e3c2
push 4
lea edx, [esp + 0x30]
push str.axis
push edx
call fcn.00465370
add esp, 0xc
test eax, eax
je 0x41e3c2
xor eax, eax
jmp 0x41e3c7
mov eax, 1
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x24], eax
jne 0x41e506
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0x3ff
cmp eax, 7
je 0x41e3e9
cmp eax, 0xc
jne 0x41e41f
push 0x10
lea edx, [esp + 0x30]
push str.german_waffenss_
push edx
call fcn.0052d560
add esp, 0xc
test eax, eax
jne 0x41e41f
mov cl, byte [esp + 0x3b]
mov eax, 0xd
cmp cl, bl
je 0x41e41b
mov byte [esp + eax + 0x2c], cl
mov cl, byte [esp + eax + 0x2f]
inc eax
cmp cl, bl
jne 0x41e40e
mov byte [esp + eax + 0x2c], bl
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
push 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x2c], bl
call ebp
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
cmp esi, ebx
mov byte [esp + 0xb4], 1
je 0x41e4e8
mov al, byte [esp + 0x2c]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x41e496
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x41e496
lea eax, [edi + 1]
push 1
push eax
lea ecx, [esp + 0x18]
call sym.MOHAA.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
mov edx, dword [edx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x41e485
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], edi
mov dword [esi + 4], ebx
mov dword [esi], 0x53584c
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0xb4], 3
je 0x41e4ba
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x41e4ca
call fcn.0046f7c0
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
mov byte [esp + 0xb4], 1
je 0x41e4ea
call fcn.0046f7c0
mov dword [esp + 0x10], ebx
jmp 0x41e4ea
xor esi, esi
mov ecx, dword [esp + 0x14]
push esi
mov byte [esp + 0xb8], bl
mov ecx, dword [ecx + 0x18]
call fcn.004f36b0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x41e363
mov ebp, dword [esp + 0x14]
push edi
call fcn.00452510
mov ecx, dword [ebp + 0x18]
add esp, 4
mov edx, dword [ecx]
push ebx
call dword [edx + 0x50]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], 0xffffffff
cmp ecx, ebx
je 0x41e545
call fcn.0046f7c0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret