Function at 0x10024db0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102db9dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
lea ecx, [edi + 0x6c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea edx, [edi + 0x78]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
lea ebx, [edi + 0x84]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
mov dword [edi + 0x90], eax
test al, al
jns 0x10024ef7
push dword [edi + 0x5c]
call fcn.1005a300
lea edx, [edi + 0x78]
test byte [edi + 0x90], 0x40
je 0x10024f63
mov eax, dword [edx + 4]
mov ecx, eax
mov esi, dword [edi + 0x5c]
mov dword [ebp + 8], eax
mov eax, dword [edx]
sub ecx, eax
sar ecx, 4
cmp esi, ecx
jae 0x10024f20
shl esi, 4
add esi, eax
mov dword [edx + 4], esi
jmp 0x10024f63
jbe 0x10024f63
mov eax, dword [edx + 8]
sub eax, dword [edx]
sar eax, 4
cmp esi, eax
jbe 0x10024f39
push ecx
push esi
mov ecx, edx
call fcn.1005f6b0
jmp 0x10024f63
sub esi, ecx
je 0x10024f5d
mov eax, esi
shl eax, 4
push eax
push 0
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
lea edx, [edi + 0x78]
shl esi, 4
add esp, 0xc
add eax, esi
jmp 0x10024f60
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
test dword [edi + 0x90], 0x100
je 0x10024fc2
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x60]
mov esi, dword [edi + 0x5c]
mov dword [ebp + 8], ecx
sub ecx, eax
sar ecx, 3
mov dword [ebp + 0xc], eax
cmp esi, ecx
jae 0x10024f8c
lea eax, [eax + esi*8]
jmp 0x10024fbf
jbe 0x10024fc2
mov eax, dword [edi + 0x68]
sub eax, dword [ebp + 0xc]
sar eax, 3
cmp esi, eax
jbe 0x10024fa7
push ecx
push esi
lea ecx, [edi + 0x60]
call fcn.1005f760
jmp 0x10024fc2
sub esi, ecx
shl esi, 3
push esi
push 0
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [edi + 0x64], eax
test dword [edi + 0x90], 0x1000
je 0x1002501a
mov esi, dword [edi + 0x5c]
mov eax, dword [ebx + 4]
add esi, 7
mov edx, dword [ebx]
mov ecx, eax
shr esi, 3
sub ecx, edx
mov dword [ebp + 8], eax
cmp esi, ecx
jae 0x10024fec
lea eax, [esi + edx]
jmp 0x10025017
jbe 0x1002501a
mov eax, dword [ebx + 8]
sub eax, edx
cmp esi, eax
jbe 0x10025002
push ecx
push esi
mov ecx, ebx
call fcn.1005f620
jmp 0x1002501a
sub esi, ecx
push esi
push 0
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8