Function at 0x488960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], esp
mov dword [esi + 0x98], 0xffffffff
mov dword [esi + 0x94], 0x538910
lea eax, [esi + 0x90]
mov edi, dword fs:[0]
mov dword [esi + 0x90], edi
mov dword fs:[0], eax
movzx eax, byte [ecx + 0x58]
mov bh, byte [edx + 0x58]
mov byte [esi + 0x20], al
movzx eax, byte [edx + 0x3c]
mov byte [esi + 0x10], bh
cmp al, 3
jne 0x4889d2
movzx ebx, byte [ecx + 0x3c]
cmp bl, 3
jne 0x4889fe
mov byte [esi + 7], 3
mov byte [esi + 6], 3
jmp 0x488a2e
mov byte [esi + 6], al
mov eax, dword [edx + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x34]
mov dword [esi + 0x2c], eax
movzx eax, word [edx + 0x3d]
mov word [esi + 0x14], ax
mov eax, dword [edx + 0x38]
mov dword [esi + 0x24], eax
movzx eax, byte [edx + 0x3f]
mov ah, byte [ecx + 0x3c]
mov byte [esi + 0x16], al
mov byte [esi + 7], ah
jmp 0x488a2e
cmp bl, 2
jne 0x488a0d
mov byte [esi + 7], 2
mov byte [esi + 6], 2
jmp 0x488a2e
mov edi, dword [ecx + 0x30]
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], edi
lock inc dword [edi]
jle 0x488c38
mov eax, dword [ecx + 0x38]
mov byte [esi + 7], bl
mov byte [esi + 6], bl
mov dword [esi + 0x24], eax
mov edi, dword [edx]
mov dword [esi + 8], ecx
lea ebx, [ecx + 0xc]
lea eax, [edx + 0xc]
mov ecx, dword [esi + 8]
test edi, edi
cmovne ebx, eax
lea eax, [edx + 8]
lea ecx, [ecx + 8]
cmovne ecx, eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
lea ecx, [edx + 4]
lea ebx, [eax + 4]
movzx eax, byte [esi + 0x10]
cmovne ebx, ecx
mov ecx, edx
cmove ecx, dword [esi + 8]
movaps xmm0, xmmword [ecx + 0x10]
movaps xmm1, xmmword [ecx + 0x20]
mov ecx, dword [esi + 8]
cmove edi, dword [ecx]
movzx ecx, byte [edx + 0x5b]
mov dword [esi + 0x4c], edi
mov edi, dword [esi + 8]
cmp cl, 2
movzx edi, byte [edi + 0x5b]
cmovne edi, ecx
movzx ecx, byte [edx + 0x5a]
mov dword [esi + 0x5c], edi
mov edi, dword [esi + 8]
cmp cl, 2
movzx edi, byte [edi + 0x5a]
cmovne edi, ecx
movzx ecx, byte [edx + 0x59]
mov dword [esi + 0x58], edi
mov edi, dword [esi + 8]
cmp cl, 2
movzx edi, byte [edi + 0x59]
cmovne edi, ecx
movzx ecx, byte [esi + 0x20]
cmp al, 2
mov dword [esi + 0x54], edi
movzx edi, al
mov eax, dword [esi + 0x1c]
cmove edi, ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x50], edi
mov eax, dword [eax]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov dword [esi + 0x40], eax
mov eax, dword [ebx]
movaps xmmword [esi + 0x70], xmm1
movaps xmmword [esi + 0x60], xmm0
mov dword [esi + 0x3c], eax
mov eax, dword [edx + 0x5c]
cmp al, 2
jne 0x488aec
mov eax, dword [ecx + 0x5c]
cmp dword [edx + 0x40], 0
mov dword [esi + 0x20], eax
mov eax, 1
mov ebx, edx
jne 0x488b01
mov eax, dword [ecx + 0x40]
mov ebx, ecx
mov dword [esi + 0x18], eax
movzx eax, byte [edx + 0x5d]
movzx edi, byte [ecx + 0x5d]
cmp al, 2
cmovne edi, eax
mov eax, dword [edx + 0x50]
mov dword [esi + 0x1c], edi
mov edi, dword [edx + 0x48]
mov dword [esi + 0x10], edi
cmp edi, 2
mov edi, edx
jne 0x488b2c
mov edi, dword [ecx + 0x48]
mov dword [esi + 0x10], edi
mov edi, ecx
cmp eax, 2
jne 0x488b36
mov eax, dword [ecx + 0x50]
mov edx, ecx
mov dword [esi + 0x48], eax
movzx eax, word [esi + 0x14]
mov word [esi + 0xc], ax
movzx eax, byte [esi + 0x16]
mov byte [esi + 0xe], al
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0x54]
mov dword [esi + 0x38], eax
movzx eax, byte [esi + 7]
cmp al, 3
je 0x488b89
cmp al, 2
je 0x488b89
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x30]
lock dec dword [eax]
jne 0x488b89
mov eax, dword [esi + 8]
mov dword [esi + 0x98], 0
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
call fcn.00462250
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x4c]
movaps xmm0, xmmword [esi + 0x60]
movaps xmm1, xmmword [esi + 0x70]
mov edx, dword [esi + 0x90]
mov dword [eax], ecx
mov ecx, dword [esi + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x28]
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax + 0x20], xmm1
mov dword [eax + 0x30], ecx
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0x34], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x38], ecx
movzx ecx, byte [esi + 6]
mov byte [eax + 0x3c], cl
movzx ecx, byte [esi + 0xe]
mov byte [eax + 0x3f], cl
movzx ecx, word [esi + 0xc]
mov word [eax + 0x3d], cx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x44], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x48], ecx
mov ecx, dword [esi + 0x34]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esi + 0x48]
mov dword [eax + 0x50], ecx
mov ecx, dword [esi + 0x38]
mov dword [eax + 0x54], ecx
mov ecx, dword [esi + 0x50]
mov byte [eax + 0x58], cl
mov ecx, dword [esi + 0x54]
mov byte [eax + 0x59], cl
mov ecx, dword [esi + 0x58]
mov byte [eax + 0x5a], cl
mov ecx, dword [esi + 0x5c]
mov byte [eax + 0x5b], cl
mov ecx, dword [esi + 0x20]
mov byte [eax + 0x5c], cl
mov ecx, dword [esi + 0x1c]
mov byte [eax + 0x5d], cl
mov dword fs:[0], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2