Function at 0x10022a90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d43d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, ecx
mov dword [ebp - 0x24], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [eax]
push edi
xor edi, edi
mov dword [ebp - 0x2c], eax
lea edx, [esi + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], edx
cmp byte [ecx + 0xd], 0
jne 0x10022b9e
mov edi, ecx
mov dword [ebp - 0x14], edi
nop word [eax + eax]
cmp dword [esi + 0x14], 0xf
lea ecx, [edi + 0x10]
mov dword [ebp - 0x20], edi
mov edx, esi
jbe 0x10022af0
mov edx, dword [esi]
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
jbe 0x10022afe
mov ecx, dword [ecx]
mov edi, dword [ebp - 0x10]
mov esi, eax
cmp dword [edi], eax
cmovb esi, dword [edi]
mov edi, dword [ebp - 0x14]
sub esi, 4
jb 0x10022b21
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10022b26
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10022b10
cmp esi, 0xfffffffc
je 0x10022b5a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10022b53
cmp esi, 0xfffffffd
je 0x10022b5a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10022b53
cmp esi, 0xfffffffe
je 0x10022b5a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10022b53
cmp esi, 0xffffffff
je 0x10022b5a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10022b5a
sbb eax, eax
or eax, 1
jmp 0x10022b5c
xor eax, eax
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x10022b88
js 0x10022b8f
mov eax, edi
mov dword [ebp - 0x1c], 1
mov edi, dword [edi]
mov dword [ebp - 0x18], eax
cmp byte [edi + 0xd], 0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
je 0x10022ae0
mov edi, dword [ebp - 0x1c]
jmp 0x10022ba1
mov eax, dword [edx]
cmp dword [ebp - 0x1c], eax
jae 0x10022b65
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
jmp 0x10022b73
mov dword [ebp - 0x10], edx
cmp byte [eax + 0xd], 0
jne 0x10022c24
cmp dword [eax + 0x24], 0xf
lea ecx, [eax + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
jbe 0x10022bb8
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0xf
mov eax, dword [edx]
mov edx, esi
jbe 0x10022bc4
mov edx, dword [esi]
cmp dword [ebp - 0x14], eax
mov esi, eax
cmovb esi, dword [ebp - 0x14]
sub esi, 4
jb 0x10022be3
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10022be8
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10022bd2
cmp esi, 0xfffffffc
je 0x10022c1c
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10022c15
cmp esi, 0xfffffffd
je 0x10022c1c
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10022c15
cmp esi, 0xfffffffe
je 0x10022c1c
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10022c15
cmp esi, 0xffffffff
je 0x10022c1c
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x10022c1c
sbb eax, eax
or eax, 1
jmp 0x10022c1e
xor eax, eax
test eax, eax
je 0x10022c36
jns 0x10022c40
mov esi, dword [ebp - 0x24]
cmp dword [esi + 4], 0x4924924
je 0x10022cf8
jmp 0x10022c5e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [ecx], eax
jb 0x10022c24
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x28], esi
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.100568ab
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
add esp, 4
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, dword [ebp - 0x2c]
mov byte [eax + 0x28], 0
mov dword [eax + 0x30], 0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], 0
push eax
push edi
push dword [ebp - 0x20]
mov ecx, esi
call fcn.1002afa0
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.1002b190
int3