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

Disassembly:
mov eax, 0x4312e1
call fcn.00430710
sub esp, 0x80
movsx eax, word [0x43ac82]
push ebx
push esi
push edi
push eax
push 0xa53bffff
call fcn.0040b0ac
pop ecx
add word [0x43ac92], 2
pop ecx
xor ebx, ebx
push dword [0x434de8]
mov dword [0x43acbc], eax
mov byte [0x43ac78], 1
mov byte [ebp - 0xd], bl
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push dword [ebp + 8]
call fcn.00409ca0
lea eax, [ebp - 0x18]
push eax
call fcn.004302d5
movsx eax, word [0x43ac90]
push eax
push 0x5c3fffff
mov dword [ebp - 4], ebx
mov byte [0x43ac81], 0xfe
call fcn.0040b002
add dword [0x43acac], eax
add esp, 0x14
cmp dword [ebp - 0x18], ebx
je 0x407213
push dword [0x43acbc]
push dword [0x43aca4]
call fcn.0040b037
add dword [0x43ac9c], eax
cmp dword [ebp - 0x18], ebx
pop ecx
pop ecx
jne 0x406c25
push 0x80004003
call fcn.00430ba0
mov ecx, dword [ebp - 0x18]
call fcn.004095a1
mov dword [ebp - 0x28], eax
movsx eax, word [0x43ac86]
push eax
push dword [0x43acb4]
call fcn.0040b087
add byte [0x43ac7b], al
movsx eax, byte [0x43ac7b]
push eax
push 0x5979ffff
call fcn.0040b0ac
mov word [0x43ac92], ax
add esp, 0x10
xor eax, eax
cmp byte [0x43ac7c], bl
mov dword [ebp - 0x20], ebx
setne al
add byte [0x43ac7e], al
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], eax
jge 0x407213
push 0x2e45ffff
push 0x57cfffff
call fcn.0040b037
add word [0x43ac8e], ax
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
inc word [0x43ac86]
cmp dword [ebp - 0x18], ebx
mov byte [0x43ac79], al
jne 0x406cbd
push 0x80004003
call fcn.00430ba0
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.0040956c
movsx eax, word [0x43ac8c]
mov ecx, dword [0x43acb0]
cmp dword [ebp - 0x14], ebx
push 1
mov byte [ebp - 4], 1
pop edi
lea eax, [ecx + eax + 0x1ddbffff]
mov word [0x43ac92], di
mov dword [0x43acb0], eax
je 0x4071ed
dec byte [0x43ac7c]
push 0x56a5ffff
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
add dword [0x43ac98], eax
mov byte [ebp + 0xb], bl
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [0x43ac92], ax
movsx eax, word [0x43ac88]
push eax
push 0x71bffff
call fcn.0040b0f0
add byte [0x43ac81], al
pop ecx
pop ecx
lea eax, [ebp - 0x4c]
push eax
dec word [0x43ac8e]
push dword [0x434dec]
lea eax, [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00409ca0
call fcn.0042fef7
add esp, 0xc
cmp eax, ebx
je 0x406de4
movsx eax, byte [0x43ac7d]
push 0xc903ffff
push eax
call fcn.0040af6d
mov esi, dword [0x434df0]
mov word [0x43ac82], ax
pop ecx
mov al, byte [esi]
pop ecx
add al, 0x76
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.00430730
mov eax, esp
push esi
push eax
call fcn.0042d836
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
push esi
push dword [ebp - 0x44]
push ebx
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const___unsigned_int_const]
cmp eax, ebx
jne 0x406dd8
mov byte [ebp + 0xb], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add dword [0x43aca0], eax
movsx ax, byte [0x43ac7e]
sub word [0x43ac94], ax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [0x434df4]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00409ca0
lea eax, [ebp - 0x1c]
push eax
call fcn.004301dc
push 0x599fffff
push 0x52a1ffff
mov byte [ebp - 4], 4
call fcn.0040aeeb
mov word [0x43ac94], ax
movsx eax, byte [0x43ac7b]
push eax
push 0xeb7bffff
call fcn.0040af6d
add dword [0x43acb8], eax
add esp, 0x1c
cmp dword [ebp - 0x1c], ebx
mov byte [0x43ac79], 1
je 0x407094
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x7c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
mov byte [ebp - 0x6c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
mov byte [ebp - 0x5c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
sub dword [0x43aca0], 0xae0000
inc word [0x43ac86]
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add byte [0x43ac7c], al
cmp dword [0x43aca8], ebx
jne 0x406ed9
cmp word [0x43ac90], bx
mov byte [0x43ac7a], bl
je 0x406ee0
mov byte [0x43ac7a], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add dword [0x43acb0], eax
dec byte [0x43ac81]
movsx eax, word [0x43ac82]
push eax
movsx eax, word [0x43ac8a]
push eax
call fcn.0040b002
add word [0x43ac94], ax
mov al, byte [0x43aca0]
mov byte [0x43ac7a], al
mov al, byte [0x43acbc]
or al, byte [0x43ac98]
pop ecx
pop ecx
add byte [0x43ac81], al
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x1c]
push dword [0x434df8]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00409ca0
call fcn.004303ab
add esp, 0xc
cmp eax, ebx
je 0x407068
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1c]
push dword [0x434dfc]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00409ca0
call fcn.004303ab
add esp, 0xc
cmp eax, ebx
je 0x407068
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x1c]
push dword [0x434e00]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00409ca0
call fcn.004303ab
add esp, 0xc
cmp eax, ebx
je 0x407068
movsx eax, byte [0x43ac7e]
add eax, dword [0x43acbc]
mov dword [0x43aca4], eax
movsx eax, byte [0x43ac78]
push eax
movsx eax, byte [0x43ac7a]
push eax
call fcn.0040af6d
add word [0x43ac94], ax
movsx eax, byte [0x43ac78]
push eax
push 0xf0e7ffff
call fcn.0040af94
push dword [0x43acac]
add dword [0x43aca0], eax
push 0x8b1ffff
call fcn.0040afcb
mov byte [0x43ac7a], al
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0042bba6
add esp, 0x28
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 byte [ebp - 4], 8
push dword [ecx]
lea ecx, [ebp - 0x3c]
push ebx
push eax
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_]
push edi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx eax, word [0x43ac92]
push eax
movsx eax, word [0x43ac94]
push eax
call fcn.0040afcb
add word [0x43ac82], ax
inc dword [0x43aca0]
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x4070fa
movsx eax, byte [0x43ac78]
or eax, 0xb88bffff
cmp dword [ebp - 0x14], ebx
mov dword [0x43acb0], eax
jne 0x4070b4
push 0x80004003
call fcn.00430ba0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.00409427
mov ecx, dword [eax]
mov byte [ebp - 4], 9
cmp ecx, ebx
je 0x4070d3
call fcn.00409ce8
mov esi, eax
jmp 0x4070d5
xor esi, esi
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
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_char_const___unsigned_int_]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 4
cmp ecx, ebx
je 0x4070fa
call fcn.00409cbb
mov dword [ebp - 0x24], ebx
push 0x5c93ffff
push 0x28c7ffff
call fcn.0040af6d
cmp byte [ebp + 0xb], bl
pop ecx
pop ecx
mov word [0x43ac90], ax
je 0x407142
lea eax, [ebp - 0x3c]
mov byte [0x43ac80], 1
push eax
call fcn.0042c48b
test al, al
pop ecx
jne 0x407142
mov esi, 0x43abc4
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
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_char_const___unsigned_int_]
movsx eax, byte [0x43ac7a]
push 0x52d1ffff
push eax
call fcn.0040b087
add word [0x43ac8a], ax
push 0x80a5ffff
push 0xc673ffff
call fcn.0040b0ac
mov byte [0x43ac80], al
movsx eax, byte [0x43ac7f]
push eax
push 0x7319ffff
call fcn.0040af32
add esp, 0x18
cmp dword [ebp - 0x34], ebx
mov dword [0x43acbc], eax
jbe 0x4071c0
movsx eax, byte [0x43ac80]
push 0xc217ffff
push eax
call fcn.0040afcb
push dword [ebp + 0x10]
mov word [0x43ac92], ax
lea eax, [ebp - 0x3c]
push dword [ebp + 0xc]
push eax
call fcn.0042b158
add esp, 0x14
test eax, eax
je 0x4071c0
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4071d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp - 0x14]
mov dword [0x43aca8], 0xf9dfffff
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x407207
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x20]
cmp byte [ebp - 0xd], bl
je 0x406c78
movsx eax, word [0x43ac8a]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
add word [0x43ac92], ax
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_IsCharAlphaA]
mov dword [0x43ac98], eax
movsx eax, word [0x43ac8e]
push eax
push 0x4a21ffff
call fcn.0040af32
add byte [0x43ac7f], al
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
pop ecx
cmp eax, ebx
pop ecx
je 0x407260
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
lea esp, [ebp - 0x98]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret