Function at 0x401220
Capabilities:
Accept command line arguments
Get common file path
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1228
call fcn.00405900
mov eax, dword [0x410110]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x1220], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [ebp - 0x121c], ax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00405870
add esp, 0xc
mov dword [ebp - 0x218], 0x40c1c8
movzx edx, word [ebp - 0x121c]
and edx, 0x3ff
mov dword [ebp - 0x1224], edx
mov eax, dword [ebp - 0x1224]
sub eax, 4
mov dword [ebp - 0x1224], eax
cmp dword [ebp - 0x1224], 0x1b
ja case.0x4012b0.9
mov ecx, dword [ebp - 0x1224]
jmp dword [ecx*4 + 0x401530]
mov dword [ebp - 0x218], str.__l0x0407
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x040a
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x040b
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0c0c
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0410
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0411
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0412
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0413
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0414
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0816
movzx edx, word [ebp - 0x121c]
sar edx, 0xa
cmp edx, 1
jne 0x401361
mov dword [ebp - 0x218], str.__l0x0416
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0419
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x041d
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0406
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0405
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0408
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x040e
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x041f
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0415
jmp 0x40142d
movzx eax, word [ebp - 0x121c]
sar eax, 0xa
mov dword [ebp - 0x1228], eax
cmp dword [ebp - 0x1228], 1
je 0x4013ff
cmp dword [ebp - 0x1228], 3
je 0x4013ff
cmp dword [ebp - 0x1228], 5
je 0x4013ff
jmp 0x40140b
mov dword [ebp - 0x218], str.__l0x0404
jmp 0x401415
mov dword [ebp - 0x218], str.__l0x0804
jmp 0x40142d
mov dword [ebp - 0x218], 0x40c370
jmp 0x40142d
mov dword [ebp - 0x218], str.__l0x0409
mov ecx, dword [ebp - 0x218]
push ecx
push 0x40c398
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa18], ax
push 0x7fe
push 0
lea ecx, [ebp - 0xa16]
push ecx
call fcn.00405870
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1218], dx
push 0x7fe
push 0
lea eax, [ebp - 0x1216]
push eax
call fcn.00405870
add esp, 0xc
lea ecx, [ebp - 0xa18]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.ReadyCommSetup.exe
lea edx, [ebp - 0xa18]
push edx
push str._s_s
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0xa18]
push edx
push str._s_s__s
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x40c3e4
lea ecx, [ebp - 0xa18]
push ecx
push 0xc9
call section..text
add esp, 0xc
mov dword [ebp - 0x214], eax
push 1
lea edx, [ebp - 0x1218]
push edx
call fcn.004011b0
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004058ea
mov esp, ebp
pop ebp
ret 0x10