Function at 0x4105c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509b7c
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.0040e480
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp eax, 2
jne 0x41061c
cmp edx, ecx
jne 0x41061c
call fcn.0040e930
mov ebx, dword [edi + 0x18]
call fcn.0040e480
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x6c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
mov dword [ebp - 4], ecx
cmp eax, 3
jne 0x4106bf
cmp edx, ecx
jne 0x4106bf
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x144]
push ecx
mov ecx, dword [esi + 0x140]
lea edx, [ebp - 0x6c]
push edx
lea edi, [esi + 0x150]
push edi
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040fe10
mov ebx, eax
test ebx, ebx
je 0x41069b
lea edx, [ebp - 0x6c]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.00411dc0
mov eax, ebx
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
mov eax, dword [esi + 0x140]
add dword [edi], eax
mov ecx, dword [esi + 0x144]
mov edx, dword [ebp + 8]
adc dword [edi + 4], ecx
mov ebx, dword [edx + 0x18]
call fcn.0040e480
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x4106c2
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x30], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x58], vtable.CRecordVector_bool_.0
mov ecx, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], vtable.CRecordVector_unsigned_int_.0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], ecx
jne 0x410773
cmp dword [ebp - 0x14], eax
jne 0x410773
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x30]
push ecx
lea eax, [esi + 0x50]
push eax
lea edx, [esi + 0x28]
push edx
lea eax, [esi + 0x14]
push eax
push esi
lea ebx, [esi + 0x148]
push ebx
lea ecx, [ebp - 0x6c]
lea edi, [esi + 0x3c]
mov esi, dword [ebp + 8]
push ecx
call fcn.0040fae0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x140]
add dword [ebx], edx
mov eax, dword [eax + 0x144]
mov ecx, esi
adc dword [ebx + 4], eax
mov ebx, dword [ecx + 0x18]
call fcn.0040e480
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x4108c4
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x44], eax
jle 0x4108c4
lea edx, [esi + 0x50]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 4]
cmp dword [edx + 8], ecx
jne 0x4107b8
mov eax, 1
cmp ecx, 0x40
jl 0x4107a1
mov eax, ecx
shr eax, 2
jmp 0x4107ab
cmp ecx, 8
jl 0x4107ab
mov eax, 8
lea edi, [ecx + eax]
mov esi, edx
call fcn.00447020
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [edx + ecx*4], 1
inc dword [eax + 8]
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [eax + ecx*4]
mov edi, ebx
call fcn.00407390
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x28], eax
jne 0x410812
mov ecx, 1
cmp eax, 0x40
jl 0x4107fa
mov ecx, eax
shr ecx, 2
jmp 0x410804
cmp eax, 8
jl 0x410804
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x30]
call fcn.00447020
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x80]
mov dword [edx + ecx*8], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [ebp - 0x54]
mov ecx, 1
add dword [ebp - 0x28], ecx
mov dl, byte [ebx + 0x54]
mov byte [ebp + 0x14], dl
cmp dword [ebp - 0x50], eax
jne 0x410865
cmp eax, 0x40
jl 0x41084d
mov ecx, eax
shr ecx, 2
jmp 0x410857
cmp eax, 8
jl 0x410857
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x58]
call fcn.00447020
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x4c]
mov cl, byte [ebp + 0x14]
mov edx, dword [ebp - 0x50]
mov byte [eax + edx], cl
mov eax, dword [ebp - 0x40]
mov ecx, 1
add dword [ebp - 0x50], ecx
mov ebx, dword [ebx + 0x50]
cmp dword [ebp - 0x3c], eax
jne 0x4108a8
cmp eax, 0x40
jl 0x410890
mov ecx, eax
shr ecx, 2
jmp 0x41089a
cmp eax, 8
jl 0x41089a
mov ecx, 8
lea edi, [eax + ecx]
lea esi, [ebp - 0x44]
call fcn.00447020
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + ecx*4], ebx
mov eax, dword [ebp + 0x10]
inc dword [ebp - 0x3c]
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [esi + 0x44]
jl 0x410785
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x64]
mov edx, dword [edx + 4]
add esi, 0x64
push eax
xor edi, edi
push edi
mov ecx, esi
mov dword [ebp + 0x14], esi
call edx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov edx, ecx
or edx, eax
jne 0x4109ab
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
push eax
mov esi, vtable.CBaseRecordVector.0
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
call dword [0x519870]
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004e48a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
add esp, 4
push edx
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x58], esi
call dword [0x519870]
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004e48a0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add esp, 4
push ecx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x30], esi
call dword [0x519870]
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e48a0
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x6c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x64]
push eax
push edi
lea ecx, [ebp - 0x6c]
call dword [0x519c60]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
push ecx
push edi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], esi
call dword [0x519870]
mov edx, dword [ebp - 0x60]
push edx
jmp 0x411207
cmp ecx, 5
jne 0x4109b4
cmp eax, edi
je 0x4109b9
call fcn.0040e300
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x18]
call fcn.0040e480
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp edx, ebx
ja 0x4109d4
cmp eax, 0x7fffffff
jbe 0x4109d9
call fcn.0040e300
mov edi, dword [ebp - 0x18]
call fcn.00447020
cmp edi, ebx
jbe 0x410a22
lea esi, [ebp - 0xd8]
call fcn.00406220
mov dword [ebp - 0xcc], 1
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.00411bf0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004e48a0
add esp, 4
dec edi
jne 0x4109e5
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x15c]
add esi, 0x158
mov dword [ebp - 0x1c], esi
cmp dword [esi + 8], eax
jne 0x410a5c
mov ecx, 1
cmp eax, 0x40
jl 0x410a4a
mov ecx, eax
shr ecx, 2
jmp 0x410a54
cmp eax, 8
jl 0x410a54
mov ecx, 8
lea edi, [eax + ecx]
call fcn.00447020
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*8], 9
mov edi, 1
mov dword [eax + ecx*8 + 4], ebx
add dword [esi + 8], edi
cmp dword [edx + 8], ebx
je 0x410abb
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x410aa7
cmp eax, 0x40
jl 0x410a91
mov edi, eax
shr edi, 2
jmp 0x410a9b
cmp eax, 8
jl 0x410a9b
mov edi, 8
add edi, eax
call fcn.00447020
mov edi, 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [eax + ecx*8], 6
mov dword [eax + ecx*8 + 4], ebx
add dword [esi + 8], edi
cmp dword [ebp - 0x18], ebx
jbe 0x410b03
cmp dword [ebp - 0x3c], ebx
je 0x410b03
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x410aef
cmp eax, 0x40
jl 0x410ad9
mov edi, eax
shr edi, 2
jmp 0x410ae3
cmp eax, 8
jl 0x410ae3
mov edi, 8
add edi, eax
call fcn.00447020
mov edi, 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [eax + ecx*8], 0xa
mov dword [eax + ecx*8 + 4], ebx
add dword [esi + 8], edi
mov esi, vtable.CRecordVector_bool_.0
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x9c], esi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.0040dda0
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb0], esi
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 8
mov dword [ebp + 0x14], ebx
mov ebx, dword [esi + 0x18]
call fcn.0040e480
mov dword [ebp - 0x78], eax
or eax, edx
mov dword [ebp - 0x74], edx
je 0x410f7f
mov ebx, dword [esi + 0x18]
call fcn.0040e480
mov edi, eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], edx
mov dword [ebp - 0xf4], ecx
cmp dword [ebp - 0x74], ebx
ja case.0x410bdf.22
jb 0x410bd0
cmp dword [ebp - 0x78], 0x40000000
ja case.0x410bdf.22
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff2
cmp ecx, 0xb
ja case.0x410bdf.22
jmp dword [ecx*4 + 0x411228]
mov byte [ebp - 0xec], bl
lea edx, [ebp - 0x6c]
push edx
push esi
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.0040e3e0
mov ebx, dword [ebp + 0xc]
xor edi, edi
cmp dword [ebx + 0x6c], edi
jle 0x410c29
lea ebx, [ebx]
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + edi*4]
mov ecx, dword [esi + 0x18]
add eax, 0x10
push eax
push ecx
call fcn.0040e520
inc edi
cmp edi, dword [ebx + 0x6c]
jl 0x410c10
mov byte [ebp - 4], 8
cmp byte [ebp - 0xec], 0
je 0x410dea
mov ebx, dword [ebp - 0xf0]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov edx, dword [edx + 4]
push 1
dec eax
push eax
lea ecx, [ebx + 4]
call edx
cmp dword [ebx + 0xc], 0
je 0x410c65
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebx + 0x18], eax
mov byte [ebp - 0xec], 0
jmp 0x410dea
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xdc], vtable.CRecordVector_bool_.0
mov edx, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
mov ecx, dword [edx + 0x6c]
lea eax, [ebp - 0xdc]
mov edx, esi
call fcn.0040fc40
mov byte [ebp - 0x7c], 0
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.0040e3e0
xor ecx, ecx
cmp dword [ebp - 0x18], ebx
jbe 0x410d0e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x70]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xd0]
mov al, byte [eax + ecx]
mov dword [ebp + 0x10], edx
mov byte [edx + 0x1f], al
test al, al
je 0x410d08
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 8]
lea ebx, [edx + 4]
cmp ebx, dword [eax + 4]
ja 0x4109b4
mov edi, dword [eax]
mov edx, dword [edx + edi]
mov dword [eax + 8], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], edx
xor ebx, ebx
inc ecx
cmp ecx, dword [ebp - 0x18]
jb 0x410cca
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x7c], 0
je 0x410d46
mov edi, dword [ebp - 0x80]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov edx, dword [edx + 4]
push 1
dec eax
push eax
lea ecx, [edi + 4]
call edx
cmp dword [edi + 0xc], 0
je 0x410d40
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + eax*4 - 4]
mov dword [edi + 0x18], eax
mov byte [ebp - 0x7c], 0
xor ebx, ebx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xd4]
push edx
push ebx
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], vtable.CBaseRecordVector.0
call dword [0x519870]
mov eax, dword [ebp - 0xd0]
push eax
call fcn.004e48a0
add esp, 4
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
jmp 0x410dea
mov ecx, dword [ebp - 0x18]
push ecx
push esi
lea eax, [ebp - 0x9c]
call fcn.0040fb90
mov ecx, dword [ebp - 0x94]
mov edi, dword [ebp + 0x14]
xor eax, eax
cmp ecx, ebx
jbe 0x410dbe
mov edx, dword [ebp - 0x90]
cmp byte [edx + eax], bl
je 0x410db6
inc edi
inc eax
cmp eax, ecx
jb 0x410db0
mov dword [ebp + 0x14], edi
mov eax, edi
lea ecx, [ebp - 0xc4]
call fcn.0040dda0
mov eax, edi
lea ecx, [ebp - 0xb0]
call fcn.0040dda0
jmp 0x410dea
mov edx, dword [ebp + 0x14]
push edx
push esi
lea eax, [ebp - 0xc4]
call fcn.0040fb90
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
jne 0x410ef1
mov eax, 1
cmp ecx, 0x40
jl 0x410eda
mov eax, ecx
shr eax, 2
jmp 0x410ee4
mov eax, dword [ebp + 0x14]
push eax
push esi
lea eax, [ebp - 0xb0]
jmp 0x410de5
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x6c]
push edx
add ecx, 0xf0
push esi
call fcn.0040fce0
jmp 0x410dea
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push eax
lea edx, [ebp - 0x6c]
push edx
add ecx, 0x78
push esi
call fcn.0040fce0
jmp 0x410dea
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push eax
lea edx, [ebp - 0x6c]
push edx
add ecx, 0xa0
push esi
call fcn.0040fce0
jmp 0x410dea
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push eax
lea edx, [ebp - 0x6c]
push edx
add ecx, 0xc8
push esi
call fcn.0040fce0
jmp 0x410dea
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x84], ebx
jb 0x410f2e
ja 0x410ea0
cmp dword [ebp - 0x88], ebx
jbe 0x410f2e
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 4]
jae 0x4109b4
mov edx, dword [eax]
mov dl, byte [ecx + edx]
inc ecx
mov dword [eax + 8], ecx
test dl, dl
jne 0x4109b4
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp - 0x84]
jb 0x410ea0
ja 0x410f2e
cmp edi, dword [ebp - 0x88]
jb 0x410ea0
jmp 0x410f2e
cmp ecx, 8
jl 0x410ee4
mov eax, 8
lea edi, [eax + ecx]
mov esi, ebx
call fcn.00447020
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x78]
mov dword [eax + ecx*8], edx
mov edx, dword [ebp - 0x74]
mov dword [eax + ecx*8 + 4], edx
inc dword [ebx + 8]
jmp 0x410f2e
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
xor ebx, ebx
sub ecx, edx
cmp dword [ebp - 0x84], ebx
ja 0x4109b4
jb 0x410f29
cmp edi, ecx
ja 0x4109b4
add edi, edx
mov dword [eax + 8], edi
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x130], 0
ja 0x410f43
cmp byte [eax + 0x131], 2
jbe 0x410f69
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xf4]
xor ecx, ecx
cmp eax, dword [ebp - 0x88]
jne 0x4109b4
cmp ecx, dword [ebp - 0x84]
jne 0x4109b4
mov ebx, dword [esi + 0x18]
call fcn.0040e480
mov dword [ebp - 0x78], eax
or eax, edx
mov dword [ebp - 0x74], edx
jne 0x410b94
mov ecx, dword [ebp + 0x14]
xor eax, eax
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp + 0x10], eax
cmp ecx, eax
jbe 0x410fa5
mov edx, dword [ebp - 0xa4]
cmp byte [edx + eax], bl
je 0x410fa0
inc dword [ebp + 0x10]
inc eax
cmp eax, ecx
jb 0x410f98
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebp - 0x18], ebx
jbe 0x41108c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x70]
mov ecx, dword [ebp - 0x90]
cmp byte [ecx + edi], 0
mov eax, dword [edx + edi*4]
sete cl
mov byte [eax + 0x1c], cl
test cl, cl
je 0x410ffc
mov byte [eax + 0x1d], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + ebx*8]
mov dword [eax], edx
mov ecx, dword [ecx + ebx*8 + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + ebx*4]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x4c]
mov cl, byte [edx + ebx]
mov byte [ebp + 0xb], 0
mov byte [eax + 0x1e], cl
inc ebx
jmp 0x41102d
mov edx, dword [ebp - 0xb8]
cmp byte [edx + esi], 0
sete cl
mov byte [eax + 0x1d], cl
mov edx, dword [ebp - 0xa4]
mov cl, byte [edx + esi]
inc esi
mov byte [ebp + 0xb], cl
mov dword [ebp - 0x1c], esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [eax + 0x1e], 0
cmp dword [ebp + 0x10], 0
je 0x41107f
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x11c]
add esi, 0x118
cmp dword [esi + 8], eax
jne 0x41106d
mov ecx, 1
cmp eax, 0x40
jl 0x411058
mov ecx, eax
shr ecx, 2
jmp 0x411062
cmp eax, 8
jl 0x411062
mov ecx, 8
lea edi, [ecx + eax]
call fcn.00447020
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov cl, byte [ebp + 0xb]
mov byte [edx + eax], cl
inc dword [esi + 8]
mov esi, dword [ebp - 0x1c]
inc edi
mov dword [ebp + 0x14], edi
cmp edi, dword [ebp - 0x18]
jb 0x410fb3
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xa8]
push edx
mov edi, vtable.CBaseRecordVector.0
push 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], edi
call dword [0x519870]
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004e48a0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xbc]
add esp, 4
xor esi, esi
push ecx
push esi
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xc4], edi
call dword [0x519870]
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004e48a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x94]
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0x9c], edi
call dword [0x519870]
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004e48a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
add esp, 4
push edx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x44], edi
call dword [0x519870]
mov eax, dword [ebp - 0x38]
push eax
call fcn.004e48a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
add esp, 4
push ecx
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x58], edi
call dword [0x519870]
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004e48a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], edi
call dword [0x519870]
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004e48a0
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x6c], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x64]
push edx
push esi
lea ecx, [ebp - 0x6c]
call dword [0x519c60]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
push eax
push esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], edi
call dword [0x519870]
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004e48a0
add esp, 4
xor eax, eax
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