Function at 0x478320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0ac3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebx], vtable.CAttrBase.0
mov dword [ebx + 8], esi
mov dword [ebx + 0x28], ecx
mov eax, dword [ecx + 8]
mov ax, word [eax + 8]
mov word [ebx + 0xc], ax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x18], eax
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CAttrNonResident.0
mov dword [ebx + 0x30], vtable.CSList_struct_tagDataRun_Entry_.0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x34], 0
mov byte [ebp - 4], 1
push dword [ebx + 0x10]
mov dword [ebx + 0x44], esi
call fcn.00560596
mov dword [ebx + 0x4c], eax
xorps xmm0, xmm0
mov eax, dword [ebx + 0x44]
add esp, 4
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movzx esi, word [eax + 0x20]
add esi, eax
mov al, byte [esi]
test al, al
je 0x47855b
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x14], ecx
movzx edi, al
inc esi
mov ebx, edi
shr edi, 4
and ebx, 0xf
cmp ebx, 8
ja 0x47855b
cmp edi, 8
ja 0x47855b
push ebx
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push esi
push eax
movlpd qword [ebp - 0x28], xmm0
call fcn.00589190
add esp, 0xc
cmp dword [ebp - 0x24], 0
jl 0x47855b
jg 0x47845c
cmp dword [ebp - 0x28], 0
jb 0x47855b
add esi, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test edi, edi
je 0x478492
cmp byte [edi + esi - 1], 0
lea ebx, [edi + esi]
jge 0x478482
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00589190
add esp, 0xc
mov esi, ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
add eax, edi
mov ecx, dword [ebp + 0xc]
adc ecx, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
js 0x47858e
jg 0x4784b6
test eax, eax
jb 0x47858e
push 0x20
call fcn.00560437
add esp, 4
mov ebx, eax
or edi, dword [ebp - 0x1c]
jne 0x4784ce
or ecx, 0xffffffff
or eax, ecx
jmp 0x4784d4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x10], edi
add edi, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 0x14], edx
adc edx, ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
add edi, 0xffffffff
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x18], edi
mov dword [ebp - 0x18], edx
adc edx, 0xffffffff
mov dword [ebx + 0x1c], edx
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x1c]
sbb ecx, dword [eax + 0x14]
cmp edx, ecx
ja 0x478583
jb 0x478527
cmp edi, dword [ebp - 0x1c]
ja 0x478583
push 8
call fcn.00560437
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [eax + 4], ebx
mov dword [eax], 0
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x478549
mov dword [ecx + 0x38], eax
jmp 0x47854b
mov dword [edx], eax
inc dword [ecx + 0x34]
mov dword [ecx + 0x3c], eax
mov al, byte [esi]
test al, al
jne 0x478412
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + 0x30]
call fcn.0047e160
xor eax, eax
jmp 0x478560