Function at 0x5020d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bfd85
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
push ebx
push esi
push edi
mov eax, dword [0x78efc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x128]
call fcn.00500b20
mov byte [ebp - 0x120], 1
mov dword [ebp - 0x124], 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x128]
mov dword [ebp - 0x11c], eax
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
movups xmm0, xmmword [edi + 0x38]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [edi + 0x48]
movups xmmword [esi + 0x38], xmm0
mov eax, dword [edi + 0x58]
mov dword [esi + 0x48], eax
movzx eax, byte [edi + 0x5c]
mov byte [esi + 0x4c], al
movups xmm0, xmmword [edi + 0x90]
movups xmmword [esi + 0x72], xmm0
movups xmm0, xmmword [edi + 0xa0]
movups xmmword [esi + 0x82], xmm0
mov eax, dword [edi + 0xb0]
mov dword [esi + 0x92], eax
movzx eax, byte [edi + 0xb4]
mov byte [esi + 0x96], al
movups xmm0, xmmword [edi + 0x64]
movups xmmword [esi + 0x4d], xmm0
movups xmm0, xmmword [edi + 0x74]
movups xmmword [esi + 0x5d], xmm0
mov eax, dword [edi + 0x84]
mov dword [esi + 0x6d], eax
movzx eax, byte [edi + 0x88]
mov byte [esi + 0x71], al
movups xmm0, xmmword [edi + 0xc]
movups xmmword [esi + 0x98], xmm0
movups xmm0, xmmword [edi + 0x1c]
movups xmmword [esi + 0xa8], xmm0
mov eax, dword [edi + 0x2c]
mov dword [esi + 0xb8], eax
movzx eax, byte [edi + 0x30]
mov byte [esi + 0xbc], al
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [esi + 0xc0], ecx
lea ecx, [ebp - 0x2c]
mov dword [esi + 0xc4], 0
call fcn.00478fa0
mov dword [ebp - 4], 0
lea edx, [edi + 0xbc]
movups xmm0, xmmword [edx]
lea ecx, [ebp - 0x18]
movups xmmword [esi + 0xc8], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [esi + 0xd8], xmm0
mov eax, dword [edx + 0x20]
mov dword [esi + 0xe8], eax
movzx eax, byte [edx + 0x24]
mov byte [esi + 0xec], al
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
inc eax
mov byte [ebp - 4], 1
mov dword [esi + 0xf0], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [esi + 0xf4], 0
call fcn.00503a10
mov ecx, eax
lea esi, [edi + 0xe4]
add esp, 4
cmp esi, ecx
je 0x50228a
mov eax, dword [ecx]
mov dword [ecx], 0
mov edi, dword [esi]
mov dword [esi], eax
test edi, edi
je 0x50228a
mov ecx, edi
call fcn.00503730
push 0x2c
push edi
call fcn.006779b1
add esp, 8
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x5022a3
mov ecx, edi
call fcn.00503730
push 0x2c
push edi
call fcn.006779b1
add esp, 8
mov eax, dword [esi]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
sub esi, edi
mov dword [ebp - 0x14], eax
lea ecx, [eax + 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.0053d540
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
call fcn.00503450
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x502331
test ecx, ecx
jne 0x5022ea
call fcn.00683c71
mov dword [eax], 0x16
jmp 0x50232c
test edi, edi
je 0x5022ff
cmp eax, esi
jb 0x5022ff
push esi
push edi
push ecx
call fcn.00679930
add esp, 0xc
jmp 0x502331
push eax
push 0
push ecx
call fcn.00679eb0
add esp, 0xc
test edi, edi
jne 0x50231c
call fcn.00683c71
mov dword [eax], 0x16
jmp 0x50232c
cmp dword [ebp - 0x18], esi
jae 0x502331
call fcn.00683c71
mov dword [eax], 0x22
call fcn.00682d92
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x50233f
push 1
call fcn.005037c0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x5023ab
mov edx, dword [ebp - 0x24]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x5023a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5023c2
jmp 0x5023a1
push edx
push ecx
call fcn.006779b1
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00682da2
int3