Function at 0x460290
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc80
mov eax, dword [0x4f6cdc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, ecx
push 0x3fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov dword [ebp - 0xc80], esi
mov word [ebp - 0x804], ax
call fcn.0049eae0
mov edx, dword [0x4d5ee4]
mov ax, word [0x4d5ee8]
push 0x3fa
lea ecx, [ebp - 0xbfe]
push 0
push ecx
mov dword [ebp - 0xc04], edx
mov word [ebp - 0xc00], ax
call fcn.0049eae0
mov ecx, dword [0x4fcdd4]
mov edx, dword [ebp + 0x10]
add esp, 0x18
xor eax, eax
push ecx
mov dword [ebp - 0xc14], eax
mov dword [ebp - 0xc10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc0c], edx
push 0xabba
lea edx, [ebp - 0xc14]
mov dword [ebp - 0xc08], eax
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, edi
call fcn.0045ab30
push 0x58
lea ecx, [ebp - 0xc6c]
push 0
push ecx
mov byte [0x4fcddc], 1
mov dword [ebp - 0xc70], 0
call fcn.0049eae0
add esp, 0xc
cmp byte [esi + 0x1c], 0
je 0x460380
lea edx, [ebp - 0xc70]
push edx
push 0x5c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
jmp 0x4603a7
xor eax, eax
jmp 0x460390
movzx ecx, word [eax + 0x4fcba8]
mov word [ebp + eax - 0xc54], cx
add eax, 2
test cx, cx
jne 0x460390
lea eax, [ebp - 0xc70]
push eax
mov ecx, edi
mov dword [ebp - 0xc70], 0xf
call fcn.00459bb0
xor esi, esi
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0xc78], esi
mov word [ebp - 0x404], cx
call fcn.0049eae0
mov eax, dword [0x4fcdc4]
add esp, 0xc
mov dword [ebp - 0xc74], esi
mov esi, dword [eax + 0x10a0]
call fcn.0043ffe0
push 0x409
push 0x809
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
push ecx
push esi
push ebx
call fcn.004088b0
mov ecx, dword [ebx + 0x18a0]
mov dword [ebp - 0xc7c], eax
mov eax, dword [ebx + 0x18a4]
sub eax, ecx
sar eax, 2
add esp, 0x14
test eax, eax
je 0x4605ad
jmp 0x460440
mov edx, dword [ebp - 0xc74]
cmp eax, edx
jbe 0x4605fa
mov esi, dword [ecx + edx*4]
cmp esi, dword [ebp - 0xc7c]
jne 0x460465
mov dword [ebp - 0xc78], edx
mov dword [ebx + 0x2158], esi
call fcn.0043ffa0
test eax, eax
je 0x46047f
lea edx, [ebp - 0x404]
push edx
push esi
mov ecx, eax
call fcn.00438c60
jmp 0x460494
push esi
lea eax, [ebp - 0x404]
push 0x4d4830
push eax
call fcn.00433950
add esp, 0xc
cmp byte [0x4ea4e8], 0
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
jne 0x460520
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4604a6
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x404]
cmp eax, 0x15
jbe 0x460513
push 0x14
push ecx
lea edx, [ebp - 0x804]
push edx
call fcn.004a092d
push 0x400
lea eax, [ebp - 0xc04]
push eax
lea ecx, [ebp - 0x804]
push ecx
call fcn.004a09bd
add esp, 0x18
push esi
push 0
lea edx, [ebp - 0x804]
push edx
mov ecx, edi
call fcn.00459af0
push 0x400
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0049eae0
add esp, 0xc
jmp 0x460587
push esi
push 0
push ecx
jmp 0x460580
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460520
sub eax, edx
sar eax, 1
cmp eax, 0x13
jbe 0x460576
lea edx, [ebp + eax*2 - 0x42a]
push 0x14
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.004a092d
add esp, 0xc
push esi
push 0
lea ecx, [ebp - 0x804]
push ecx
mov ecx, edi
call fcn.00459af0
push 0x400
lea edx, [ebp - 0x804]
push 0
push edx
call fcn.0049eae0
add esp, 0xc
jmp 0x460587
push esi
push 0
lea eax, [ebp - 0x404]
push eax
mov ecx, edi
call fcn.00459af0
mov ecx, dword [ebx + 0x18a0]
mov eax, dword [ebx + 0x18a4]
mov edx, dword [ebp - 0xc74]
sub eax, ecx
inc edx
sar eax, 2
mov dword [ebp - 0xc74], edx
cmp edx, eax
jb 0x460440
mov edx, dword [ebp - 0xc80]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xc14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc78]
push ecx
mov ecx, edi
call fcn.00459b10
push 0x64
mov ecx, edi
call fcn.00459bf0
push 0x91
mov ecx, edi
call fcn.00459c60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f71b
mov esp, ebp
pop ebp
ret 0x10
push str.invalid_vector_T__subscript
call fcn.004c8322
int3