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

Disassembly:
mov eax, 0x430ed6
call fcn.0042e9c0
sub esp, 0x80
push ebx
push esi
mov esi, dword [0x439350]
push edi
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
pop ecx
mov esi, eax
mov al, byte [ebp - 0xd]
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
mov byte [ebp - 0x28], 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 - 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_char_const___unsigned_int_]
movsx eax, byte [0x438c1c]
push 0xba45ffff
push eax
mov dword [ebp - 4], ebx
call fcn.0040aa18
add word [0x438c2a], ax
pop ecx
movsx ax, byte [0x438c18]
sub ax, word [0x438c32]
pop ecx
mov word [0x438c32], ax
mov al, byte [0x438c44]
add al, byte [0x438c1f]
add byte [0x438c1b], al
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add word [0x438c2a], ax
push 0x41
call fcn.0040ebd2
pop ecx
call eax
push eax
push 0x2c
call fcn.0040ebd2
pop ecx
call eax
push dword [0x438c3c]
mov esi, eax
movsx eax, byte [0x438c18]
push eax
call fcn.0040a96f
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov word [0x438c2c], ax
mov al, byte [0x438c2e]
pop ecx
dec al
cmp esi, ebx
pop ecx
mov byte [0x438c19], al
je 0x42dde1
movsx eax, byte [0x438c1a]
imul eax, eax, 0x9d59ffff
add dword [0x438c54], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov byte [0x438c21], al
add byte [0x438c1f], 0xfe
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push 2
push esi
push 0x2d
call fcn.0040ebd2
pop ecx
call eax
movsx eax, word [0x438c28]
push dword [0x438c54]
push eax
call fcn.0040aac5
push dword [ebp - 0x14]
add byte [0x438c18], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0xc
mov dword [ebp - 0x18], eax
call edi
movsx ecx, byte [0x438c18]
push dword [0x438c4c]
mov word [0x438c2a], ax
movsx eax, byte [0x438c21]
or eax, ecx
push 0x57d5ffff
mov dword [0x438c44], eax
call fcn.0040aa4f
add byte [0x438c1b], al
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
push esi
push 0x2d
call fcn.0040ebd2
pop ecx
call eax
push 0x57d1ffff
push 0xe4d7ffff
call fcn.0040aa4f
add byte [0x438c1e], al
movsx eax, word [0x438c2e]
push eax
push 0xb759ffff
call fcn.0040a933
add byte [0x438c1a], al
mov ax, word [0x438c50]
sub ax, word [0x438c2a]
add esp, 0x10
add word [0x438c32], ax
push esi
push 0x2a
call fcn.0040ebd2
pop ecx
call eax
push dword [0x438c44]
push 0x38bdffff
call fcn.0040ab0e
push dword [0x438c38]
add dword [0x438c3c], eax
push 0x32f9ffff
call fcn.0040a96f
mov word [0x438c24], ax
movsx eax, byte [0x438c21]
push eax
movsx eax, word [0x438c32]
push eax
call fcn.0040aac5
mov esi, dword [ebp - 0x18]
mov byte [0x438c1e], al
push esi
call sub.MSVCRT.dll_strlen
add esp, 0x1c
lea ecx, [ebp - 0x28]
push eax
push esi
push dword [ebp - 0x20]
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 0x42dd9b
movsx eax, word [0x438c22]
push 0x4223ffff
push eax
call fcn.0040aa83
add word [0x438c34], ax
xor eax, eax
cmp byte [0x438c1a], bl
push esi
setne al
mov word [0x438c32], ax
call fcn.0042e920
add esp, 0xc
call dword [sym.imp.USER32.dll_GetActiveWindow]
add dword [0x438c4c], eax
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
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, 1
jmp 0x42e1dd
push 0x6a39ffff
push 0x4747ffff
call fcn.0040aa18
add byte [0x438c19], al
push esi
call fcn.0042e920
movsx eax, word [0x438c30]
push eax
push dword [0x438c48]
call fcn.0040aa18
mov dword [0x438c50], eax
mov eax, 0x24e3ffff
add esp, 0x14
sub eax, dword [0x438c40]
mov dword [0x438c5c], eax
mov al, byte [0x438c54]
push 0x7f09ffff
sub byte [0x438c1e], al
push 0xfb31ffff
call fcn.0040a9de
add byte [0x438c1a], al
push 0x8e75ffff
movsx eax, word [0x438c2e]
push eax
call fcn.0040a8f9
push 0x44
mov dword [0x438c5c], eax
pop esi
lea eax, [ebp - 0x8c]
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
movsx eax, byte [0x438c1e]
imul eax, dword [0x438c44]
add dword [0x438c3c], eax
push 0x3d11ffff
push 0x9d3bffff
mov dword [ebp - 0x8c], esi
call fcn.0040aa18
or word [0x438c22], 0xffff
mov dword [0x438c40], eax
push 0x10
lea eax, [ebp - 0x48]
push ebx
push eax
call sub.MSVCRT.dll_memset
or byte [0x438c1d], 0xff
push 0xb293ffff
push 0x1b95ffff
call fcn.0040aa18
push 0xcea5ffff
push 0x48cbffff
mov dword [0x438c50], eax
call fcn.0040a96f
mov esi, dword [0x439350]
add byte [0x438c18], al
add esp, 0x40
mov al, byte [esi]
sub al, 3
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042e9e0
mov eax, esp
push ebx
push 0x10000000
push ebx
push ebx
push ebx
push esi
push eax
call fcn.0042bd2b
pop ecx
pop ecx
push eax
push 0x2b
call fcn.0040ebd2
pop ecx
call eax
mov dword [ebp - 0x18], eax
movsx eax, byte [0x438c18]
push eax
movsx eax, word [0x438c28]
push eax
call fcn.0040aa4f
mov word [0x438c2e], ax
mov eax, dword [ebp - 0x24]
pop ecx
cmp eax, ebx
pop ecx
jne 0x42df00
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]
push dword [0x438c40]
mov dword [ebp - 0x84], eax
push 0xb703ffff
call fcn.0040aa4f
add word [0x438c24], ax
pop ecx
movsx eax, byte [0x438c1a]
pop ecx
mov dword [ebp - 0x60], 7
push eax
movsx eax, word [0x438c22]
push eax
movsx eax, byte [0x438c1e]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add word [0x438c30], ax
push dword [0x438c40]
movsx eax, word [0x438c24]
push eax
call fcn.0040ab0e
add byte [0x438c21], al
mov esi, 0x3e8
movsx eax, byte [0x438c20]
push eax
push 0x5477ffff
mov dword [ebp - 0x7c], esi
call fcn.0040a933
mov byte [0x438c1c], al
movsx eax, byte [0x438c1f]
push eax
push 0x6249ffff
call fcn.0040a933
add esp, 0x18
mov byte [0x438c1c], al
mov dword [ebp - 0x78], esi
push 0x8693ffff
call dword [sym.imp.USER32.dll_IsMenu]
mov word [0x438c26], ax
movsx eax, word [0x438c28]
push eax
push dword [0x438c44]
call fcn.0040a8f9
pop ecx
mov byte [0x438c21], al
pop ecx
mov dword [ebp - 0x74], 0x64
call edi
mov word [0x438c2a], ax
movsx eax, word [0x438c2c]
push eax
push 0xe719ffff
call fcn.0040a96f
mov byte [0x438c1b], al
mov eax, dword [0x438c40]
and ax, word [0x438c26]
mov ecx, 0x5761ffff
push 1
mov dword [0x438c50], 0x1001ffff
mov word [0x438c2c], ax
pop edi
movsx eax, byte [0x438c19]
sub ecx, eax
lea eax, [ebp - 0x38]
push edi
push eax
mov dword [ebp - 0x70], 0x64
mov word [ebp - 0x5c], bx
mov dword [0x438c5c], ecx
call fcn.004219ef
movsx eax, word [0x438c28]
push 0xbd45ffff
push eax
mov byte [ebp - 4], 1
call fcn.0040aa18
inc word [0x438c28]
sub dword [0x438c5c], 0x3a17ffff
mov byte [0x438c18], al
call fcn.0041531d
push 0xbc25ffff
push dword [0x438c3c]
call fcn.0040a933
add word [0x438c34], ax
add esp, 0x20
xor eax, eax
cmp word [0x438c32], bx
setne al
add dword [0x438c38], eax
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x42e0a2
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 - 0x48]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push 0x39
call fcn.0040ebd2
pop ecx
call eax
test eax, eax
je 0x42e180
movsx eax, word [0x438c30]
add eax, 0x71120001
push 0x453bffff
mov dword [0x438c40], eax
movsx eax, word [0x438c24]
push eax
call fcn.0040aac5
add word [0x438c30], ax
pop ecx
xor eax, eax
cmp dword [0x438c54], ebx
pop ecx
setne al
add byte [0x438c18], al
push esi
push 0x56
call fcn.0040ebd2
pop ecx
call eax
movsx eax, byte [0x438c20]
movsx ecx, byte [0x438c1e]
imul eax, ecx
mov dword [0x438c3c], eax
call fcn.004151c1
test al, al
jne 0x42e144
call fcn.004151bc
lea eax, [ebp - 0x18]
push 0x436018
push eax
mov dword [ebp - 0x18], edi
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x438c32]
push 0xf7b1ffff
push dword [0x438c44]
mov byte [0x438c18], al
call fcn.0040a96f
mov dword [0x438c44], eax
movsx eax, byte [0x438c1e]
push eax
push dword [0x438c50]
call fcn.0040a8f9
add esp, 0x10
mov byte [0x438c1d], al
jmp 0x42e185
call fcn.004151c1
push dword [ebp - 0x18]
mov byte [ebp - 0xd], bl
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
je 0x42e199
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
push 0x2a
call fcn.0040ebd2
pop ecx
call eax
push dword [0x438c40]
push 0x9fd9ffff
call fcn.0040a96f
add word [0x438c26], ax
pop ecx
pop ecx
mov byte [ebp - 4], bl
push edi
lea ecx, [ebp - 0x38]
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 edi
lea ecx, [ebp - 0x28]
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 - 0xd]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x98]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret