Function at 0x482f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646036
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x6ddc7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 1
push 0x48
movq qword [ebx], xmm0
call fcn.005ff7ce
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0x48
push 0
push esi
mov byte [ebp - 4], 2
call fcn.00617280
mov eax, dword [ebp + 0xc]
add esp, 0xc
cdq
push 0
push 0xf4240
push edx
push eax
call fcn.006004d0
push ecx
mov dword [ebp - 0x28], eax
mov ecx, esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], edx
push eax
push dword [edi + 0x7c]
call fcn.004890c0
mov byte [ebp - 4], 1
mov ecx, ebx
push dword [ebp - 0x38]
mov dword [ebx], 0
push eax
mov dword [ebx + 4], 0
call fcn.00491dd0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 1
push eax
mov ecx, edi
mov dword [ebp - 0x14], 0x485390
call fcn.004854e0
push ecx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
push ecx
push ebx
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0xd8]
call fcn.00489180
mov ecx, dword [edi + 0x80]
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [ecx]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0048bcd0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x18], 3
call fcn.00482b10
mov byte [ebp - 4], 5
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edi, [eax + 0x28]
lea ebx, [eax + 8]
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x90]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x88]
push eax
push 0xa0
call fcn.004730f0
mov esi, eax
mov dword [ebp - 0x2c], 0
add esp, 8
mov dword [ebp - 0x30], esi
push 0x4a20f0
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00473b80
lea ecx, [esi + 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x90]
mov dword [ecx], eax
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 4], eax
add ecx, 8
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x88]
mov dword [ecx], eax
lea eax, [ebp - 0x80]
push eax
add ecx, 8
call fcn.0048bcd0
push edi
sub esp, 8
lea ecx, [esi + 0x80]
call fcn.004a2f40
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 0xc]
push esi
push eax
push ebx
lea eax, [ecx + 0x14]
mov byte [ebx + 8], 1
mov ecx, dword [ecx + 0x2c]
push eax
mov dword [ebp - 0x2c], esi
call fcn.004a6c00
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.004a2060
lea ecx, [ebp - 0x80]
call fcn.00482b10
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x48316a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48316a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x48316a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x483182
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ff7bd
mov esp, ebp
pop ebp
ret 0x30