Function at 0x45de60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5502fd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
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 0x45deb1
mov ecx, eax
call fcn.0043f110
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x45dec3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edi, dword [edi + 0x10]
mov dword [ecx + 0x10], 0
test edi, edi
je 0x45df2b
mov esi, dword [edi + 4]
test al, 1
je 0x45deeb
and eax, 0xfffffffe
mov ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
call fcn.0043f5c0
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax]
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
je 0x45df0a
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45df2b
test al, 1
jne 0x45df2b
and eax, 0xfffffffe
mov ecx, eax
call fcn.0043f110
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 0x45df7d
cmp ecx, 1
jg 0x45e055
mov eax, dword [edx + 0x40]
lea esi, [edx + 0x40]
cmp dword [eax + 4], 0
je 0x45e052
mov eax, dword [eax]
cmp eax, 1
je 0x45dfc9
test eax, eax
je 0x45dfc9
mov eax, dword [esi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x45dfb8
push 2
push ecx
push 4
push 4
call fcn.00403540
add esp, 0x10
mov dword [esi], eax
jmp 0x45dfc9
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0
call fcn.00417c90
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 0x45e01f
lea ecx, [esi + 0xc]
mov edx, eax
lea ecx, [ecx + eax*4]
cmp dword [ecx], 0
mov eax, edx
jne 0x45e00d
lea eax, [edx + 1]
add ecx, 4
mov edx, eax
mov dword [esi + 4], eax
cmp eax, dword [esi + 8]
jle 0x45dff6
mov ecx, dword [esi + 8]
cmp eax, ecx
jg 0x45e01f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x45ded0
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.0045d900
push 0x40c
push esi
call fcn.005245c1
mov eax, dword [ebp - 0x1c]
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x45ded0
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 0x45e076
cmp ecx, 1
jg 0x45e1a8
lea eax, [ebp - 0x34]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [edx + 0x38]
mov dword [ebp - 0x34], edi
call fcn.004421e0
mov eax, dword [edi + 0xc]
add dword [eax + 0x54], 0xffffffff
jne 0x45e09d
mov ecx, dword [edi + 0xc]
add ecx, 0x44
call fcn.004953e0
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x44]
push 1
mov eax, dword [eax + 0x48]
cdq
push edx
push eax
call fcn.00494b20
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.00495340
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 0x45e16f
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 0x45e16f
mov byte [ebp - 0x11], cl
nop dword [eax]
cmp dword [esi], edi
je 0x45e11d
add esi, 4
cmp esi, eax
jne 0x45e110
jmp 0x45e16f
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 0x45e16f
test esi, esi
js 0x45e16b
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
cmp esi, eax
jge 0x45e16b
mov eax, dword [ecx]
cmp eax, 1
je 0x45e15d
test eax, eax
je 0x45e15d
mov eax, dword [edx]
mov ecx, edx
push dword [eax + 4]
call fcn.0042d590
mov edx, dword [ebp - 0x34]
push esi
mov ecx, edx
call fcn.0040ed60
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 0x45e184
mov eax, dword [ecx + 0x1c]
xor eax, edi
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x34]
call fcn.0044f570
mov ecx, dword [esi + 0x34]
cmp dword [eax], ecx
jne 0x45e19e
add dword [esi + 0x54], 0xffffffff
jmp 0x45e1c1
cmp byte [ebp - 0x11], 0
je 0x45dec0
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x34]
push eax
add ecx, 0x3c
mov dword [ebp - 0x34], edi
call fcn.004421e0
mov eax, dword [edi + 0xc]
add dword [eax + 0x54], 0xffffffff
jne 0x45e1ce
mov ecx, dword [edi + 0xc]
add ecx, 0x44
call fcn.004953e0
mov eax, dword [ebp - 0x18]
test al, 1
je 0x45e1df
and eax, 0xfffffffe
mov ecx, eax
call fcn.0043f5c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret