Function at 0x41db20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43328d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x446054]
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 0x41dc90
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 0x41dc7e
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41db90
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 0x41dc71
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 0x4367b5
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 0x41dc71
jl 0x41dc59
test eax, eax
jne 0x41dc71
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
cmp eax, 1
je 0x41dcf5
cmp eax, 8
je 0x41dcf5
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 0x41db74
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 0x41dd29
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 0x41dd26
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 + 0x2c4]
push eax
push ecx
push esi
call ebx
test eax, eax
jne 0x41dd70
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 + 0x37c]
mov dword [edi], eax
mov eax, dword [edi + 0x378]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x388]
mov dword [edi + 0x24], eax
mov al, 1
mov dword [edi + 8], 3
mov dword [edi + 0x20], 3
mov dword [edi + 0x2c], 3
mov dword [edi + 0xa4], 0x18
mov dword [edi + 0xb4], 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