Function at 0x517560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b9f4b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x64286c]
mov ecx, dword [esi + 0x18]
push eax
call fcn.004c80d0
mov edi, eax
push esi
mov ecx, edi
call fcn.004be250
push 0x5ccbcc
mov ecx, edi
call fcn.004c1040
push 0x34
call fcn.0047b2c8
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
xor ebp, ebp
mov dword [esp + 0x28], ebp
cmp esi, ebp
je 0x5175f8
mov edx, dword [edi]
mov eax, dword [edx + 0x6c]
mov ecx, edi
call eax
push 0x34
push ebp
push esi
mov ebx, eax
call fcn.0049af70
add esp, 0xc
mov ecx, edi
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.004be180
mov ebx, esi
mov dword [esi + 0x30], ebp
mov dword [esp + 0x14], ebx
jmp 0x5175fe
mov dword [esp + 0x14], ebp
mov ebx, ebp
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
lea esi, [ebx + 8]
push esi
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
push esi
mov ecx, edi
call eax
mov ecx, dword [ebx]
mov ebp, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x1c]
mov edx, dword [edx + 0x8c]
push eax
call edx
push ebp
mov ecx, ebx
call fcn.00517420
mov ecx, dword [esp + 0x34]
mov eax, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x20]
mov esi, dword [eax]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 0
test esi, esi
je 0x51773b
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
add eax, edx
cmp eax, ecx
jg 0x517680
mov esi, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
test esi, esi
jne 0x517663
jmp 0x51773b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, edx
neg ebx
sbb ebx, ebx
and ebx, eax
mov dword [esp + 0x1c], ecx
mov dword [esi + 8], eax
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x5176eb
lea ecx, [ecx]
push ebp
mov ecx, esi
call fcn.00517420
mov edx, dword [esi + 0x20]
add edx, dword [esp + 0x30]
cmp edx, dword [esp + 0x34]
jg 0x5176eb
cmp dword [ebp + 0x24], 2
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
jne 0x5176d6
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x5176d6
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea eax, [esi + 8]
push eax
mov eax, dword [edx + 0x70]
call eax
cmp dword [esi + 8], 0xffffffff
jne 0x5176a0
test ebx, ebx
je 0x5176f5
cmp dword [ebp + 0x24], 2
je 0x5176f9
mov ebx, dword [esp + 0x18]
push ebp
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.00517420
mov ecx, dword [esi + 0x20]
add dword [esp + 0x30], ecx
cmp dword [esi + 0x2c], 0
je 0x517737
mov ebx, dword [esi + 0x2c]
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.00517490
test ebx, ebx
je 0x517731
mov ecx, dword [ebx]
call fcn.004be1a0
push ebx
call fcn.0047b2f7
add esp, 4
cmp dword [esi + 0x2c], 0
jne 0x517711
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x51774a
mov dword [ecx + 0x2c], ebx
jmp 0x51774f
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], ebx
mov ebp, dword [ebp + 4]
mov ecx, edi
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], ebp
call fcn.004be1a0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8