Function at 0x4789f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515f72
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov dword [edi + 0x24], 0
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 2
call fcn.00485a70
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 0x554b64
lea ecx, [edi + 0x30]
mov dword [edi + 0x2c], 0x554a94
call fcn.00485b20
push 0x554bc0
lea ecx, [ebp - 0x10]
mov dword [edi + 0x5c], 0x554b1c
call fcn.004204a0
mov byte [ebp - 4], 4
mov eax, dword [0x575ba4]
lea esi, [edi + 0x78]
mov ecx, 0x575ba4
mov dword [ebp - 0x18], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
push 4
mov byte [ebp - 4], 5
call fcn.004ea3f3
add esp, 4
test eax, eax
je 0x478abc
mov dword [eax], 0x54d6bc
jmp 0x478abe
xor eax, eax
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 4]
mov byte [esi], 1
call fcn.004222b0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x478af3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi], 0x554ae4
mov dword [edi + 0x28], 0x554b14
mov dword [edi + 0x2c], 0x554a88
mov dword [edi + 0x30], 0x554a64
mov dword [edi + 0x5c], 0x554a9c
mov dword [edi + 0x84], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 8]
mov dword [edi + 0x88], 0
lea ecx, [ecx - 0x10]
mov word [edi + 0xa4], 0
call fcn.00420750
add eax, 0x10
mov dword [edi + 0xa8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00420750
add eax, 0x10
mov dword [edi + 0xac], eax
mov byte [ebp - 4], 0xa
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xb0], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xb4], eax
mov byte [ebp - 4], 0xc
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xb8], eax
mov byte [ebp - 4], 0xd
mov dword [edi + 0xbc], 0
mov byte [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
call fcn.00449800
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov word [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov word [edi + 0xd8], 0
mov dword [edi + 0xdc], eax
mov word [edi + 0xe0], 0
mov byte [edi + 0xe2], 0
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xe4], eax
mov byte [ebp - 4], 0xe
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xe8], eax
mov byte [ebp - 4], 0xf
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xec], eax
mov byte [ebp - 4], 0x10
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
xorps xmm0, xmm0
mov dword [edi + 0x100], 0xc8
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 1
movq qword [edi + 0x8c], xmm0
movq qword [edi + 0x94], xmm0
push 0x60
mov dword [edi + 0xa0], 0
mov dword [edi + 0x9c], 0
call fcn.004ea3f3
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x478d5f
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
call fcn.00420750
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov esi, esp
call fcn.00420750
add eax, 0x10
mov dword [esi], eax
lea eax, [edi + 0x5c]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 0x11
call fcn.0044f310
jmp 0x478d61
xor eax, eax
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov dword [edi + 0xc8], eax
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478d87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x478da8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc