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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b52b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x18
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi + 8], 0
movzx eax, byte [esi + 0xc]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 0xf], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 0x10], al
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], edx
lea eax, [esi + 0x54]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x54]
push eax
call fcn.100219d0
lea eax, [esi + 0x74]
mov byte [ebp - 4], 5
lea ecx, [edi + 0x74]
push eax
call fcn.100219d0
xorps xmm0, xmm0
movups xmmword [edi + 0x94], xmm0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
movups xmm0, xmmword [esi + 0x94]
movups xmmword [edi + 0x94], xmm0
movq xmm0, qword [esi + 0xa4]
movq qword [edi + 0xa4], xmm0
mov dword [esi + 0xa4], 0
xor eax, eax
mov dword [esi + 0xa8], 7
xorps xmm0, xmm0
mov word [esi + 0x94], ax
movups xmmword [edi + 0xac], xmm0
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], eax
movups xmm0, xmmword [esi + 0xac]
movups xmmword [edi + 0xac], xmm0
movq xmm0, qword [esi + 0xbc]
movq qword [edi + 0xbc], xmm0
mov byte [ebp - 4], 8
lea ecx, [esi + 0xc4]
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], 7
mov word [esi + 0xac], ax
lea eax, [edi + 0xc4]
mov dword [ebp - 0x14], ecx
push ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.10014470
mov byte [ebp - 4], 9
lea esi, [edi + 0xdc]
push 0x44
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.10047c76
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov ecx, esi
add eax, 0x18
mov byte [ebp - 4], 0xa
push eax
call fcn.10021b70
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x20]
mov byte [ebp - 4], 0xb
mov dword [edi + 0xe4], ecx
test ecx, ecx
je 0x10021982
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi + 0x24]
mov byte [ebp - 4], 0xc
mov dword [edi + 0xe8], ecx
test ecx, ecx
je 0x10021999
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi + 0x28]
mov byte [ebp - 4], 0xd
mov dword [edi + 0xec], ecx
test ecx, ecx
je 0x100219b0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4