Function at 0x10020e60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd8ab
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100f9080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 8]
push ebx
call fcn.1000b850
mov dword [ebp - 4], 0
lea edi, [esi + 0x18]
mov eax, dword [ebx + 0x18]
mov dword [edi], eax
push 0x20
mov dword [ebp - 0x20], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100a1388
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x24]
push dword [edi + 4]
sar eax, 2
push eax
call fcn.1002dd10
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x10020f28
mov ebx, eax
nop dword [eax]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002f140
mov esi, dword [esi]
cmp esi, ebx
jne 0x10020f10
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 3
lea eax, [ebx + 0x38]
mov edi, dword [ebp - 0x14]
push eax
lea ecx, [edi + 0x38]
call fcn.1002d260
lea eax, [ebx + 0x58]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x58]
push eax
call fcn.1002d260
lea eax, [ebx + 0x78]
mov byte [ebp - 4], 5
lea ecx, [edi + 0x78]
push eax
call fcn.1000b850
lea eax, [ebx + 0x90]
mov byte [ebp - 4], 6
lea ecx, [edi + 0x90]
push eax
call fcn.1000b850
lea eax, [ebx + 0xa8]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xa8]
push eax
call fcn.1000b850
mov byte [ebp - 4], 8
lea esi, [edi + 0xc8]
movzx eax, byte [ebx + 0xc0]
mov byte [edi + 0xc0], al
movzx eax, byte [ebx + 0xc1]
mov byte [edi + 0xc1], al
mov eax, dword [ebx + 0xc4]
mov dword [edi + 0xc4], eax
mov eax, 0x92492493
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebx + 0xcc]
sub ecx, dword [ebx + 0xc8]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x20], eax
je 0x10021086
cmp eax, 0x9249249
ja 0x100210a8
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.1002ebd0
mov edx, dword [ebp - 0x20]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [ebp - 0x18], esi
lea ecx, [edx*8]
sub ecx, edx
lea eax, [eax + ecx*4]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0x14]
mov edi, dword [esi]
add ecx, 0xc8
mov eax, dword [ebx + 0xcc]
mov esi, dword [ebx + 0xc8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0xa
cmp esi, eax
je 0x1002106e
mov ebx, eax
push esi
mov ecx, edi
call fcn.1000b850
mov eax, dword [esi + 0x18]
add esi, 0x1c
mov dword [edi + 0x18], eax
add edi, 0x1c
mov dword [ebp - 0x28], edi
cmp esi, ebx
jne 0x10021050
mov ebx, dword [ebp + 8]
push ecx
mov edx, edi
mov ecx, edi
call fcn.1002e4f0
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ecx + 0xcc], edi
mov edi, ecx
mov al, byte [ebx + 0xd4]
mov byte [edi + 0xd4], al
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 4
call fcn.1002e760
int3