Function at 0x421180
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x549722
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0xb4], ebx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x4211c4
inc dword [eax + 4]
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x1c], ecx
je 0x421221
push str.Select_Your_Axis_Player_Model
call fcn.00491210
mov ebp, esp
mov esi, eax
mov dword [esp + 0x1c], esp
mov dword [ebp], ebx
mov al, byte [esi]
cmp al, bl
je 0x421274
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x421270
lea edx, [edi + 1]
push 1
push edx
mov ecx, ebp
call sym.moh_spearhead.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov eax, dword [ebp]
mov ecx, esi
mov edx, dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x421215
jmp 0x42126a
push str.Select_Your_Allied_Player_Model
call fcn.00491210
mov ebp, esp
mov esi, eax
mov dword [esp + 0x1c], esp
mov dword [ebp], ebx
mov al, byte [esi]
cmp al, bl
je 0x421274
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x421270
lea edx, [edi + 1]
push 1
push edx
mov ecx, ebp
call sym.moh_spearhead.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov eax, dword [ebp]
mov ecx, esi
mov edx, dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x421260
mov ecx, dword [ebp]
mov dword [ecx + 0xc], edi
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
call fcn.004f75d0
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x421288
mov eax, dword [esi]
jmp 0x42128d
mov eax, dword [0x55fcd0]
lea edx, [esp + 0x24]
push edx
push ebx
push str..tik
push eax
call fcn.00460cb0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
add esp, 0x10
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x20], ebp
jle 0x4214a2
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
mov ecx, dword [eax + ebp*4]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x4212c2
lea ecx, [esp + 0x2c]
push str._fps
push ecx
call fcn.00533820
add esp, 8
test eax, eax
jne 0x421491
cmp byte [esp + 0x2c], 0x5f
je 0x421491
push 0xc
lea edx, [esp + 0x30]
push str.allied_manon
push edx
call fcn.00474560
add esp, 0xc
test eax, eax
je 0x421491
push 6
lea eax, [esp + 0x30]
push str.german
push eax
call fcn.00474560
add esp, 0xc
test eax, eax
je 0x421341
push 4
lea ecx, [esp + 0x30]
push str.axis
push ecx
call fcn.00474560
add esp, 0xc
test eax, eax
je 0x421341
xor eax, eax
jmp 0x421346
mov eax, 1
cmp dword [edi + 0x24], eax
jne 0x421491
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0x3ff
cmp eax, 7
je 0x421364
cmp eax, 0xc
jne 0x42139a
push 0x10
lea edx, [esp + 0x30]
push str.german_waffenss_
push edx
call fcn.00544c70
add esp, 0xc
test eax, eax
jne 0x42139a
mov cl, byte [esp + 0x3b]
mov eax, 0xd
cmp cl, bl
je 0x421396
mov byte [esp + eax + 0x2c], cl
mov cl, byte [esp + eax + 0x2f]
inc eax
cmp cl, bl
jne 0x421389
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 dword [sym.imp.system86ta.dll_MemoryMalloc]
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
cmp esi, ebx
mov byte [esp + 0xb4], 1
je 0x421473
lea eax, [esp + 0x2c]
push eax
call fcn.004208d0
mov ebp, eax
mov dword [esp + 0x14], ebx
add esp, 4
cmp byte [ebp], bl
je 0x42141d
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x42141d
lea ecx, [edi + 1]
push 1
push ecx
lea ecx, [esp + 0x18]
call sym.moh_spearhead.exe_private:_void___thiscall_str::EnsureAlloced_int__bool_
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov edx, dword [edx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x42140c
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], edi
mov dword [esi + 4], ebx
mov dword [esi], 0x54ea8c
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0xb4], 3
je 0x421441
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 0x421451
call fcn.0047edc0
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
mov byte [esp + 0xb4], 1
je 0x42146d
call fcn.0047edc0
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x20]
jmp 0x421475
xor esi, esi
mov ecx, dword [esp + 0x14]
push esi
mov byte [esp + 0xb8], bl
mov ecx, dword [ecx + 0x18]
call fcn.00508c90
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
mov dword [esp + 0x20], ebp
jl 0x4212b7
mov edx, dword [esp + 0x18]
push edx
call fcn.00460cd0
mov ecx, dword [edi + 0x18]
add esp, 4
mov eax, dword [ecx]
push ebx
call dword [eax + 0x50]
cmp esi, ebx
mov dword [esp + 0xb4], 0xffffffff
je 0x4214ce
mov ecx, esi
call fcn.0047edc0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret