Function at 0x4121cf
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
mov eax, 0x431b8c
call fcn.00430710
sub esp, 0x50
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x3c]
mov dword [ebp - 0x14], ebx
push eax
push 0x40
mov dword [ebp - 0x24], eax
call fcn.0040f588
pop ecx
call eax
movsx eax, byte [0x43ac80]
mov ecx, dword [0x43aca0]
xor esi, esi
dec word [0x43ac84]
mov dword [ebp - 4], esi
lea eax, [ecx + eax - 0x510c0001]
lea ecx, [ebp - 0x2c]
mov dword [0x43aca0], eax
call fcn.0042964f
movsx eax, byte [0x43ac7c]
push eax
mov byte [ebp - 4], 1
push dword [0x43acb4]
call fcn.0040af32
push 0xc81ffff
mov dword [0x43aca0], eax
push dword [0x43aca4]
call fcn.0040aeeb
add dword [0x43acb8], eax
mov eax, dword [ebx + 0x28]
add esp, 0x10
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x78]
test eax, eax
jl 0x4125e1
cmp dword [ebp - 0x2c], esi
je 0x4125e1
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x4125e1
push str.about:blank
lea ecx, [ebp - 0x2c]
call fcn.00429922
test eax, eax
jne 0x4125e1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add byte [0x43ac81], al
mov eax, dword [ebx + 0x38]
cmp eax, esi
je 0x4125d8
cmp dword [eax + 0x64], esi
jbe 0x4125d8
push eax
call fcn.0041199e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp byte [0x43ac79], 0
mov dword [0x43aca0], eax
je 0x4122e2
cmp word [0x43ac82], si
je 0x4122e2
push 1
pop esi
add word [0x43ac92], si
jmp 0x4122ee
mov ebx, dword [ebp - 0x14]
push dword [ebx + 0x38]
lea esi, [ebx + 0x38]
call fcn.0041199e
push 1
push esi
call fcn.004092fb
push dword [esi]
mov edi, eax
call fcn.0041199e
add esp, 0x10
test edi, edi
jne 0x4124e7
movsx eax, word [0x43ac94]
movsx ecx, word [0x43ac84]
sub ecx, eax
add dword [0x43acb0], ecx
push dword [esi]
call fcn.0041199e
push edi
push esi
call fcn.004092fb
push dword [esi]
mov ebx, eax
call fcn.0041199e
add esp, 0x10
test ebx, ebx
je 0x4124dd
movsx eax, word [0x43ac94]
inc byte [0x43ac7f]
push eax
movsx eax, byte [0x43ac7b]
push eax
call fcn.0040b0ac
add dword [0x43acb4], eax
push 0x892dffff
push 0xe809ffff
call fcn.0040b002
add word [0x43ac8e], ax
push 0x49
call fcn.0040f588
add esp, 0x14
call eax
push eax
call dword [sym.imp.MSVCRT.dll_srand]
and dword [ebp - 0x10], edi
cmp dword [ebx + 0x64], edi
pop ecx
jbe 0x4122eb
lea eax, [ebx + 0x3c]
mov dword [ebp - 0x18], eax
movsx eax, byte [0x43ac7a]
push 0x8c21ffff
push eax
call fcn.0040af94
add word [0x43ac94], ax
pop ecx
pop ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
add byte [0x43ac79], al
call dword [sym.imp.USER32.dll_GetInputState]
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x3c]
mov byte [0x43ac7a], al
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
call fcn.0040a578
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp byte [eax + 0x88], 0
jne 0x412552
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040a578
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp dword [eax + 0x34], 1
je 0x4124e4
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040a578
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
cmp dword [eax + 0x34], 0
je 0x412495
push dword [0x43ac98]
inc word [0x43ac88]
push 0x9e07ffff
call fcn.0040b037
add dword [0x43aca8], eax
movsx eax, byte [0x43ac7d]
push eax
push dword [0x43acac]
call fcn.0040b002
add word [0x43ac82], ax
mov eax, dword [ebx + 0x64]
add esp, 0x10
inc dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
ja 0x4123aa
jmp 0x4122eb
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040a578
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x5c]
push dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x5c]
mov dword [eax + 0x34], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040a578
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
push dword [eax + 0x30]
push 0x404
jmp 0x4125cb
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x54], 1
mov ebx, dword [ebp - 0x14]
cmp byte [ebx + 0x54], 0
je 0x4124ff
cmp byte [ebx + 0x24], 0
je 0x4124ff
mov ebx, dword [ebx + 0x28]
push ebx
mov eax, dword [ebx]
call dword [eax + 0x80]
movsx eax, word [0x43ac8a]
push 0xe0ebffff
push eax
call fcn.0040af32
pop ecx
mov word [0x43ac88], ax
neg ax
pop ecx
mov word [0x43ac82], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov word [0x43ac8a], ax
call fcn.004296bf
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
add ebx, 0x3c
lea edi, [ebp - 0x5c]
mov esi, ebx
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
call fcn.0040a578
mov eax, dword [ebp - 0x54]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [eax]
push dword [ecx]
add eax, 0x8c
push 0
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x64]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov esi, ebx
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040a578
mov eax, dword [ebp - 0x54]
mov esi, ebx
lea edi, [ebp - 0x5c]
push dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x5c]
mov dword [eax + 0x34], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040a578
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
push dword [eax + 0x30]
push 0x406
mov ecx, dword [ebp - 0x14]
call fcn.00410efe
jmp 0x4124e4
mov byte [ebx + 0x54], 1
jmp 0x4124e7
cmp byte [0x43b173], 0
jne 0x4125f6
call fcn.00420b9b
mov byte [0x43b173], 1
cmp byte [0x43b172], 0
jne 0x4124e7
mov eax, dword [ebx + 0x28]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
cmp eax, esi
jl 0x4124e7
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00418c9a
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x41264b
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp ecx, esi
mov dword [ebp - 0x18], eax
je 0x412668
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x43a198
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov byte [ebp - 4], 4
je 0x4126b6
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push eax
call dword [ecx + 0x80]
xor eax, eax
cmp word [ebp - 0x5c], 9
jne 0x412689
mov eax, dword [ebp - 0x54]
push eax
push esi
push 0x411c52
push ebx
mov word [ebp - 0x4c], 9
call fcn.00418cc7
lea esi, [ebp - 0x4c]
mov edi, esp
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x7c]
mov eax, dword [ebp - 0x18]
xor esi, esi
cmp eax, esi
mov byte [ebp - 4], 3
je 0x4126c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x4126d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x4124e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4124e7