Function at 0x402310
Capabilities:
Access peb ldr_data
Check os version
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ab35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x164]
test edi, edi
je 0x402347
push edi
call fcn.00401870
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x3c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40236b
mov ecx, dword [ebp + 8]
push eax
call fcn.004011a0
jmp 0x40236d
xor eax, eax
push str.TITLE_EDIT
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, dword [sym.imp.qt_mt338_ms10.dll_class_QApplication__qApp]
mov dword [esi + 0x164], eax
push str.ADDLICENSE
lea eax, [ebp + 8]
mov byte [esi + 0x168], 0
mov edx, dword [ecx]
push eax
push edx
call fcn.00415120
mov dword [ebp - 4], 1
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x94]
mov ecx, esi
call eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esi + 0x164]
mov eax, dword [eax]
cmp eax, 1
jne 0x4023d1
mov ecx, dword [esi + 0xec]
jmp 0x402421
cmp eax, 2
jne 0x4023de
mov ecx, dword [esi + 0xfc]
jmp 0x402421
cmp eax, 3
jne 0x4023eb
mov ecx, dword [esi + 0xf8]
jmp 0x40244c
cmp eax, 4
jne 0x4023f8
mov ecx, dword [esi + 0xe8]
jmp 0x40244c
cmp eax, 5
jne 0x402416
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1dc]
push 1
call eax
call fcn.00403490
jmp 0x40245d
cmp eax, 6
jne 0x402434
mov ecx, dword [esi + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1dc]
push 1
call eax
call fcn.004033f0
jmp 0x40245d
cmp eax, 7
jne 0x402441
mov ecx, dword [esi + 0xf4]
jmp 0x40244c
cmp eax, 8
jne 0x40245d
mov ecx, dword [esi + 0x100]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1dc]
push 1
call eax
call fcn.00403350
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx]
add eax, 4
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0x88]
mov edx, dword [ecx]
add eax, 8
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
add eax, 0xc
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0xd0]
mov edx, dword [ecx]
add eax, 0x10
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0xd8]
mov edx, dword [ecx]
add eax, 0x14
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0x90]
mov edx, dword [ecx]
add eax, 0x18
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx]
add eax, 0x1c
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx]
add eax, 0x20
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx]
add eax, 0x24
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0xb4]
mov edx, dword [ecx]
add eax, 0x28
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0xb8]
mov edx, dword [ecx]
add eax, 0x2c
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0x164]
mov edx, dword [ecx]
add eax, 0x30
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0xc4]
mov edx, dword [ecx]
add eax, 0x34
push eax
mov eax, dword [edx + 0x1d0]
call eax
mov ecx, dword [esi + 0xc8]
mov esi, dword [esi + 0x164]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d0]
add esi, 0x38
push esi
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4