Function at 0x100746a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018717a
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x294], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 6
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10074a88
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x54], eax
mov byte [ebp - 4], 7
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10074a92
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x58], eax
lea esi, [edi + 0x5c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x28c], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1007d540
mov dword [esi], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - method.ATL::CAccessToken.virtual_0], vtable.ATL::CAccessToken.0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x60
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea ecx, [ebp - 0x288]
call fcn.10075050
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x28c]
push ecx
push 0x20008
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1007498a
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x228]
call dword [eax + 4]
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x290]
push ecx
push 0
push 0
push 1
push eax
mov dword [ebp - 0x224], eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1007498a
mov dword [ebp - 0x28c], 0
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 0xc
cmp ecx, 0x400
ja 0x100748c8
push ecx
call fcn.1007d480
add esp, 4
test al, al
je 0x100748c2
mov eax, dword [ebp - 0x290]
call fcn.10126b30
mov esi, esp
jmp 0x100748f8
mov ecx, dword [ebp - 0x290]
mov eax, ecx
not eax
cmp eax, 8
jb 0x10074a9c
lea eax, [ecx + 8]
push eax
call fcn.1015889d
add esp, 4
test eax, eax
jne 0x100748e9
xor esi, esi
jmp 0x100748f8
mov dword [eax], 0
lea esi, [eax + 8]
mov dword [ebp - 0x28c], eax
test esi, esi
je 0x1007497b
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
push esi
push 1
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1007497b
push dword [esi]
lea ecx, [ebp - 0x288]
call fcn.10075880
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xb
call fcn.100750d0
lea ecx, [ebp - 0x288]
call fcn.1007c490
mov edx, eax
test edx, edx
jne 0x1007495b
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 0x54]
call fcn.10043c10
jmp 0x1007498a
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074960
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x54]
call fcn.10043c10
jmp 0x1007498a
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xb
call fcn.100750d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x101f398c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.presetconfig.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100749e0
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
lea ecx, [edi + 0x58]
push edx
push eax
call fcn.10043c10
lea ecx, [ebp - 0x288]
call fcn.100754e0
mov ecx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
mov dword [ebp - method.ATL::CAccessToken.virtual_0], vtable.ATL::CAccessToken.0
test ecx, ecx
je 0x10074a40
test eax, eax
je 0x10074a36
push ecx
push eax
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x220], 0
test eax, eax
je 0x10074a55
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x224], 0
push 4
push dword [ebp - 0x21c]
call fcn.1012659a
add esp, 8
mov eax, edi
lea esp, [ebp - 0x2a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10126919
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
push 0x80070216
call fcn.10042d10
int3