Function at 0x4c3250
Capabilities:
Delete file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50cca9
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x104]
push esi
call fcn.004c4200
xor ebx, ebx
cmp eax, ebx
jne 0x4c35bd
cmp dword [esi], ebx
jne 0x4c32ae
mov eax, dword [esp + 0x10c]
push eax
push esi
call fcn.004c2df0
cmp eax, ebx
jne 0x4c35bd
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
add ecx, 4
call eax
mov eax, 4
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], vtable.CObjectVector_class_CInOutTempBuffer_.0
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x68], vtable.CObjectVector_class_CSequentialOutTempBufferImp__.0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x90], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialOutStream__.0
mov byte [esp + 0xfc], 2
mov ecx, dword [esi + 0x60]
lea ebp, [eax - 3]
mov eax, dword [esi + 0x9c]
or edi, 0xffffffff
cmp eax, ebp
mov dword [esp + 0x34], ecx
jle 0x4c3456
lea edx, [esp + 0xac]
push edx
call fcn.004afc50
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x100], 3
call fcn.004c4f50
mov byte [esp + 0xfc], 2
mov eax, dword [esp + 0xc0]
push eax
call fcn.004eacff
mov ecx, dword [esp + 0xcc]
add esp, 4
push ecx
call fcn.004eacff
mov eax, dword [esp + 0xc0]
add esp, 4
cmp eax, edi
je 0x4c33b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c33b4
mov dword [esp + 0xbc], edi
cmp byte [esp + 0xac], bl
je 0x4c33ee
mov eax, dword [esp + 0xb0]
push ebx
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4c33d6
xor al, al
jmp 0x4c33e2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
cmp al, bl
sete dl
mov byte [esp + 0xac], dl
mov eax, dword [esp + 0xb0]
push eax
call fcn.004eacff
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [ecx + edx*4 - 4]
add esp, 4
cmp dword [edi + 0x14], ebx
jne 0x4c3425
push 0x100000
call fcn.004e94db
add esp, 4
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov eax, dword [eax + ecx*4 - 4]
or edi, 0xffffffff
inc ebp
mov dword [eax + 0x18], ebx
mov byte [eax + 0x28], bl
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], edi
cmp ebp, dword [esi + 0x9c]
jl 0x4c334d
mov eax, dword [esi + 0x9c]
mov edi, 1
cmp eax, edi
mov dword [esp + 0x1c], edi
jle 0x4c3550
lea ecx, [ecx]
push 0xc
call fcn.004eac13
add esp, 4
cmp eax, ebx
je 0x4c348b
mov dword [eax + 4], ebx
mov dword [eax], vtable.CSequentialOutTempBufferImp.0
mov ebp, eax
jmp 0x4c348d
xor ebp, ebp
mov dword [esp + 0x3c], ebp
cmp ebp, ebx
je 0x4c349e
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0xfc], 4
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + edi*4 - 4]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x94]
mov dword [ebp + 8], eax
call fcn.004c2870
push 4
call fcn.004eac13
add esp, 4
cmp eax, ebx
je 0x4c34db
mov dword [eax], ebp
mov dword [esp + 0x18], eax
jmp 0x4c34df
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x70], ecx
jne 0x4c351b
cmp ecx, 0x40
mov eax, 1
jl 0x4c34fa
mov eax, ecx
shr eax, 2
jmp 0x4c3504
cmp ecx, 8
jl 0x4c3504
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x68]
call fcn.004bdd40
mov esi, dword [esp + 0x104]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4], ecx
inc dword [esp + 0x70]
mov byte [esp + 0xfc], 2
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
inc edi
cmp edi, dword [esi + 0x9c]
mov dword [esp + 0x1c], edi
jl 0x4c3470
mov edi, dword [esp + 0x34]
xor ebp, ebp
cmp edi, ebx
jle 0x4c3575
lea ebx, [ebx]
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
push ebx
add ecx, 4
push ebx
push ebp
call eax
inc ebp
cmp ebp, edi
jl 0x4c3560
cmp dword [esi + 0x88], ebx
jne 0x4c35d9
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x100], 1
call fcn.004b2d90
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x100], bl
call fcn.004c5120
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x100], 0xffffffff
call fcn.004c4ec0
mov eax, 0x80004005
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret 0x1c
mov edi, dword [esi + 0x60]
mov ecx, dword [esi + 0x8c]
mov edx, dword [ecx]
xor eax, eax
cmp edi, ebx
jbe 0x4c3600
mov esi, dword [esi + 0x64]
lea ecx, [ecx]
mov ecx, dword [esi]
cmp edx, ecx
jb 0x4c3617
inc eax
sub edx, ecx
add esi, 8
cmp eax, edi
jb 0x4c35f0
push 0x52e934
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 1
call fcn.004f0bbb
push 0x20
mov dword [esp + 0x1c], eax
call fcn.004eac13
add esp, 4
cmp eax, ebx
je 0x4c364e
mov dword [eax + 4], vtable.ICompressGetSubStreamSize.0
mov dword [eax + 8], ebx
mov dword [eax], vtable.CSequentialInStreamSizeCount2.0
mov dword [eax + 4], vtable.CSequentialInStreamSizeCount2.1.0
mov ebp, eax
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [esp + 0x40], ebp
jmp 0x4c3654
mov dword [esp + 0x40], ebx
mov ebp, ebx
mov dword [esp + 0xa4], ebp
cmp ebp, ebx
je 0x4c3668
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push ebp
call eax
push 0x18
mov byte [esp + 0x100], 6
call fcn.004eac13
add esp, 4
cmp eax, ebx
je 0x4c3692
mov dword [eax + 4], ebx
mov esi, eax
mov dword [eax], vtable.CSequentialOutStreamSizeCount.0
mov dword [eax + 8], ebx
mov dword [esp + 0x38], esi
jmp 0x4c3698
mov dword [esp + 0x38], ebx
mov esi, ebx
mov dword [esp + 0xa8], esi
cmp esi, ebx
je 0x4c36ab
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov edi, dword [esp + 0x108]
mov byte [esp + 0xfc], 7
cmp edi, ebx
je 0x4c36c6
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4c36d5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0x10]
lea edi, [ebp + 0x10]
cmp eax, ebx
je 0x4c36ea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edi
push 0x522dd0
push eax
call edx
mov eax, dword [esp + 0x114]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
cmp eax, ebx
je 0x4c3715
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4c3724
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x114]
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov eax, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], vtable.CRecordVector_struct_ISequentialInStream__.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], vtable.CRecordVector_struct_ISequentialOutStream__.0
lea edi, [eax - 3]
lea esi, [esp + 0x44]
mov byte [esp + 0xfc], 9
call fcn.004bdd40
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [edx + ecx*4], ebp
mov eax, dword [esp + 0x24]
inc dword [esp + 0x4c]
cmp dword [esp + 0x28], eax
jne 0x4c37ba
cmp eax, 0x40
mov ecx, edi
jl 0x4c37a4
mov ecx, eax
shr ecx, 2
jmp 0x4c37ae
cmp eax, 8
jl 0x4c37ae
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x20]
call fcn.004bdd40
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x104]
mov edx, 1
add dword [esp + 0x28], edx
cmp dword [ecx + 0x9c], edx
mov ebp, edx
jle 0x4c384b
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + ebp*4 - 4]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], eax
jne 0x4c382e
cmp eax, 0x40
mov ecx, edx
jl 0x4c380c
mov ecx, eax
shr ecx, 2
jmp 0x4c3816
cmp eax, 8
jl 0x4c3816
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x20]
call fcn.004bdd40
mov ecx, dword [esp + 0x104]
mov edx, 1
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov dword [eax + edi*4], esi
add dword [esp + 0x28], edx
add ebp, edx
cmp ebp, dword [ecx + 0x9c]
jl 0x4c37e3
cmp dword [ecx + 0x10], ebx
mov dword [esp + 0x1c], ebx
jle 0x4c39fe
mov edi, dword [esp + 0x104]
mov esi, ebx
mov ecx, dword [edi + 0x14]
mov ebp, dword [ecx + esi*4]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xfc], 0xa
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
je 0x4c3889
mov eax, ecx
jmp 0x4c388c
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push 0x522e20
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4c38ad
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x64], ebx
mov byte [esp + 0xfc], 0xb
mov eax, dword [edi]
mov ecx, dword [eax + 0x80]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
je 0x4c38cf
mov eax, ecx
jmp 0x4c38d2
mov eax, dword [eax + 0x18]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x64]
push ecx
push 0x522da0
push eax
call edx
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x4c39c4
push 0x14
call fcn.004eac13
add esp, 4
cmp eax, ebx
je 0x4c3913
mov dword [eax + 4], ebx
mov dword [eax], vtable.CDynBufSeqOutStream.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov esi, eax
jmp 0x4c3915
xor esi, esi
mov dword [esp + 0x5c], esi
cmp esi, ebx
je 0x4c3925
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov byte [esp + 0xfc], 0xc
mov dword [esi + 0x10], ebx
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esi + 0x10]
cmp edi, dword [ebp + 0xc]
je 0x4c3991
cmp edi, ebx
jbe 0x4c3977
push edi
call fcn.004e94db
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x4c397b
cmp eax, edi
jb 0x4c3963
mov eax, edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
call fcn.004ef020
add esp, 0xc
jmp 0x4c397b
mov dword [esp + 0x58], ebx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004eacff
mov eax, dword [esp + 0x5c]
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], edi
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov ebp, dword [ebp + 0x10]
push ecx
push eax
push ebp
call fcn.004f26c0
mov byte [esp + 0x108], 0xb
mov edx, dword [esi]
mov eax, dword [edx + 8]
add esp, 0xc
push esi
call eax
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x104]
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xfc], 0xa
cmp eax, ebx
je 0x4c39d8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xfc], 9
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4c39f0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc esi
cmp esi, dword [edi + 0x10]
mov dword [esp + 0x1c], esi
jl 0x4c3861
mov edi, dword [esp + 0x104]
mov ebp, dword [edi + 0x10]
cmp ebp, 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jle 0x4c3a54
mov esi, dword [edi + 0x14]
mov edx, 1
lea ecx, [ecx]
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 3
jne 0x4c3a30
cmp eax, ebx
je 0x4c3a48
cmp ecx, 0x3030103
jne 0x4c3a3c
cmp eax, ebx
je 0x4c3a48
cmp ecx, 0x303011b
jne 0x4c3a4c
cmp eax, ebx
jne 0x4c3a4c
mov dword [esp + 0x18], edx
inc edx
add esi, 4
cmp edx, ebp
jl 0x4c3a20
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x70], ecx
mov ecx, dword [esp + 0x11c]
mov eax, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push ebx
push ecx
mov ecx, dword [esp + 0x60]
push 1
push ebx
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
je 0x4c3b66
mov byte [esp + 0xfc], 8
mov eax, dword [esp + 0x28]
push eax
mov edi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], edi
call dword [0x52267c]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004eacff
mov byte [esp + 0x100], 7
mov edx, dword [esp + 0x50]
add esp, 4
push edx
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], edi
call dword [0x52267c]
mov eax, dword [esp + 0x50]
push eax
call fcn.004eacff
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x100], 6
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov eax, dword [esp + 0x40]
mov byte [esp + 0xfc], 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x100], 1
call fcn.004b2d90
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x100], bl
call fcn.004c5120
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x100], 0xffffffff
call fcn.004c4ec0
mov eax, esi
jmp 0x4c35bd
mov eax, dword [esp + 0x110]
push eax
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x74], esp
mov dword [esp + 0x74], esi
mov dword [esi], vtable.CBaseRecordVector.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 8
push ebx
mov byte [esp + 0x118], 0xd
push ebx
mov ecx, esi
mov dword [esi], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
call dword [0x5226fc]
lea ecx, [edi + 0xfc]
push ecx
mov eax, esi
call fcn.004b1c70
add edi, 0xa8
push edi
mov byte [esp + 0x118], 9
call fcn.004c2bd0
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x134]
mov edx, dword [eax + 0x14]
mov ebp, dword [eax + 0x10]
mov eax, dword [esi + 4]
add esp, 0x1c
mov dword [esp + 0x60], edx
cmp dword [esi + 8], eax
jne 0x4c3c0e
cmp eax, 0x40
mov ecx, 1
jl 0x4c3bfc
mov ecx, eax
shr ecx, 2
jmp 0x4c3c06
cmp eax, 8
jl 0x4c3c06
mov ecx, 8
lea edi, [ecx + eax]
call fcn.004bdd40
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*8], ebp
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [esp + 0x104]
mov ebp, 1
add dword [esi + 8], ebp
cmp dword [edx + 0x9c], ebp
jle 0x4c3ccb
lea ebx, [ebx]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x114]
mov edi, dword [eax + ebp*4 - 4]
push ecx
call fcn.004afef0
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x4c3d29
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], edx
cmp dword [esi + 8], eax
jne 0x4c3c9d
cmp eax, 0x40
mov ecx, 1
jl 0x4c3c8b
mov ecx, eax
shr ecx, 2
jmp 0x4c3c95
cmp eax, 8
jl 0x4c3c95
mov ecx, 8
lea edi, [ecx + eax]
call fcn.004bdd40
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [esp + 0x104]
inc dword [esi + 8]
inc ebp
cmp ebp, dword [eax + 0x9c]
jl 0x4c3c40
mov edx, eax
mov ecx, dword [edx + 0xf8]
cmp dword [ecx + 0x90], ebx
mov dword [esp + 0x1c], ebx
jle 0x4c3e81
mov esi, dword [esp + 0x110]
add esi, 0x3c
jmp 0x4c3cf0
mov edi, dword [edx + 0x74]
xor eax, eax
cmp edi, ebx
jle 0x4c3e08
mov ecx, dword [ecx + 0xa0]
mov ebp, dword [esp + 0x1c]
mov ebp, dword [ecx + ebp*4]
mov ecx, dword [edx + 0x78]
lea ecx, [ecx]
cmp dword [ecx], ebp
je 0x4c3e04
inc eax
add ecx, 8
cmp eax, edi
jl 0x4c3d10
mov eax, dword [esp + 0x40]
jmp 0x4c3e16
mov byte [esp + 0xfc], 8
mov ecx, dword [esp + 0x28]
push ecx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call dword [0x52267c]
mov edx, dword [esp + 0x2c]
push edx
call fcn.004eacff
mov byte [esp + 0x100], 7
mov eax, dword [esp + 0x50]
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], esi
call dword [0x52267c]
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004eacff
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x100], 6
add esp, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0xfc], 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x100], 1
call fcn.004b2d90
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x100], bl
call fcn.004c5120
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x100], 0xffffffff
call fcn.004c4ec0
mov eax, dword [esp + 0x18]
jmp 0x4c35bd
cmp eax, ebx
jge 0x4c3e0e
mov eax, dword [esp + 0x40]
jmp 0x4c3e16
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x68]
mov eax, dword [ecx + eax*4]
mov ebp, dword [eax + 0x18]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x60], eax
cmp dword [esi + 8], ecx
jne 0x4c3e52
cmp ecx, 0x40
mov eax, 1
jl 0x4c3e39
mov eax, ecx
shr eax, 2
jmp 0x4c3e43
cmp ecx, 8
jl 0x4c3e43
mov eax, 8
lea edi, [eax + ecx]
call fcn.004bdd40
mov edx, dword [esp + 0x104]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x60]
mov dword [eax + ecx*8], ebp
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [esp + 0x1c]
inc dword [esi + 8]
mov ecx, dword [edx + 0xf8]
inc eax
cmp eax, dword [ecx + 0x90]
mov dword [esp + 0x1c], eax
jl 0x4c3cf0
mov eax, dword [esp + 0x34]
lea ebp, [eax - 1]
cmp ebp, ebx
jl 0x4c3f44
sub eax, ebp
add eax, eax
add eax, eax
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + 0x14]
mov edi, dword [edx + ebp*4]
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
mov esi, dword [edx + ecx - 4]
mov eax, dword [esi + 0x10]
push eax
mov dword [esp + 0x5c], edi
call fcn.004eacff
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov edi, dword [edi + 0xc]
add esp, 4
cmp edi, ebx
jbe 0x4c3f36
push edi
call fcn.004e94db
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x4c3f08
cmp eax, edi
jb 0x4c3ef6
mov eax, edi
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
call fcn.004ef020
add esp, 0xc
mov eax, dword [esi + 0x10]
push eax
call fcn.004eacff
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], edi
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 0x10]
add esp, 4
push ecx
push edx
push eax
call fcn.004ef020
add esp, 0xc
add dword [esp + 0x18], 4
dec ebp
cmp ebp, ebx
jge 0x4c3ea0
mov byte [esp + 0xfc], 8
mov ecx, dword [esp + 0x28]
push ecx
mov esi, vtable.CBaseRecordVector.0
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call dword [0x52267c]
mov edx, dword [esp + 0x2c]
push edx
call fcn.004eacff
mov byte [esp + 0x100], 7
mov eax, dword [esp + 0x50]
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], esi
call dword [0x52267c]
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004eacff
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x100], 6
add esp, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0xfc], 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x100], 1
call fcn.004b2d90
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x100], bl
call fcn.004c5120
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x100], 0xffffffff
call fcn.004c4ec0
xor eax, eax
jmp 0x4c35bd