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

Disassembly:
mov eax, 0x42eeec
call fcn.0042c930
sub esp, 0xdc
push ebx
push esi
push edi
xor ebx, ebx
push 0x2721ffff
push 0xf579ffff
mov dword [ebp - 0x64], ebx
call fcn.00410130
add word [0x438bf4], ax
push 0x6ec7ffff
movsx eax, word [0x438bfa]
push eax
call fcn.00410285
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
add dword [0x438c2c], eax
add esp, 0x10
call edi
mov esi, dword [0x431fb0]
add byte [0x438bf1], al
mov al, byte [esi]
add al, 0x66
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov esi, eax
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x5c]
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_]
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
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_]
push 1
pop esi
mov dword [ebp - 4], esi
call edi
add word [0x438c00], ax
mov edi, dword [ebp + 0x14]
movsx eax, byte [0x438be9]
movsx ecx, word [0x438c02]
add eax, ecx
push ebx
mov dword [0x438c14], eax
mov al, byte [edi]
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x74], 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 eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x74]
push dword [eax]
push ebx
push edi
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_]
movsx eax, word [0x438bfc]
push eax
push 0xd539ffff
mov byte [ebp - 4], 2
call fcn.00410130
pop ecx
mov dword [0x438c0c], eax
pop ecx
push ebx
push 0x1e
call fcn.004146c6
pop ecx
call eax
mov dword [ebp - 0x60], eax
push 0xe447ffff
movsx eax, byte [0x438bf1]
push eax
call fcn.004100c8
push dword [0x438c14]
add byte [0x438beb], al
push 0x3f2fffff
call fcn.0041003a
add word [0x438bf2], ax
add esp, 0x10
mov dword [ebp - 0x1c], ebx
movsx eax, byte [0x438bee]
push dword [0x438c1c]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0x1621ffff
call edi
mov word [0x438bfa], ax
mov dword [ebp - 0x14], ebx
push 0xacfbffff
push 0x920bffff
mov byte [ebp - 4], 4
call fcn.00410285
pop ecx
mov dword [0x438c2c], eax
pop ecx
push dword [0x438c18]
push 0x7a8bffff
push 0x5a6bffff
call edi
push 0x28
mov dword [0x438c18], eax
pop edi
lea eax, [ebp - 0xd8]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov al, byte [0x438be9]
push 0x493fffff
push dword [0x438c18]
sub byte [0x438bf0], al
mov dword [ebp - 0xd8], edi
call fcn.004100c8
mov word [0x438bf2], ax
movsx eax, word [0x438bfe]
push eax
movsx eax, word [0x438bfa]
push eax
call fcn.0041020b
add word [0x438bfc], ax
mov al, byte [ebp + 0x17]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push dword [0x438c18]
mov byte [ebp - 4], 5
movsx ax, byte [0x438bf0]
push dword [0x438c0c]
mov word [0x438bf6], ax
call fcn.004101be
push 0x3f99ffff
mov byte [0x438bf0], al
push dword [0x438c18]
call fcn.0041020b
add esp, 0x2c
mov word [0x438bf8], ax
lea eax, [ebp - 0x1c]
push eax
push 0x432810
push esi
push ebx
push 0x432800
push 0x1c
call fcn.004146c6
pop ecx
call eax
test eax, eax
jl 0x428479
mov eax, dword [ebp - 0x1c]
inc byte [0x438bea]
inc dword [0x438c24]
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x428479
push 0x43b1ffff
push dword [0x438c28]
call fcn.0041020b
add byte [0x438bf0], al
mov dword [ebp - 0x10], ebx
movsx eax, word [0x438c02]
or eax, 0xc861ffff
mov dword [0x438c28], eax
mov al, byte [0x438bf8]
push dword [0x438c18]
sub al, byte [0x438be9]
mov byte [ebp - 4], 6
push 0x983dffff
add byte [0x438bf0], al
call fcn.004100c8
add esp, 0x10
lea edx, [ebp - 0x18]
mov byte [0x438bf1], al
mov eax, dword [ebp - 0x14]
push edx
lea edx, [ebp - 0xd8]
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x42846c
cmp dword [ebp - 0x18], ebx
je 0x42846c
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [ebp - 0xd4]
add dword [0x438c0c], eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00405bd7
or byte [0x438bef], 0xff
cmp word [0x438c00], bx
je 0x4280a9
cmp dword [0x438c2c], ebx
jne 0x4280ab
xor esi, esi
add word [0x438c02], si
cmp dword [ebp - 0x10], ebx
jne 0x4280bb
xor eax, eax
jmp 0x4280c4
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [ebp - 0x10], ebx
pop ecx
mov esi, eax
mov byte [0x438bed], 1
jne 0x4280de
xor eax, eax
jmp 0x4280e7
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push ebx
inc eax
push ebx
push eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x10]
push ebx
push ebx
push 0x60
call fcn.004146c6
pop ecx
call eax
movsx eax, word [0x438bf4]
and eax, 0x37ffff
add dword [0x438c18], eax
movsx eax, word [0x438bf6]
push eax
movsx eax, word [0x438c00]
push eax
call fcn.0041020b
mov word [0x438c00], ax
movsx eax, byte [0x438be8]
push eax
push 0x7d6fffff
call fcn.004100f9
add esp, 0x10
mov byte [0x438bea], al
mov al, byte [ebp + 0x17]
lea ecx, [ebp - 0x3c]
push ebx
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 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 byte [ebp - 4], 7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov byte [0x438bf0], al
mov eax, dword [0x438c1c]
or eax, dword [0x438c0c]
push esi
add dword [0x438c24], eax
call fcn.0042c88a
push 0x97fdffff
push dword [0x438c0c]
call fcn.0041003a
mov esi, dword [0x431fb0]
add dword [0x438c0c], eax
add dword [0x438c10], 0x77d1fffe
add esp, 0xc
mov al, byte [esi]
add al, 0x66
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042c950
mov ecx, esp
mov edx, esi
call fcn.00429cdb
mov edi, eax
push 7
lea eax, [ebp - 0xe8]
push ebx
push eax
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__::substr_unsigned_int__unsigned_int_]
mov esi, eax
push edi
mov byte [ebp - 4], 8
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
push dword [esi + 8]
push ebx
mov ecx, esi
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]
push 1
cmp eax, ebx
pop esi
lea ecx, [ebp - 0xe8]
push esi
mov byte [ebp - 4], 7
sete byte [ebp + 0x17]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp byte [ebp + 0x17], bl
je 0x42843e
push 0x3c
lea eax, [ebp - 0xb0]
pop edi
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0xd4e3ffff
push 0x7991ffff
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x9c], esi
call fcn.00410246
add word [0x438bf8], ax
add esp, 0x14
dec word [0x438c04]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_IsCharUpperA]
add word [0x438bfe], ax
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov byte [0x438be8], al
mov dword [ebp - 0x90], esi
movsx eax, byte [0x438bf0]
push eax
push dword [0x438c20]
call fcn.004101be
add word [0x438c02], ax
or byte [0x438bf0], 0xff
pop ecx
mov dword [ebp - 0x88], esi
pop ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov byte [0x438bea], al
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov dword [ebp - 0x78], esi
jne 0x4282c5
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 - 0xb0]
push ecx
push ebx
push dword [ebp - 0x34]
push eax
push 5
call fcn.004146c6
pop ecx
call eax
movsx eax, byte [0x438bed]
push eax
push 0xbc43ffff
call fcn.00410167
mov edi, dword [ebp - 0x84]
pop ecx
pop ecx
mov dword [0x438c10], eax
mov al, byte [ebp + 0x17]
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_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x4c]
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 eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
push dword [eax]
push dword [ebp - 0x80]
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__::erase_unsigned_int__unsigned_int_]
push 0x969dffff
push dword [0x438c10]
call fcn.0041020b
add dword [0x438c0c], eax
push 0x1981ffff
movsx eax, word [0x438bf8]
push eax
call fcn.004101be
add byte [0x438bf1], al
add esp, 0x10
xor eax, eax
cmp byte [0x438beb], bl
lea ecx, [ebp - 0x3c]
setne al
add byte [0x438be8], al
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea eax, [ebp - 0x4c]
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 0x98edffff
push 0xcbf9ffff
call fcn.0041003a
pop ecx
mov word [0x438c00], ax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0x2a7bffff
push 0x5a9fffff
mov byte [0x438bed], al
call fcn.0041003a
mov edi, dword [ebp + 0x10]
pop ecx
pop ecx
mov word [0x438c00], ax
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x44]
cmp ecx, eax
jbe 0x4283dd
sub ecx, eax
push ecx
push ebx
lea ecx, [ebp - 0x4c]
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__::erase_unsigned_int__unsigned_int_]
mov ax, word [0x438bf2]
push edi
dec ax
lea ecx, [ebp - 0x4c]
add word [0x438c02], ax
inc word [0x438c00]
mov byte [0x438bed], bl
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__const]
test eax, eax
jne 0x428413
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040f446
push dword [0x438c10]
inc byte [0x438bec]
push 0xd68bffff
call fcn.00410167
pop ecx
mov dword [0x438c18], eax
pop ecx
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0x4c]
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 esi
lea ecx, [ebp - 0x3c]
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_]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0xd8]
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0xc]
push 1
test eax, eax
pop esi
jge 0x428059
push dword [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
movsx eax, word [0x438bfe]
push 0x5a5dffff
push eax
call fcn.0041020b
mov word [0x438bf8], ax
mov eax, dword [ebp - 0x28]
pop ecx
cmp eax, ebx
pop ecx
je 0x428562
mov ecx, dword [ebp - 0x24]
sub ecx, eax
sar ecx, 4
je 0x428562
mov cl, byte [0x438c24]
or cl, byte [0x438bed]
cmp eax, dword [ebp - 0x24]
mov byte [0x438be8], cl
je 0x4284d0
push ebx
push dword [ebp - 0x24]
push eax
call fcn.00428e7f
add esp, 0xc
push 0xc73ffff
push 0xe859ffff
call fcn.00410092
cmp byte [0x438bed], bl
pop ecx
pop ecx
mov word [0x438bfc], ax
je 0x4284fc
cmp word [0x438bf6], bx
je 0x4284fc
mov eax, esi
jmp 0x4284fe
xor eax, eax
add dword [0x438c08], eax
movsx eax, byte [0x438bef]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
add dword [0x438c20], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x74]
push dword [eax]
push ebx
push dword [ebp - 0x28]
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_]
movsx eax, word [0x438bfc]
push 0xb525ffff
push eax
call fcn.00410130
add byte [0x438bf0], al
movsx eax, byte [0x438bef]
push eax
movsx eax, word [0x438bf2]
push eax
call fcn.00410285
add esp, 0x10
add dword [0x438c20], eax
mov al, byte [0x438c02]
push 0x108fffff
add al, byte [0x438c1c]
add byte [0x438bee], al
mov al, byte [0x438bf6]
sub byte [0x438bea], al
movsx eax, word [0x438bf8]
push eax
call fcn.00410130
pop ecx
mov word [0x438bf4], ax
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.0040f3a6
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4285b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4285c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x58cbffff
push 0xf165ffff
call fcn.004100c8
add dword [0x438c14], eax
cmp dword [ebp - 0x60], 0x80010106
pop ecx
pop ecx
je 0x4285f0
push 0x20
call fcn.004146c6
pop ecx
call eax
movsx eax, byte [0x438bf0]
push eax
movsx eax, byte [0x438bee]
push eax
call fcn.0041003a
push 0xa217ffff
push 0x973fffff
mov dword [0x438c18], eax
call fcn.0041003a
or word [0x438bf2], 0xffff
mov dword [0x438c1c], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add esp, 0x10
lea ecx, [ebp - 0x5c]
push dword [eax]
push ebx
push dword [ebp + 0xc]
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x5c]
push dword [eax]
lea eax, [ebp - 0x74]
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
movsx eax, byte [0x438be8]
push eax
push 0x5c7fffff
call fcn.0041003a
mov edi, dword [ebp + 8]
pop ecx
pop ecx
mov word [0x438bf2], ax
mov al, byte [ebp - 0x5c]
push ebx
mov ecx, edi
mov byte [edi], 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 eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, edi
push dword [eax]
lea eax, [ebp - 0x5c]
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_]
mov dword [ebp - 0x64], esi
push esi
lea ecx, [ebp - 0x74]
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_]
push esi
lea ecx, [ebp - 0x5c]
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 ecx, dword [ebp - 0xc]
lea esp, [ebp - 0xf4]
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret