Function at 0x4287b0
Capabilities:
Accept command line arguments
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443c02
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x45bb20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.krt.dll_public:_void___thiscall_krt::KAppArguments::constructor_wchar_t_const__]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.krt.dll_public:_int____thiscall_krt::KAppArguments::argc_void_]
cmp dword [eax], ebx
jle 0x428920
lea ecx, [ebp - 0x28]
call dword [sym.imp.krt.dll_public:_char_____thiscall_krt::KAppArguments::argv_void_]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x42890e
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428820
sub eax, esi
mov esi, dword [sym.imp.Qt5CoreKso.dll_private:_static_struct_kso_qt::QTypedArrayData_unsigned_short_int_____cdecl_kso_qt::QString::fromAscii_helper_char_const___int_]
push eax
push edx
call esi
mov dword [ebp - 0x10], eax
push 5
push str._exp
mov byte [ebp - 4], 1
call esi
add esp, 0x10
mov dword [ebp - 0x14], eax
push 1
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_int___thiscall_kso_qt::QString::indexOf_class_kso_qt::QString_const___int__enum_kso_qt::Qt::CaseSensitivity_const]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov esi, eax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
cmp esi, 0xffffffff
je 0x428901
mov esi, dword [sym.imp.Qt5CoreKso.dll_private:_static_struct_kso_qt::QTypedArrayData_unsigned_short_int_____cdecl_kso_qt::QString::fromAscii_helper_char_const___int_]
push 0
push 0x44795c
call esi
mov dword [ebp - 0x1c], eax
push 5
push str._exp
mov byte [ebp - 4], 3
call esi
add esp, 0x10
mov dword [ebp - 0x18], eax
push 1
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QString____thiscall_kso_qt::QString::replace_class_kso_qt::QString_const___class_kso_qt::QString_const___enum_kso_qt::Qt::CaseSensitivity_]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QString____thiscall_kso_qt::QString::operator_class_kso_qt::QString_const__]
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
push 0xa
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_long_long___int64____thiscall_kso_qt::QString::toLongLong_bool___int_const]
test edx, edx
jg 0x428901
jl 0x4288e9
test eax, eax
jne 0x428901
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
cmp eax, 1
je 0x428985
cmp eax, 8
je 0x428985
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x28]
inc ebx
call dword [sym.imp.krt.dll_public:_int____thiscall_krt::KAppArguments::argc_void_]
cmp ebx, dword [eax]
jl 0x428804
lea ecx, [ebp - 0x28]
call dword [sym.imp.krt.dll_public:_void___thiscall_krt::KAppArguments::destructor_void_]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0x30], 0
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x4289b9
mov dword [ebp + 0xc], ecx
lea ecx, [ebp + 0xc]
push ecx
push 8
lea ecx, [ebp - 0x30]
push ecx
push eax
push esi
call ebx
test eax, eax
jne 0x4289b6
mov esi, dword [ebp + 0x10]
mov dword [esi], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x28]
call dword [sym.imp.krt.dll_public:_void___thiscall_krt::KAppArguments::destructor_void_]
mov eax, dword [ebp + 0x10]
mov dword [eax], 5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x2cc
lea eax, [edi + 0x328]
push eax
push ecx
push esi
call ebx
test eax, eax
jne 0x428a00
mov esi, dword [ebp + 0x10]
mov dword [esi], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x3e0]
mov dword [edi], eax
mov eax, dword [edi + 0x3dc]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x3ec]
mov dword [edi + 0x30], eax
mov al, 1
mov dword [edi + 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0xc], 3
mov dword [edi + 0x2c], 3
mov dword [edi + 0x3c], 3
mov dword [edi + 0x108], 0x18
mov dword [edi + 0x118], 0x20c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc