Function at 0x4f82a7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x180
mov esi, esp
mov dword [esi + 0x168], ebp
lea eax, [esi + 0x170]
mov dword [esi + 4], ecx
mov dword [esi + 0x44], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x506d30
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
and dword [esi + 0xb8], 0
xor ecx, ecx
and dword [eax + 8], 0
mov byte [esi + 0xbc], 0
inc ecx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ecx
push 0x20
pop ecx
push 4
pop edx
call fcn.004eca76
movsd xmm0, qword [esi + 0xb8]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0xb0]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0xa0]
movsd xmm1, qword [esi + 0xa8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lock inc dword [eax]
jle 0x4f85d3
xor ecx, ecx
lea edx, [esi + 0xa8]
mov dword [esi + 0x78], eax
mov dword [esi + 0x178], 2
inc ecx
mov dword [edx - 8], ecx
mov dword [edx - 4], ecx
mov dword [edx], eax
push 0xc
pop ecx
push 4
pop edx
mov dword [esi + 8], eax
call fcn.004eca76
lea ecx, [esi + 0xa0]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [esi + 4]
movsd xmm0, qword [ecx]
mov ecx, dword [esi + 8]
movsd qword [eax], xmm0
mov dword [esi + 0x48], ecx
xor ecx, ecx
mov ebx, dword [edx + 0x20]
mov edi, dword [edx + 0x1c]
cmp ebx, 0x3b9aca00
cmove edi, ecx
cmove ebx, ecx
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ebx
push 0xa
pop ecx
cmovne ecx, dword [edx + 0x18]
and dword [esi + 0x80], 0
and dword [esi + 0x84], 0
and dword [esi + 0x78], 0
and dword [esi + 0x5c], 0
mov dword [esi + 0x7c], 4
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x178], 5
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0xa0]
call fcn.004ed31a
lea ecx, [esi + 0x68]
lea edx, [esi + 0xa0]
call fcn.004ed364
mov eax, dword [esi + 0x74]
movsd xmm2, qword [esi + 0x5c]
movsd xmm3, qword [0x591408]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x6c]
movsd qword [esi + 0x50], xmm2
movsd xmm2, qword [0x591400]
movsd qword [esi + 0xbf], xmm3
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x64]
movsd qword [esi + 0xb7], xmm2
mov dword [esi + 0x58], eax
lea eax, [esi + 0x78]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x148], xmm0
movsd qword [esi + 0x150], xmm1
movsd qword [esi + 0x158], xmm2
movsd qword [esi + 0x160], xmm3
movsd qword [esi + 0xaf], xmm1
movsd qword [esi + 0xa7], xmm0
push 0x27
lea ecx, [esi + 0xa0]
push ecx
push eax
call fcn.005282a0
add esp, 0xc
mov edi, dword [esi + 4]
mov ebx, dword [edi + 0x28]
lock inc dword [ebx]
jle 0x4f85d3
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
call fcn.004adcb4
mov dword [esi + 0x1c], edx
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x20], eax
call fcn.004adcb4
mov dword [esi + 4], eax
mov dword [esi + 0x14], edx
lea edi, [esi + 0xc9]
push 0x27
lea eax, [esi + 0x78]
push eax
push edi
call fcn.005282a0
add esp, 0xc
mov eax, dword [esi + 0x58]
movsd xmm0, qword [esi + 0x50]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x178], 4
mov dword [edi + 0x47], eax
mov eax, dword [esi + 0x10]
movsd qword [edi + 0x3f], xmm0
mov dword [edi - 0x21], eax
mov eax, dword [esi + 0xc]
mov dword [edi - 0x1d], eax
mov eax, dword [esi + 0x38]
mov dword [edi - 0x15], eax
mov eax, dword [esi + 0x34]
mov dword [edi - 0x19], eax
mov eax, dword [esi + 0x3c]
mov dword [edi - 0x11], eax
mov eax, dword [esi + 0x18]
mov dword [edi - 9], ebx
mov dword [edi - 5], eax
xor eax, eax
mov byte [edi - 1], al
mov dword [edi + 0x2b], ecx
mov ecx, dword [esi + 0x28]
mov dword [edi + 0x27], ecx
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x33], ecx
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x2f], ecx
mov ecx, dword [esi + 0x40]
and dword [edi + 0x37], 0
mov dword [edi + 0x3b], ecx
and dword [edi + 0x4b], 0
mov byte [edi + 0x4f], al
mov eax, dword [esi + 0x20]
mov dword [edi + 0x57], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x5b], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x5f], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x63], eax
mov eax, dword [esi + 0x44]
and dword [edi + 0x67], 0
mov dword [edi + 0x6b], eax
and dword [edi + 0x6f], 0
and dword [edi + 0x73], 0
and dword [edi + 0x77], 0
xor eax, eax
inc eax
mov dword [edi - 0x29], eax
mov dword [edi - 0x25], eax
push 8
pop edx
mov ecx, 0xa8
call fcn.004eca76
mov edi, eax
push 0xa8
lea eax, [esi + 0xa0]
push eax
push edi
call fcn.005282a0
add esp, 0xc
mov eax, dword [esi + 0x170]
mov edx, dword [esi + 8]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2