Function at 0x10049810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f7b50
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1013c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov edx, dword [ecx + 8]
mov esi, dword [edi + 8]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x100498a1
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x10049895
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10049895
call fcn.10021e50
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004988d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edi + 8], eax
jmp 0x100498a1
push dword [edx - 0xc]
lea ecx, [edi + 8]
push edx
call fcn.10021eb0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
movups xmm0, xmmword [esi + 0x20]
movzx eax, byte [edi + 0x30]
movups xmmword [edi + 0x20], xmm0
xor al, byte [esi + 0x30]
and al, 1
xor byte [edi + 0x30], al
mov cl, byte [esi + 0x30]
xor cl, byte [edi + 0x30]
and cl, 2
xor cl, byte [edi + 0x30]
mov byte [edi + 0x30], cl
mov al, byte [esi + 0x30]
xor al, cl
and al, 4
xor al, cl
mov byte [edi + 0x30], al
mov cl, byte [esi + 0x30]
xor cl, al
and cl, 8
xor cl, al
mov byte [edi + 0x30], cl
mov al, byte [esi + 0x30]
xor al, cl
and al, 0x10
xor al, cl
mov byte [edi + 0x30], al
mov dl, byte [esi + 0x30]
xor dl, al
and dl, 0x20
xor dl, al
mov byte [edi + 0x30], dl
mov cl, byte [esi + 0x30]
xor cl, dl
and cl, 0x40
xor cl, dl
mov byte [edi + 0x30], cl
movzx eax, byte [esi + 0x30]
xor al, cl
and al, 0x7f
xor al, byte [esi + 0x30]
mov byte [edi + 0x30], al
movzx eax, byte [edi + 0x31]
xor al, byte [esi + 0x31]
and al, 1
xor byte [edi + 0x31], al
mov cl, byte [esi + 0x31]
xor cl, byte [edi + 0x31]
and cl, 2
xor cl, byte [edi + 0x31]
mov byte [edi + 0x31], cl
mov al, byte [esi + 0x31]
xor al, cl
and al, 4
xor al, cl
mov byte [edi + 0x31], al
mov cl, byte [esi + 0x31]
xor cl, al
and cl, 8
xor cl, al
mov byte [edi + 0x31], cl
mov al, byte [esi + 0x31]
xor al, cl
and al, 0x10
xor al, cl
mov byte [edi + 0x31], al
mov dl, byte [esi + 0x31]
xor dl, al
and dl, 0x20
xor dl, al
mov byte [edi + 0x31], dl
mov cl, byte [esi + 0x31]
xor cl, dl
and cl, 0x40
xor cl, dl
mov byte [edi + 0x31], cl
movzx eax, byte [esi + 0x31]
xor al, cl
and al, 0x7f
xor al, byte [esi + 0x31]
mov byte [edi + 0x31], al
movzx eax, byte [esi + 0x32]
mov byte [edi + 0x32], al
movzx eax, byte [esi + 0x33]
mov byte [edi + 0x33], al
movzx eax, word [esi + 0x34]
mov word [edi + 0x34], ax
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
movzx eax, word [esi + 0x44]
mov word [edi + 0x44], ax
movzx eax, word [esi + 0x46]
mov word [edi + 0x46], ax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
movzx eax, word [esi + 0x4c]
mov word [edi + 0x4c], ax
movzx eax, word [esi + 0x4e]
mov word [edi + 0x4e], ax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4