Function at 0x1002f780
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 0x1002f834
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.1002fc80
cmp byte [edi + 0x68], 1
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x1002f872
cmp dword [edi + 0x70], 0
jne 0x1002f872
push 0x4268
push str.C:Users_tobiaDownloadsHermioneHermionecoremenujson.h
push str.m_type___value_t::object_or_m_value.object___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 2
jne 0x1002f892
cmp dword [edi + 0x70], 0
jne 0x1002f892
push 0x4269
push str.C:Users_tobiaDownloadsHermioneHermionecoremenujson.h
push str.m_type___value_t::array_or_m_value.array___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 3
jne 0x1002f8b2
cmp dword [edi + 0x70], 0
jne 0x1002f8b2
push 0x426a
push str.C:Users_tobiaDownloadsHermioneHermionecoremenujson.h
push str.m_type___value_t::string_or_m_value.string___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 8
jne 0x1002f8d2
cmp dword [edi + 0x70], 0
jne 0x1002f8d2
push 0x426b
push str.C:Users_tobiaDownloadsHermioneHermionecoremenujson.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 0x1002f902
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x1002f902
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1002f90c
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.10031c40
mov edx, dword [edi + 0x10]
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x20], edx
test ecx, ecx
jns 0x1002f943
neg eax
cmp esi, eax
jae 0x1002f943
add ecx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1002f94d
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.1002a1d0
mov ecx, dword [ebp + 0x30]
add esp, 0x14
test ecx, ecx
je 0x1002f97c
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