Function at 0x47ea10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd2f2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x502054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
add eax, 0xfffffff0
cmp eax, 0xa0
ja case.0x47e564.17
movzx eax, byte [eax + 0x47ed0c]
jmp dword [eax*4 + 0x47ece4]
push 0x2c
call fcn.004a9d6b
mov edx, eax
add esp, 4
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], 0
mov dword [edx], vtable.CAttrBase.0
mov dword [edx + 4], edi
mov dword [edx + 0x18], ebx
mov ecx, dword [ebx + 8]
mov ax, word [ecx + 8]
mov word [edx + 8], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x20]
mov dword [edx + 0x14], eax
mov byte [ebp - 4], 1
mov dword [edx], vtable.CAttrResident.0
mov dword [edx + 0x1c], edi
movzx eax, word [edi + 0x14]
add eax, edi
mov dword [edx + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x24], eax
mov byte [ebp - 4], 2
mov eax, dword [edx + 0x20]
mov dword [edx], vtable.CAttr_StdInfo.0
mov dword [edx + 0x28], eax
jmp 0x47ecc6
cmp byte [edi + 8], 0
je 0x47e628
push 0x50
call fcn.004a9d6b
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
mov ecx, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.00482c10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x3c
call fcn.004a9d6b
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
mov ecx, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.00482f10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x3c
call fcn.004a9d6b
mov esi, eax
add esp, 4
mov dword [ebp + 0x14], esi
mov dword [ebp - 4], 5
mov dword [esi], vtable.CAttrBase.0
mov dword [esi + 4], edi
mov dword [esi + 0x18], ebx
mov ecx, dword [ebx + 8]
mov ax, word [ecx + 8]
mov word [esi + 8], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 6
mov dword [esi], vtable.CAttrResident.0
mov dword [esi + 0x1c], edi
movzx eax, word [edi + 0x14]
add eax, edi
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 7
lea ecx, [esi + 0x28]
mov dword [ecx], vtable.CFileName.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov byte [ebp - 4], 8
mov eax, dword [esi + 0x20]
mov dword [esi], vtable.CAttr_FileName.1.0
mov dword [ecx], vtable.CAttr_FileName.0
mov dword [ecx + 4], eax
call fcn.0047dd20
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x34
call fcn.004a9d6b
mov esi, eax
add esp, 4
mov dword [ebp + 0x14], esi
mov dword [ebp - 4], 9
mov dword [esi], vtable.CAttrBase.0
mov dword [esi + 4], edi
mov dword [esi + 0x18], ebx
mov ecx, dword [ebx + 8]
mov ax, word [ecx + 8]
mov word [esi + 8], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 0xa
mov dword [esi], vtable.CAttrResident.0
mov dword [esi + 0x1c], edi
movzx eax, word [edi + 0x14]
add eax, edi
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov eax, dword [esi + 0x24]
mov edx, 2
shr eax, 1
mov dword [esi + 0x30], eax
inc eax
mul edx
mov dword [esi], vtable.CAttr_VolName.0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a9926
mov dword [esi + 0x28], eax
add esp, 4
mov eax, dword [esi + 0x30]
inc eax
push eax
call fcn.004a9926
add esp, 4
mov dword [esi + 0x2c], eax
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x28]
call fcn.004abd70
mov eax, dword [esi + 0x28]
add esp, 0xc
mov ecx, dword [esi + 0x30]
xor edx, edx
push edx
push edx
mov word [eax + ecx*2], dx
mov eax, dword [esi + 0x30]
push eax
push dword [esi + 0x2c]
push eax
push dword [esi + 0x28]
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov byte [ecx + eax], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x2c
call fcn.004a9d6b
mov edx, eax
add esp, 4
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], 0xc
mov dword [edx], vtable.CAttrBase.0
mov dword [edx + 4], edi
mov dword [edx + 0x18], ebx
mov ecx, dword [ebx + 8]
mov ax, word [ecx + 8]
mov word [edx + 8], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x20]
mov dword [edx + 0x14], eax
mov byte [ebp - 4], 0xd
mov dword [edx], vtable.CAttrResident.0
mov dword [edx + 0x1c], edi
movzx eax, word [edi + 0x14]
add eax, edi
mov dword [edx + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x24], eax
mov byte [ebp - 4], 0xe
mov eax, dword [edx + 0x20]
mov dword [edx], vtable.CAttr_VolInfo.0
mov dword [edx + 0x28], eax
jmp 0x47ecc6
cmp byte [edi + 8], 0
je 0x47e8ec
push 0x3c
call fcn.004a9d6b
mov esi, eax
add esp, 4
mov dword [ebp + 0x14], esi
mov dword [ebp - 4], 0xf
mov ecx, esi
push ebx
push edi
call fcn.0047d4c0
mov byte [ebp - 4], 0x10
mov dword [esi], vtable.CAttr_Data_class_CAttrNonResident_.0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x28
call fcn.004a9d6b
mov edx, eax
add esp, 4
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], 0x11
mov dword [edx], vtable.CAttrBase.0
mov dword [edx + 4], edi
mov dword [edx + 0x18], ebx
mov ecx, dword [ebx + 8]
mov ax, word [ecx + 8]
mov word [edx + 8], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x20]
mov dword [edx + 0x14], eax
mov byte [ebp - 4], 0x12
mov dword [edx], vtable.CAttrResident.0
mov dword [edx + 0x1c], edi
movzx eax, word [edi + 0x14]
add eax, edi
mov dword [edx + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x24], eax
mov byte [ebp - 4], 0x13
mov dword [edx], vtable.CAttr_Data_class_CAttrResident_.0
jmp 0x47ecc6
push 0x40
call fcn.004a9d6b
add esp, 4
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 0x14
mov ecx, eax
push ebx
push edi
call fcn.0047e060
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x48
call fcn.004a9d6b
mov esi, eax
add esp, 4
mov dword [ebp + 0x14], esi
mov dword [ebp - 4], 0x15
mov ecx, esi
push ebx
push edi
call fcn.0047d4c0
mov byte [ebp - 4], 0x16
cmp dword [esi + 0x34], 0
mov dword [esi], vtable.CAttr_IndexAlloc.0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
je 0x47e9f3
mov eax, dword [esi + 0x1c]
push ebx
push 0
push dword [esi + 0x10]
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.004aa930
or ecx, ebx
pop ebx
jne 0x47e9f3
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edi + 8], 0
je 0x47eb07
push 0x58
call fcn.004a9d6b
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0x17
mov ecx, esi
push ebx
push edi
call fcn.0047d4c0
mov byte [ebp - 4], 0x18
cmp dword [esi + 0x34], 0
mov dword [esi], vtable.CAttr_Bitmap_class_CAttrNonResident_.0
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
je 0x47ead5
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x40], ecx
cmp byte [eax + 8], 0
je 0x47ea9a
push dword [esi + 0xc]
call fcn.004a9926
add esp, 4
mov dword [esi + 0x48], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ecx
call fcn.004a9926
add esp, 4
mov dword [esi + 0x48], eax
lea ecx, [ebp + 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
push dword [esi + 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0047da70
test eax, eax
je 0x47eae3
mov eax, dword [ebp + 0x14]
cmp eax, dword [esi + 0x40]
je 0x47eaea
jmp 0x47eae3
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x40
call fcn.004a9d6b
mov esi, eax
add esp, 4
mov dword [ebp + 0x14], esi
mov dword [ebp - 4], 0x19
mov dword [esi], vtable.CAttrBase.0
mov dword [esi + 4], edi
mov dword [esi + 0x18], ebx
mov eax, dword [ebx + 8]
mov ax, word [eax + 8]
mov word [esi + 8], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 0x1a
mov dword [esi], vtable.CAttrResident.0
mov dword [esi + 0x1c], edi
movzx eax, word [edi + 0x14]
add eax, edi
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0x1b
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x24]
mov dword [esi], vtable.CAttr_Bitmap_class_CAttrResident_.0
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], 0
cmp byte [eax + 8], 0
je 0x47ebc4
push dword [esi + 0xc]
call fcn.004a9926
add esp, 4
mov dword [esi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ecx
call fcn.004a9926
mov ecx, dword [esi + 0x28]
add esp, 4
xor edi, edi
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x47ebf2
mov edi, dword [esi + 0x24]
test edi, edi
je 0x47ebf7
cmp ecx, edi
cmovbe edi, ecx
push edi
push dword [esi + 0x20]
push eax
call fcn.004abd70
add esp, 0xc
cmp edi, dword [esi + 0x28]
je 0x47ebfe
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edi + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
je 0x47ec62
push 0x3c
call fcn.004a9d6b
add esp, 4
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 0x1c
mov ecx, eax
push ebx
push edi
call fcn.0047d4c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x28
call fcn.004a9d6b
mov edx, eax
add esp, 4
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], 0x1d
mov dword [edx], vtable.CAttrBase.0
mov dword [edx + 4], edi
mov dword [edx + 0x18], ebx
mov ecx, dword [ebx + 8]
mov ax, word [ecx + 8]
mov word [edx + 8], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x20]
mov dword [edx + 0x14], eax
mov byte [ebp - 4], 0x1e
mov dword [edx], vtable.CAttrResident.0
mov dword [edx + 0x1c], edi
movzx eax, word [edi + 0x14]
add eax, edi
mov dword [edx + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10