Function at 0x406900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e74d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x58a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
lea edx, [esi + 0x90]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
movups xmm0, xmmword [esi + 0xc]
movups xmmword [edi + 0xc], xmm0
movq xmm0, qword [esi + 0x1c]
movq qword [edi + 0x1c], xmm0
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
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 eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0x40], xmm0
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
movups xmm0, xmmword [esi + 0x54]
movups xmmword [edi + 0x54], xmm0
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
movups xmm0, xmmword [esi + 0x68]
movups xmmword [edi + 0x68], xmm0
movq xmm0, qword [esi + 0x78]
movq qword [edi + 0x78], xmm0
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 0x8c]
lea esi, [edi + 0x90]
mov dword [edi + 0x8c], eax
mov dword [ebp - 0x18], esi
cmp esi, edx
je 0x406a56
mov edi, dword [esi]
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
mov ecx, dword [edi]
mov eax, dword [edx]
cmp ecx, edi
je 0x406a19
cmp eax, edx
je 0x406aaa
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xc], esi
mov ecx, dword [ecx]
mov eax, dword [eax]
cmp ecx, edi
jne 0x4069f7
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
push edx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004083b0
mov edi, dword [ebp - 0x24]
mov edx, dword [esi]
test edi, edi
je 0x406a53
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov dword [edx + 4], eax
add dword [esi + 4], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x9c]
mov dword [edi + 0x98], ecx
mov dword [edi + 0x9c], edx
mov ecx, dword [eax + 0xa0]
mov dword [edi + 0xa0], ecx
mov ecx, dword [eax + 0xa4]
mov dword [edi + 0xa4], ecx
mov ecx, dword [eax + 0xa8]
mov eax, edi
mov dword [edi + 0xa8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp ecx, edi
je 0x406a53
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], 0
mov dword [eax], edi
mov dword [edi + 4], eax
nop dword [eax]
mov esi, dword [ecx]
push 0x10
push ecx
call fcn.0050057d
mov eax, dword [ebp - 0x10]
add esp, 8
inc eax
mov ecx, esi
mov dword [ebp - 0x10], eax
cmp esi, edi
jne 0x406ac0
mov ecx, dword [ebp - 0x18]
sub dword [ecx + 4], eax
jmp 0x406a53