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

Disassembly:
push 0xffffffffffffffff
push 0x50c699
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x104]
push esi
call fcn.004c3900
xor ebx, ebx
cmp eax, ebx
jne 0x4c2cbd
cmp dword [esi], ebx
jne 0x4c29ae
mov eax, dword [esp + 0x10c]
push eax
push esi
call fcn.004c24f0
cmp eax, ebx
jne 0x4c2cbd
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 0x4c2b56
lea edx, [esp + 0xac]
push edx
call fcn.004af470
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x100], 3
call fcn.004c4650
mov byte [esp + 0xfc], 2
mov eax, dword [esp + 0xc0]
push eax
call fcn.004ea5cf
mov ecx, dword [esp + 0xcc]
add esp, 4
push ecx
call fcn.004ea5cf
mov eax, dword [esp + 0xc0]
add esp, 4
cmp eax, edi
je 0x4c2ab4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c2ab4
mov dword [esp + 0xbc], edi
cmp byte [esp + 0xac], bl
je 0x4c2aee
mov eax, dword [esp + 0xb0]
push ebx
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4c2ad6
xor al, al
jmp 0x4c2ae2
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.004ea5cf
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 0x4c2b25
push 0x100000
call fcn.004e8dab
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 0x4c2a4d
mov eax, dword [esi + 0x9c]
mov edi, 1
cmp eax, edi
mov dword [esp + 0x1c], edi
jle 0x4c2c50
lea ecx, [ecx]
push 0xc
call fcn.004ea4e3
add esp, 4
cmp eax, ebx
je 0x4c2b8b
mov dword [eax + 4], ebx
mov dword [eax], vtable.CSequentialOutTempBufferImp.0
mov ebp, eax
jmp 0x4c2b8d
xor ebp, ebp
mov dword [esp + 0x3c], ebp
cmp ebp, ebx
je 0x4c2b9e
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.004b24e0
push 4
call fcn.004ea4e3
add esp, 4
cmp eax, ebx
je 0x4c2bdb
mov dword [eax], ebp
mov dword [esp + 0x18], eax
jmp 0x4c2bdf
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x70], ecx
jne 0x4c2c1b
cmp ecx, 0x40
mov eax, 1
jl 0x4c2bfa
mov eax, ecx
shr eax, 2
jmp 0x4c2c04
cmp ecx, 8
jl 0x4c2c04
mov eax, 8
lea edi, [ecx + eax]
lea esi, [esp + 0x68]
call fcn.004bd4b0
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 0x4c2b70
mov edi, dword [esp + 0x34]
xor ebp, ebp
cmp edi, ebx
jle 0x4c2c75
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 0x4c2c60
cmp dword [esi + 0x88], ebx
jne 0x4c2cd9
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x100], 1
call fcn.004b2450
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x100], bl
call fcn.004c4820
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x100], 0xffffffff
call fcn.004c45c0
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 0x4c2d00
mov esi, dword [esi + 0x64]
lea ecx, [ecx]
mov ecx, dword [esi]
cmp edx, ecx
jb 0x4c2d17
inc eax
sub edx, ecx
add esi, 8
cmp eax, edi
jb 0x4c2cf0
push 0x52d644
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 1
call fcn.004f048b
push 0x20
mov dword [esp + 0x1c], eax
call fcn.004ea4e3
add esp, 4
cmp eax, ebx
je 0x4c2d4e
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 0x4c2d54
mov dword [esp + 0x40], ebx
mov ebp, ebx
mov dword [esp + 0xa4], ebp
cmp ebp, ebx
je 0x4c2d68
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push ebp
call eax
push 0x18
mov byte [esp + 0x100], 6
call fcn.004ea4e3
add esp, 4
cmp eax, ebx
je 0x4c2d92
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 0x4c2d98
mov dword [esp + 0x38], ebx
mov esi, ebx
mov dword [esp + 0xa8], esi
cmp esi, ebx
je 0x4c2dab
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 0x4c2dc6
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4c2dd5
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 0x4c2dea
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 0x521af8
push eax
call edx
mov eax, dword [esp + 0x114]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
cmp eax, ebx
je 0x4c2e15
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4c2e24
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.004bd4b0
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 0x4c2eba
cmp eax, 0x40
mov ecx, edi
jl 0x4c2ea4
mov ecx, eax
shr ecx, 2
jmp 0x4c2eae
cmp eax, 8
jl 0x4c2eae
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x20]
call fcn.004bd4b0
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 0x4c2f4b
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 0x4c2f2e
cmp eax, 0x40
mov ecx, edx
jl 0x4c2f0c
mov ecx, eax
shr ecx, 2
jmp 0x4c2f16
cmp eax, 8
jl 0x4c2f16
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [esp + 0x20]
call fcn.004bd4b0
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 0x4c2ee3
cmp dword [ecx + 0x10], ebx
mov dword [esp + 0x1c], ebx
jle 0x4c30fe
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 0x4c2f89
mov eax, ecx
jmp 0x4c2f8c
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push 0x521b48
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4c2fad
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 0x4c2fcf
mov eax, ecx
jmp 0x4c2fd2
mov eax, dword [eax + 0x18]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x64]
push ecx
push 0x521ac8
push eax
call edx
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x4c30c4
push 0x14
call fcn.004ea4e3
add esp, 4
cmp eax, ebx
je 0x4c3013
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 0x4c3015
xor esi, esi
mov dword [esp + 0x5c], esi
cmp esi, ebx
je 0x4c3025
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 0x4c3091
cmp edi, ebx
jbe 0x4c3077
push edi
call fcn.004e8dab
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x4c307b
cmp eax, edi
jb 0x4c3063
mov eax, edi
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
call fcn.004ee8f0
add esp, 0xc
jmp 0x4c307b
mov dword [esp + 0x58], ebx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004ea5cf
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.004f1f90
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 0x4c30d8
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 0x4c30f0
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 0x4c2f61
mov edi, dword [esp + 0x104]
mov ebp, dword [edi + 0x10]
cmp ebp, 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jle 0x4c3154
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 0x4c3130
cmp eax, ebx
je 0x4c3148
cmp ecx, 0x3030103
jne 0x4c313c
cmp eax, ebx
je 0x4c3148
cmp ecx, 0x303011b
jne 0x4c314c
cmp eax, ebx
jne 0x4c314c
mov dword [esp + 0x18], edx
inc edx
add esi, 4
cmp edx, ebp
jl 0x4c3120
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 0x4c3266
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 [0x5213a4]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ea5cf
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 [0x5213a4]
mov eax, dword [esp + 0x50]
push eax
call fcn.004ea5cf
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.004b2450
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x100], bl
call fcn.004c4820
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x100], 0xffffffff
call fcn.004c45c0
mov eax, esi
jmp 0x4c2cbd
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 [0x521424]
lea ecx, [edi + 0xfc]
push ecx
mov eax, esi
call fcn.004cec50
add edi, 0xa8
push edi
mov byte [esp + 0x118], 9
call fcn.004c22d0
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 0x4c330e
cmp eax, 0x40
mov ecx, 1
jl 0x4c32fc
mov ecx, eax
shr ecx, 2
jmp 0x4c3306
cmp eax, 8
jl 0x4c3306
mov ecx, 8
lea edi, [ecx + eax]
call fcn.004bd4b0
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 0x4c33cb
lea ebx, [ebx]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x114]
mov edi, dword [eax + ebp*4 - 4]
push ecx
call fcn.004af710
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x4c3429
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 0x4c339d
cmp eax, 0x40
mov ecx, 1
jl 0x4c338b
mov ecx, eax
shr ecx, 2
jmp 0x4c3395
cmp eax, 8
jl 0x4c3395
mov ecx, 8
lea edi, [ecx + eax]
call fcn.004bd4b0
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 0x4c3340
mov edx, eax
mov ecx, dword [edx + 0xf8]
cmp dword [ecx + 0x90], ebx
mov dword [esp + 0x1c], ebx
jle 0x4c3581
mov esi, dword [esp + 0x110]
add esi, 0x3c
jmp 0x4c33f0
mov edi, dword [edx + 0x74]
xor eax, eax
cmp edi, ebx
jle 0x4c3508
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 0x4c3504
inc eax
add ecx, 8
cmp eax, edi
jl 0x4c3410
mov eax, dword [esp + 0x40]
jmp 0x4c3516
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 [0x5213a4]
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ea5cf
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 [0x5213a4]
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004ea5cf
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.004b2450
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x100], bl
call fcn.004c4820
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x100], 0xffffffff
call fcn.004c45c0
mov eax, dword [esp + 0x18]
jmp 0x4c2cbd
cmp eax, ebx
jge 0x4c350e
mov eax, dword [esp + 0x40]
jmp 0x4c3516
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 0x4c3552
cmp ecx, 0x40
mov eax, 1
jl 0x4c3539
mov eax, ecx
shr eax, 2
jmp 0x4c3543
cmp ecx, 8
jl 0x4c3543
mov eax, 8
lea edi, [eax + ecx]
call fcn.004bd4b0
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 0x4c33f0
mov eax, dword [esp + 0x34]
lea ebp, [eax - 1]
cmp ebp, ebx
jl 0x4c3644
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.004ea5cf
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov edi, dword [edi + 0xc]
add esp, 4
cmp edi, ebx
jbe 0x4c3636
push edi
call fcn.004e8dab
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
add esp, 4
cmp eax, ebx
jbe 0x4c3608
cmp eax, edi
jb 0x4c35f6
mov eax, edi
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
call fcn.004ee8f0
add esp, 0xc
mov eax, dword [esi + 0x10]
push eax
call fcn.004ea5cf
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.004ee8f0
add esp, 0xc
add dword [esp + 0x18], 4
dec ebp
cmp ebp, ebx
jge 0x4c35a0
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 [0x5213a4]
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ea5cf
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 [0x5213a4]
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004ea5cf
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.004b2450
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x100], bl
call fcn.004c4820
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x100], 0xffffffff
call fcn.004c45c0
xor eax, eax
jmp 0x4c2cbd