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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509edc
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.0040e3a0
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp eax, 2
jne 0x41053c
cmp edx, ecx
jne 0x41053c
call fcn.0040e850
mov ebx, dword [edi + 0x18]
call fcn.0040e3a0
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 0x4105df
cmp edx, ecx
jne 0x4105df
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.0040fd30
mov ebx, eax
test ebx, ebx
je 0x4105bb
lea edx, [ebp - 0x6c]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.00411ce0
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.0040e3a0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x4105e2
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 0x410693
cmp dword [ebp - 0x14], eax
jne 0x410693
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.0040fa00
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.0040e3a0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x4107e4
mov dword [ebp + 0x10], eax
cmp dword [esi + 0x44], eax
jle 0x4107e4
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 0x4106d8
mov eax, 1
cmp ecx, 0x40
jl 0x4106c1
mov eax, ecx
shr eax, 2
jmp 0x4106cb
cmp ecx, 8
jl 0x4106cb
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.00407360
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x28], eax
jne 0x410732
mov ecx, 1
cmp eax, 0x40
jl 0x41071a
mov ecx, eax
shr ecx, 2
jmp 0x410724
cmp eax, 8
jl 0x410724
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 0x410785
cmp eax, 0x40
jl 0x41076d
mov ecx, eax
shr ecx, 2
jmp 0x410777
cmp eax, 8
jl 0x410777
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 0x4107c8
cmp eax, 0x40
jl 0x4107b0
mov ecx, eax
shr ecx, 2
jmp 0x4107ba
cmp eax, 8
jl 0x4107ba
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 0x4106a5
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 0x4108cb
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.004e4c40
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.004e4c40
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.004e4c40
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 0x411127
cmp ecx, 5
jne 0x4108d4
cmp eax, edi
je 0x4108d9
call fcn.0040e220
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x18]
call fcn.0040e3a0
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp edx, ebx
ja 0x4108f4
cmp eax, 0x7fffffff
jbe 0x4108f9
call fcn.0040e220
mov edi, dword [ebp - 0x18]
call fcn.00447020
cmp edi, ebx
jbe 0x410942
lea esi, [ebp - 0xd8]
call fcn.004061f0
mov dword [ebp - 0xcc], 1
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.00411b10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004e4c40
add esp, 4
dec edi
jne 0x410905
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x15c]
add esi, 0x158
mov dword [ebp - 0x1c], esi
cmp dword [esi + 8], eax
jne 0x41097c
mov ecx, 1
cmp eax, 0x40
jl 0x41096a
mov ecx, eax
shr ecx, 2
jmp 0x410974
cmp eax, 8
jl 0x410974
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 0x4109db
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x4109c7
cmp eax, 0x40
jl 0x4109b1
mov edi, eax
shr edi, 2
jmp 0x4109bb
cmp eax, 8
jl 0x4109bb
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 0x410a23
cmp dword [ebp - 0x3c], ebx
je 0x410a23
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x410a0f
cmp eax, 0x40
jl 0x4109f9
mov edi, eax
shr edi, 2
jmp 0x410a03
cmp eax, 8
jl 0x410a03
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.0040dcc0
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.0040e3a0
mov dword [ebp - 0x78], eax
or eax, edx
mov dword [ebp - 0x74], edx
je 0x410e9f
mov ebx, dword [esi + 0x18]
call fcn.0040e3a0
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.0x410aff.22
jb 0x410af0
cmp dword [ebp - 0x78], 0x40000000
ja case.0x410aff.22
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff2
cmp ecx, 0xb
ja case.0x410aff.22
jmp dword [ecx*4 + 0x411148]
mov byte [ebp - 0xec], bl
lea edx, [ebp - 0x6c]
push edx
push esi
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.0040e300
mov ebx, dword [ebp + 0xc]
xor edi, edi
cmp dword [ebx + 0x6c], edi
jle 0x410b49
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.0040e440
inc edi
cmp edi, dword [ebx + 0x6c]
jl 0x410b30
mov byte [ebp - 4], 8
cmp byte [ebp - 0xec], 0
je 0x410d0a
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 0x410b85
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 0x410d0a
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.0040fb60
mov byte [ebp - 0x7c], 0
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.0040e300
xor ecx, ecx
cmp dword [ebp - 0x18], ebx
jbe 0x410c2e
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 0x410c28
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 8]
lea ebx, [edx + 4]
cmp ebx, dword [eax + 4]
ja 0x4108d4
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 0x410bea
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x7c], 0
je 0x410c66
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 0x410c60
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.004e4c40
add esp, 4
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
jmp 0x410d0a
mov ecx, dword [ebp - 0x18]
push ecx
push esi
lea eax, [ebp - 0x9c]
call fcn.0040fab0
mov ecx, dword [ebp - 0x94]
mov edi, dword [ebp + 0x14]
xor eax, eax
cmp ecx, ebx
jbe 0x410cde
mov edx, dword [ebp - 0x90]
cmp byte [edx + eax], bl
je 0x410cd6
inc edi
inc eax
cmp eax, ecx
jb 0x410cd0
mov dword [ebp + 0x14], edi
mov eax, edi
lea ecx, [ebp - 0xc4]
call fcn.0040dcc0
mov eax, edi
lea ecx, [ebp - 0xb0]
call fcn.0040dcc0
jmp 0x410d0a
mov edx, dword [ebp + 0x14]
push edx
push esi
lea eax, [ebp - 0xc4]
call fcn.0040fab0
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
jne 0x410e11
mov eax, 1
cmp ecx, 0x40
jl 0x410dfa
mov eax, ecx
shr eax, 2
jmp 0x410e04
mov eax, dword [ebp + 0x14]
push eax
push esi
lea eax, [ebp - 0xb0]
jmp 0x410d05
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.0040fc00
jmp 0x410d0a
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.0040fc00
jmp 0x410d0a
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.0040fc00
jmp 0x410d0a
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.0040fc00
jmp 0x410d0a
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x84], ebx
jb 0x410e4e
ja 0x410dc0
cmp dword [ebp - 0x88], ebx
jbe 0x410e4e
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 4]
jae 0x4108d4
mov edx, dword [eax]
mov dl, byte [ecx + edx]
inc ecx
mov dword [eax + 8], ecx
test dl, dl
jne 0x4108d4
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp - 0x84]
jb 0x410dc0
ja 0x410e4e
cmp edi, dword [ebp - 0x88]
jb 0x410dc0
jmp 0x410e4e
cmp ecx, 8
jl 0x410e04
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 0x410e4e
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
xor ebx, ebx
sub ecx, edx
cmp dword [ebp - 0x84], ebx
ja 0x4108d4
jb 0x410e49
cmp edi, ecx
ja 0x4108d4
add edi, edx
mov dword [eax + 8], edi
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x130], 0
ja 0x410e63
cmp byte [eax + 0x131], 2
jbe 0x410e89
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xf4]
xor ecx, ecx
cmp eax, dword [ebp - 0x88]
jne 0x4108d4
cmp ecx, dword [ebp - 0x84]
jne 0x4108d4
mov ebx, dword [esi + 0x18]
call fcn.0040e3a0
mov dword [ebp - 0x78], eax
or eax, edx
mov dword [ebp - 0x74], edx
jne 0x410ab4
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 0x410ec5
mov edx, dword [ebp - 0xa4]
cmp byte [edx + eax], bl
je 0x410ec0
inc dword [ebp + 0x10]
inc eax
cmp eax, ecx
jb 0x410eb8
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebp - 0x18], ebx
jbe 0x410fac
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 0x410f1c
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 0x410f4d
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 0x410f9f
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x11c]
add esi, 0x118
cmp dword [esi + 8], eax
jne 0x410f8d
mov ecx, 1
cmp eax, 0x40
jl 0x410f78
mov ecx, eax
shr ecx, 2
jmp 0x410f82
cmp eax, 8
jl 0x410f82
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 0x410ed3
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.004e4c40
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.004e4c40
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.004e4c40
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.004e4c40
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.004e4c40
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.004e4c40
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.004e4c40
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