Function at 0x47ed00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d30d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x732480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword [edi + 0xc]
add eax, 0x30
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
je 0x47ed51
mov ecx, eax
call fcn.0047a990
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x47ed63
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edi, dword [edi + 0x10]
mov dword [ecx + 0x10], 0
test edi, edi
je 0x47edcb
mov esi, dword [edi + 4]
test al, 1
je 0x47ed8b
and eax, 0xfffffffe
mov ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
call fcn.0047ae40
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax]
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
je 0x47edaa
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47edcb
test al, 1
jne 0x47edcb
and eax, 0xfffffffe
mov ecx, eax
call fcn.0047a990
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x20]
mov edx, dword [edi + 0xc]
mov ecx, dword [edx + 0x3c]
mov eax, dword [edx + 0x34]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x30], esi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, esi
mov dword [ebp - 0x24], edi
sub eax, dword [ebp - 0x24]
sub eax, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov ecx, edi
add eax, dword [ebp - 0x28]
add ecx, eax
mov dword [ebp - 0x2c], edi
mov eax, dword [edx + 0x50]
mov edi, dword [ebp - 0x20]
add eax, ecx
cmp eax, dword [edx + 0x4c]
jle 0x47ee1d
cmp ecx, 1
jg 0x47eef5
mov eax, dword [edx + 0x40]
lea esi, [edx + 0x40]
cmp dword [eax + 4], 0
je 0x47eef2
mov eax, dword [eax]
cmp eax, 1
je 0x47ee69
test eax, eax
je 0x47ee69
mov eax, dword [esi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x47ee58
push 2
push ecx
push 4
push 4
call fcn.00424ff0
add esp, 0x10
mov dword [esi], eax
jmp 0x47ee69
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0
call fcn.0044d5d0
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + eax]
mov eax, dword [esi + 4]
mov edi, dword [esi + eax*4 + 0xc]
mov dword [esi + eax*4 + 0xc], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
cmp eax, ecx
jg 0x47eebf
lea ecx, [esi + 0xc]
mov edx, eax
lea ecx, [ecx + eax*4]
cmp dword [ecx], 0
mov eax, edx
jne 0x47eead
lea eax, [edx + 1]
add ecx, 4
mov edx, eax
mov dword [esi + 4], eax
cmp eax, dword [esi + 8]
jle 0x47ee96
mov ecx, dword [esi + 8]
cmp eax, ecx
jg 0x47eebf
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x47ed70
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0xc]
add ecx, 0x40
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
add edx, eax
lea eax, [edx + 4]
push eax
push edx
call fcn.0047e7a0
push 0x40c
push esi
call fcn.00553384
mov eax, dword [ebp - 0x1c]
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x47ed70
mov esi, dword [ebp - 0x30]
sub esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x34]
add esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x50]
add ecx, esi
add eax, ecx
cmp eax, dword [edx + 0x4c]
jle 0x47ef16
cmp ecx, 1
jg 0x47f048
lea eax, [ebp - 0x34]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [edx + 0x38]
mov dword [ebp - 0x34], edi
call fcn.00471c60
mov eax, dword [edi + 0xc]
add dword [eax + 0x54], 0xffffffff
jne 0x47ef3d
mov ecx, dword [edi + 0xc]
add ecx, 0x44
call fcn.004c3ce0
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x44]
push 1
mov eax, dword [eax + 0x48]
cdq
push edx
push eax
call fcn.004c3420
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x18]
and eax, 0xfffffffe
movups xmmword [ecx], xmm0
push eax
lea ecx, [edi + 8]
call fcn.004c3c40
mov eax, dword [edi + 0xc]
inc dword [eax + 0x54]
mov edx, dword [edi + 0xc]
mov al, byte [ebp - 0x12]
add edx, 0x38
mov byte [ebp - 0x11], al
mov dword [ebp - 0x34], edx
mov ecx, dword [edx]
mov esi, dword [ecx + 0xc]
mov eax, esi
sub eax, dword [ecx + 8]
test eax, eax
jle 0x47f00f
add esi, 4
lea eax, [ecx + esi*4]
mov esi, dword [ecx + 8]
add esi, 4
lea esi, [ecx + esi*4]
mov cl, byte [ebp - 0x12]
mov byte [ebp - 0x11], cl
cmp esi, eax
je 0x47f00f
mov byte [ebp - 0x11], cl
nop dword [eax]
cmp dword [esi], edi
je 0x47efbd
add esi, 4
cmp esi, eax
jne 0x47efb0
jmp 0x47f00f
mov ecx, dword [edx]
mov eax, dword [ecx + 8]
lea eax, [eax*4 + 0x10]
sub esi, eax
sub esi, ecx
sar esi, 2
cmp esi, 0xffffffff
je 0x47f00f
test esi, esi
js 0x47f00b
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
cmp esi, eax
jge 0x47f00b
mov eax, dword [ecx]
cmp eax, 1
je 0x47effd
test eax, eax
je 0x47effd
mov eax, dword [edx]
mov ecx, edx
push dword [eax + 4]
call fcn.00468c10
mov edx, dword [ebp - 0x34]
push esi
mov ecx, edx
call fcn.00431010
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x11], 1
mov esi, dword [edi + 0xc]
xor eax, eax
mov dword [ebp - 0x34], edi
mov ecx, dword [esi + 0x34]
cmp dword [ecx + 0x18], eax
je 0x47f024
mov eax, dword [ecx + 0x1c]
xor eax, edi
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x34]
call fcn.00408340
mov ecx, dword [esi + 0x34]
cmp dword [eax], ecx
jne 0x47f03e
add dword [esi + 0x54], 0xffffffff
jmp 0x47f061
cmp byte [ebp - 0x11], 0
je 0x47ed60
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x34]
push eax
add ecx, 0x3c
mov dword [ebp - 0x34], edi
call fcn.00471c60
mov eax, dword [edi + 0xc]
add dword [eax + 0x54], 0xffffffff
jne 0x47f06e
mov ecx, dword [edi + 0xc]
add ecx, 0x44
call fcn.004c3ce0
mov eax, dword [ebp - 0x18]
test al, 1
je 0x47f07f
and eax, 0xfffffffe
mov ecx, eax
call fcn.0047ae40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret