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

Disassembly:
mov eax, 0x430288
call fcn.0042e9c0
mov eax, 0x1068
call fcn.0042e9e0
push ebx
push esi
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040beec
add esp, 0x14
test eax, eax
je 0x418c00
push 1
pop eax
jmp 0x419398
movsx eax, word [0x438c24]
xor ebx, ebx
push eax
push 0x22c5ffff
mov dword [ebp - 0x30], ebx
call fcn.0040aa18
add byte [0x438c20], al
push 0x5a3bffff
push dword [0x438c44]
mov dword [0x438c48], 0x66b1ffff
call fcn.0040aa83
add esp, 0x10
mov dword [0x438c44], eax
lea eax, [ebp - 0x54]
mov ecx, 0x439128
push dword [ebp + 8]
push eax
call fcn.00423ea0
push 0xf73dffff
mov dword [ebp - 4], ebx
push dword [0x438c4c]
call fcn.0040a9de
add dword [0x438c48], eax
push dword [0x438c48]
push 0xc721ffff
call fcn.0040aa83
add dword [0x438c4c], eax
mov al, byte [0x438c5c]
add al, byte [0x438c20]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add esp, 0x10
mov byte [ebp - 0x1074], bl
mov byte [0x438c18], al
call edi
mov byte [0x438c1b], al
xor eax, eax
cmp word [0x438c32], bx
setne al
add byte [0x438c19], al
cmp dword [ebp + 0xc], ebx
je 0x418cee
mov esi, dword [0x433088]
mov al, byte [esi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
push esi
push eax
call fcn.0042bd2b
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x418cf1
mov dword [ebp - 0x10], ebx
cmp word [0x438c28], bx
jne 0x418d06
cmp dword [0x438c50], ebx
jne 0x418d06
xor eax, eax
jmp 0x418d09
push 1
pop eax
add byte [0x438c1a], al
cmp dword [ebp - 0x10], ebx
je 0x418e93
mov esi, dword [0x433088]
mov al, byte [esi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
push esi
push eax
call fcn.0042bd2b
push eax
call sub.MSVCRT.dll_strlen
add dword [ebp - 0x10], eax
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push 0xa
push dword [ebp - 0x10]
call esi
add esp, 0x14
mov dword [ebp - 0x14], eax
call edi
mov edi, dword [ebp - 0x10]
mov byte [0x438c1a], al
movsx eax, byte [0x438c18]
or eax, dword [0x438c5c]
push 0xd
push edi
mov dword [0x438c3c], eax
call esi
pop ecx
mov esi, eax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov byte [0x438c20], al
push 0xf239ffff
movsx eax, byte [0x438c1a]
push eax
call fcn.0040a933
add dword [0x438c54], eax
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
je 0x418dac
cmp esi, ebx
je 0x418daf
cmp esi, dword [ebp - 0x14]
jae 0x418daf
mov dword [ebp - 0x14], esi
mov dword [0x438c3c], 1
call dword [sym.imp.USER32.dll_GetInputState]
add word [0x438c22], ax
movsx eax, byte [0x438c21]
push eax
push dword [0x438c54]
call fcn.0040aa18
mov esi, dword [ebp - 0x14]
add dword [0x438c3c], eax
pop ecx
cmp esi, ebx
pop ecx
je 0x418e30
sub esi, edi
lea eax, [ebp - 0x1074]
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
push 0x6073ffff
push dword [0x438c3c]
call fcn.0040a8f9
add dword [0x438c58], 0x5749fffe
add esp, 0x14
mov dword [0x438c5c], eax
mov byte [ebp + esi - 0x1074], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add dword [0x438c5c], eax
jmp 0x418e93
push dword [0x438c48]
push 0x6dc3ffff
call fcn.0040aa83
add dword [0x438c58], eax
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov byte [0x438c1e], al
lea eax, [ebp - 0x1074]
push edi
push eax
call sub.MSVCRT.dll_strcpy
movsx eax, word [0x438c2a]
push eax
push 0x2737ffff
call fcn.0040a9a5
add byte [0x438c19], al
movsx eax, byte [0x438c20]
push eax
push 0xf7c7ffff
call fcn.0040aa18
add esp, 0x18
mov word [0x438c34], ax
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
add byte [0x438c1c], al
push 0x88e7ffff
push 0x522dffff
call fcn.0040aa4f
push 0x815bffff
mov dword [0x438c38], eax
push dword [0x438c4c]
call fcn.0040aa83
add dword [0x438c3c], eax
mov al, byte [ebp + 0x13]
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
push ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x1074]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebp - 0x24]
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_]
lea eax, [ebp - 0x24]
mov ecx, 0x439128
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.00423a38
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
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 + 0x13]
inc dword [0x438c54]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 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_]
lea eax, [ebp - 0x1074]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebp - 0x24]
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_]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00425c0a
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x24]
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 edi, dword [ebp - 0x50]
cmp edi, ebx
jne 0x418f84
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 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 edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
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_]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
call fcn.0042c395
pop ecx
mov dword [ebp - 0x2c], eax
push 1
lea ecx, [ebp - 0x24]
pop edi
mov byte [ebp - 4], bl
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
call esi
mov word [0x438c2a], ax
push 0x581ffff
movsx eax, byte [0x438c18]
push eax
call fcn.0040a9a5
pop ecx
mov byte [0x438c1c], al
mov al, byte [ebp + 0x13]
pop ecx
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], 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 + 0x13]
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
mov byte [ebp - 0x64], 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_]
xor eax, eax
cmp dword [0x438c3c], ebx
mov byte [ebp - 4], 5
setne al
cmp dword [ebp - 0x14], 0xb
mov word [0x438c2c], ax
jne 0x4190a0
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 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_]
lea eax, [ebp - 0x1074]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebp - 0x24]
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_]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00425cef
add esp, 0xc
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], 7
push dword [ecx]
lea ecx, [ebp - 0x44]
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 - 0x74]
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 - 0x24]
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_]
mov ax, word [0x438c2a]
push dword [0x438c5c]
mov word [0x438c26], ax
movsx eax, word [0x438c24]
push eax
call fcn.0040a933
mov word [0x438c2a], ax
movsx eax, word [0x438c24]
push eax
push 0x44f9ffff
call fcn.0040aa4f
mov byte [0x438c1f], al
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], ebx
je 0x419161
mov esi, dword [0x433090]
mov al, byte [esi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, dword [str._r0YA]
mov dword [ebp - 0x2c], esp
mov al, byte [eax]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov dword [ebp - 0x34], esp
lea eax, [ebp + 0x10]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x2c]
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push dword [0x43308c]
push dword [ebp - 0x34]
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push dword [ebp + 0xc]
call fcn.0041ff01
add esp, 0x1c
test eax, eax
je 0x419161
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], eax
dec word [0x438c34]
cmp dword [ebp - 0x14], ebx
je 0x4192c1
cmp dword [ebp - 0x3c], ebx
je 0x4192c1
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x419186
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp + 0x10]
push ebx
push ecx
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x10]
call fcn.00420735
add esp, 0x18
test eax, eax
je 0x4192c1
mov eax, dword [0x438c48]
mov esi, dword [0x432dd0]
add eax, 0x1fc9ffff
mov dword [0x438c3c], eax
mov eax, dword [0x438c50]
add eax, 0x5f35ffff
mov dword [0x438c38], eax
mov al, byte [esi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, dword [0x439184]
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov ecx, esp
je 0x4191ee
mov edi, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
push dword [ebp + 8]
push esi
push ecx
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push edi
push dword [0x4390c0]
call fcn.0041dcbf
call eax
lea ecx, [ebp + 8]
mov edi, eax
call fcn.00418481
push 0x201dffff
push 0x6953ffff
mov byte [ebp - 4], 8
call fcn.0040ab0e
push dword [ebp - 0x30]
mov esi, dword [sym.imp.MSVCRT.dll_free]
add dword [0x438c48], eax
call esi
mov eax, dword [0x438c38]
add esp, 0xc
and eax, 0x9547ffff
mov dword [0x438c40], eax
mov ax, word [0x438c32]
dec ax
add word [0x438c24], ax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x419274
cmp eax, dword [ebp + 0xc]
je 0x419274
push eax
call esi
pop ecx
mov ax, word [0x438c34]
lea ecx, [ebp + 8]
inc ax
mov byte [ebp - 4], 5
mov word [0x438c26], ax
call fcn.0041849a
push 1
lea ecx, [ebp - 0x64]
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_]
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x54]
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, edi
jmp 0x419398
mov esi, dword [0x432dd0]
xor eax, eax
cmp dword [0x438c54], ebx
setne al
mov dword [0x438c40], eax
mov al, byte [esi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, dword [0x439184]
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp eax, ebx
mov ecx, esp
je 0x4192fb
mov edi, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
push esi
push ecx
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push edi
push dword [0x4390c0]
call fcn.0041dcbf
call eax
lea ecx, [ebp + 0x18]
mov esi, eax
call fcn.00418481
movsx eax, byte [0x438c18]
push eax
push 0x99f1ffff
mov byte [ebp - 4], 9
call fcn.0040a9a5
mov word [0x438c22], ax
mov eax, dword [ebp - 0x10]
pop ecx
cmp eax, ebx
pop ecx
je 0x41935e
cmp eax, dword [ebp + 0xc]
je 0x41935e
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 5
call fcn.0041849a
push 1
lea ecx, [ebp - 0x64]
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_]
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x54]
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, esi
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x1080]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x14