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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005214c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1006c8c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 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
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002f844
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [edi + 0x60], al
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x68], 9
call fcn.1002fc90
cmp byte [edi + 0x68], 1
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x1002f882
cmp dword [edi + 0x70], 0
jne 0x1002f882
push 0x4268
push str.C:UserslfrazDesktopHermionecoremenujson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 2
jne 0x1002f8a2
cmp dword [edi + 0x70], 0
jne 0x1002f8a2
push 0x4269
push str.C:UserslfrazDesktopHermionecoremenujson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 3
jne 0x1002f8c2
cmp dword [edi + 0x70], 0
jne 0x1002f8c2
push 0x426a
push str.C:UserslfrazDesktopHermionecoremenujson.h
push str.m_type___value_t::string_or_m_value.string___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 8
jne 0x1002f8e2
cmp dword [edi + 0x70], 0
jne 0x1002f8e2
push 0x426b
push str.C:UserslfrazDesktopHermionecoremenujson.h
push str.m_type___value_t::binary_or_m_value.binary___nullptr
call ebx
add esp, 0xc
mov ecx, dword [edi + 0x1c]
xor ebx, ebx
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
test ecx, ecx
jns 0x1002f912
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x1002f912
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1002f91c
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
push 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.10031c50
mov edx, dword [edi + 0x10]
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x20], edx
test ecx, ecx
jns 0x1002f953
neg eax
cmp esi, eax
jae 0x1002f953
add ecx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1002f95d
add ecx, esi
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1002a1e0
mov ecx, dword [ebp + 0x30]
add esp, 0x14
test ecx, ecx
je 0x1002f98c
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30