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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0x10071e90
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0x50]
mov ecx, dword fs:[0]
mov dword [esi + 0x50], ecx
mov dword fs:[0], eax
cmp byte [edx + 8], 0
je 0x10070da7
mov byte [esi + 2], 1
mov dword [esi + 0x58], 0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x10070ddd
mov byte [esi + 2], 1
call fcn.10096200
mov dword [esi + 0xc], eax
mov edx, 1
xor ebx, ebx
mov dword [esi + 8], 1
jmp 0x10070e83
mov byte [esi + 2], 1
mov dword [esi + 0x58], 0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x10070e2f
mov byte [esi + 2], 1
call fcn.10095b10
mov dword [esi + 0xc], eax
xor edx, edx
xor ebx, ebx
mov dword [esi + 8], 1
jmp 0x10070e83
xorps xmm0, xmm0
lea ecx, [esi + 0x10]
mov dword [esi + 0x22], 0
mov byte [esi + 2], 1
movaps xmmword [esi + 0x10], xmm0
mov dword [esi + 0x1e], 0
push ecx
push eax
mov dword [esi + 4], eax
call sub.kernel32.dll_GetConsoleScreenBufferInfo
test eax, eax
je 0x10070d88
movzx eax, word [esi + 0x18]
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
call fcn.10096200
mov edx, dword [esi + 4]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 1
mov dword [esi + 8], 0
mov bl, 1
jmp 0x10070e83
xorps xmm0, xmm0
lea ecx, [esi + 0x10]
mov dword [esi + 0x22], 0
mov byte [esi + 2], 1
movaps xmmword [esi + 0x10], xmm0
mov dword [esi + 0x1e], 0
push ecx
push eax
mov dword [esi + 4], eax
call sub.kernel32.dll_GetConsoleScreenBufferInfo
test eax, eax
je 0x10070dc1
movzx eax, word [esi + 0x18]
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
call fcn.10095b10
mov edx, dword [esi + 4]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 0
mov bl, 1
mov dword [esi + 8], 0
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov al, byte [ecx + 9]
mov byte [esi + 3], al
mov eax, dword [ecx]
test eax, eax
je 0x10070e9d
mov edx, dword [ecx + 4]
jmp 0x10070f70
lea ecx, [esi + 0x10]
lea eax, [0x1012f972]
mov dword [esi + 0x10], 0x1012f95e
mov dword [esi + 0x14], 0x14
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0x1012f95e
mov dword [esi + 0x38], ebx
mov byte [esi + 2], 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], 0x110001
lea eax, [esi + 0x3c]
push ecx
push eax
call fcn.10084530
add esp, 8
push 1
push 0x14
call fcn.1001d510
add esp, 8
test eax, eax
je 0x10070fbf
mov ecx, dword [0x1012f96e]
movsd xmm0, qword [0x1012f966]
movsd xmm2, qword [0x1012f95e]
mov dword [esi + 0x1c], eax
movsd xmm1, qword [esi + 0x3c]
mov dword [esi + 0x20], 0x14
mov dword [esi + 0x24], 0x14
mov dword [eax + 0x10], ecx
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm2
mov eax, dword [esi + 0x44]
movsd qword [esi + 0x10], xmm1
mov dword [esi + 0x18], eax
push 4
push 0x18
call fcn.1001d510
add esp, 8
mov ebx, dword [esi + 0x38]
test eax, eax
je 0x10070fd4
movsd xmm0, qword [esi + 0x20]
movsd xmm2, qword [esi + 0x10]
movsd xmm1, qword [esi + 0x18]
mov edx, 0x1012f274
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
mov cl, byte [esi + 3]
mov edi, dword [esi + 8]
xor cl, 1
test bl, bl
mov ebx, 1
movzx ecx, cl
cmove ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
mov edi, dword [esi + 4]
mov dword [ecx + 4], edi
mov edi, dword [esi + 0xc]
mov dword [ecx + 8], edi
mov edi, dword [esi + 0x30]
mov dword [ecx + 0xc], edi
mov edi, dword [esi + 0x34]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x18], edx
mov byte [ecx + 0x1c], bl
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x58], 1
push 1
push 0x14
call fcn.100f97e0
add esp, 8
jmp 0x10070fe7
mov dword [esi + 0x58], 2
push 4
push 0x18
call fcn.100f97e0
add esp, 8
ud2