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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484007
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4b1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xe8], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xd0], eax
call fcn.0040ac80
mov ecx, eax
mov eax, edx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], eax
cmp ecx, 2
jne 0x40d02c
test eax, eax
jne 0x40d02c
mov ecx, dword [esi + 0x18]
call fcn.0040ac80
or eax, edx
je 0x40d014
nop dword [eax]
mov ecx, dword [esi + 0x18]
call fcn.0040ac40
mov ecx, dword [esi + 0x18]
call fcn.0040ac80
or eax, edx
jne 0x40d000
mov ecx, dword [esi + 0x18]
call fcn.0040ac80
mov ecx, eax
mov dword [ebp - 0xe4], eax
mov eax, edx
mov dword [ebp - 0xe0], edx
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x60], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
mov dword [ebp - 4], 0
cmp ecx, 3
jne 0x40d0e4
test eax, eax
jne 0x40d0e4
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x60]
push dword [ebp - 0xf0]
lea eax, [edi + 0x150]
push ecx
push eax
push dword [edi + 0x144]
mov ecx, esi
push dword [edi + 0x140]
call fcn.0040c670
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x40d0b4
lea ecx, [ebp - 0x60]
call fcn.0040e9b0
mov eax, dword [ebp - 0xd0]
jmp 0x40dea8
mov eax, dword [edi + 0x140]
add dword [edi + 0x150], eax
mov eax, dword [edi + 0x144]
adc dword [edi + 0x154], eax
mov ecx, dword [esi + 0x18]
call fcn.0040ac80
mov ecx, eax
mov eax, edx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x4c], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x38], vtable.CRecordVector_bool_.0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x24], vtable.CRecordVector_unsigned_int_.0
mov byte [ebp - 4], 3
mov edx, 8
mov dword [ebp - 0xf0], edx
cmp ecx, 4
jne 0x40d1ec
test eax, eax
jne 0x40d1ec
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [edi + 0x50]
push eax
lea eax, [edi + 0x3c]
push eax
lea eax, [edi + 0x28]
push eax
lea eax, [edi + 0x14]
push eax
push edi
lea esi, [edi + 0x148]
push esi
lea eax, [ebp - 0x60]
push eax
call fcn.0040c300
mov eax, dword [edi + 0x140]
add dword [esi], eax
mov eax, dword [edi + 0x144]
adc dword [esi + 4], eax
mov esi, dword [ebp - 0xe8]
mov ecx, dword [esi + 0x18]
call fcn.0040ac80
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
jmp 0x40d373
cmp dword [edi + 0x44], 0
mov dword [ebp - 0xd8], 0
jle 0x40d373
jmp 0x40d207
mov edx, 8
mov ecx, dword [edi + 0x54]
cmp dword [edi + 0x58], ecx
jne 0x40d231
mov eax, 1
cmp ecx, 0x40
jl 0x40d220
mov eax, ecx
shr eax, 2
jmp 0x40d226
cmp ecx, 8
cmovge eax, edx
add eax, ecx
lea ecx, [edi + 0x50]
push eax
call fcn.0041bbd0
mov ecx, dword [edi + 0x58]
mov eax, dword [edi + 0x5c]
mov dword [eax + ecx*4], 1
inc dword [edi + 0x58]
mov eax, dword [edi + 0x48]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [eax + ecx*4]
mov ecx, eax
mov dword [ebp - 0xd0], eax
call fcn.00405e50
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xdc], edx
cmp ecx, eax
jne 0x40d29a
mov ecx, 1
cmp eax, 0x40
jl 0x40d281
mov ecx, eax
shr ecx, 2
jmp 0x40d28c
cmp eax, 8
mov edx, 8
cmovge ecx, edx
add eax, ecx
lea ecx, [ebp - 0x4c]
push eax
call fcn.0041bbd0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0xec]
mov dword [eax + ecx*8], edx
mov edx, dword [ebp - 0xdc]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [ebp - 0xd0]
inc dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov al, byte [eax + 0x54]
mov byte [ebp - 0xd1], al
cmp edx, ecx
jne 0x40d2f6
mov eax, 1
cmp ecx, 0x40
jl 0x40d2dd
mov eax, ecx
shr eax, 2
jmp 0x40d2e8
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
lea ecx, [ebp - 0x38]
push eax
call fcn.0041bbd0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov cl, byte [ebp - 0xd1]
mov byte [eax + edx], cl
mov eax, dword [ebp - 0xd0]
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xd0], eax
cmp edx, ecx
jne 0x40d348
mov eax, 1
cmp ecx, 0x40
jl 0x40d32f
mov eax, ecx
shr eax, 2
jmp 0x40d33a
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
lea ecx, [ebp - 0x24]
push eax
call fcn.0041bbd0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xd0]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp - 0xd8]
inc dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xd8], eax
cmp eax, dword [edi + 0x44]
jl 0x40d202
mov esi, dword [ebp - 0xe8]
push dword [edi + 0x6c]
mov eax, dword [edi + 0x64]
lea ecx, [edi + 0x64]
push 0
mov dword [ebp - 0xd0], ecx
call dword [eax + 4]
mov edx, dword [ebp - 0xe4]
mov eax, edx
mov ecx, dword [ebp - 0xe0]
or eax, ecx
jne 0x40d468
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push eax
call fcn.0041bc90
push dword [ebp - 0x18]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
push dword [ebp - 0x30]
mov dword [ebp - 0x38], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0x2c]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0x40]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x60]
push dword [ebp - 0x58]
mov dword [ebp - 0x60], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
push 0
call fcn.0040e840
mov byte [ebp - 4], 8
jmp 0x40de87
cmp edx, 5
jne 0x40db56
test ecx, ecx
jne 0x40db56
mov ecx, dword [esi + 0x18]
call fcn.0040ad50
push eax
lea ecx, [edi + 0x64]
mov dword [ebp - 0xdc], eax
call fcn.0041bbd0
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x40d50c
mov edi, dword [ebp - 0xd0]
mov esi, eax
push 3
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
call fcn.004039c0
mov dword [ebp - 0xb0], 1
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.0040eae0
mov byte [ebp - 4], 3
push dword [ebp - 0xbc]
call fcn.0045dac0
add esp, 4
sub esi, 1
jne 0x40d4a2
mov edi, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xe8]
mov ecx, dword [edi + 0x15c]
lea edx, [edi + 0x158]
cmp dword [edx + 8], ecx
jne 0x40d548
mov eax, 1
cmp ecx, 0x40
jl 0x40d52e
mov eax, ecx
shr eax, 2
jmp 0x40d538
cmp ecx, 8
cmovge eax, dword [ebp - 0xf0]
add eax, ecx
mov ecx, edx
push eax
call fcn.0041bbd0
lea edx, [edi + 0x158]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ecx + eax*8], 9
mov dword [ecx + eax*8 + 4], 0
inc dword [edx + 8]
cmp dword [edi + 8], 0
je 0x40d5b1
mov ecx, dword [edx + 4]
cmp dword [edx + 8], ecx
jne 0x40d599
mov eax, 1
cmp ecx, 0x40
jl 0x40d57f
mov eax, ecx
shr eax, 2
jmp 0x40d589
cmp ecx, 8
cmovge eax, dword [ebp - 0xf0]
add eax, ecx
mov ecx, edx
push eax
call fcn.0041bbd0
lea edx, [edi + 0x158]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ecx + eax*8], 6
mov dword [ecx + eax*8 + 4], 0
inc dword [edx + 8]
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x40d612
cmp dword [ebp - 0x1c], 0
je 0x40d612
mov ecx, dword [edx + 4]
cmp dword [edx + 8], ecx
jne 0x40d5f4
mov eax, 1
cmp ecx, 0x40
jl 0x40d5da
mov eax, ecx
shr eax, 2
jmp 0x40d5e4
cmp ecx, 8
cmovge eax, dword [ebp - 0xf0]
add eax, ecx
mov ecx, edx
push eax
call fcn.0041bbd0
lea edx, [edi + 0x158]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [ecx + eax*8], 0xa
mov dword [ecx + eax*8 + 4], 0
inc dword [edx + 8]
mov eax, dword [ebp - 0xdc]
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x84], vtable.CRecordVector_bool_.0
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x84]
call fcn.0040a580
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0xac], vtable.CRecordVector_bool_.0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x98], vtable.CRecordVector_bool_.0
mov byte [ebp - 4], 0xc
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0xe0], 0
call fcn.0040ac80
mov ecx, eax
mov dword [ebp - 0xd8], eax
or ecx, edx
mov dword [ebp - 0xd0], edx
je 0x40db7f
nop
mov ecx, dword [esi + 0x18]
call fcn.0040ac80
cmp dword [ebp - 0xd0], 0
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], edx
mov eax, dword [ecx + 8]
mov dword [ebp - 0xf8], eax
ja case.0x40d75c.22
mov eax, dword [ebp - 0xd8]
jb 0x40d750
cmp eax, 0x40000000
ja case.0x40d75c.22
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x40d75c.22
jmp dword [eax*4 + 0x40dec8]
xorps xmm0, xmm0
movq qword [ebp - 0x70], xmm0
mov byte [ebp - 0x6c], 0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xd
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.0040abb0
xor esi, esi
cmp dword [edi + 0x6c], esi
jle 0x40d7a5
mov eax, dword [edi + 0x70]
mov eax, dword [eax + esi*4]
add eax, 0x10
push eax
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 0x18]
call fcn.0040ad80
inc esi
cmp esi, dword [edi + 0x6c]
jl 0x40d787
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x6c], 0
je 0x40d7db
mov esi, dword [ebp - 0x70]
push 1
mov eax, dword [esi + 0xc]
lea ecx, [esi + 4]
mov edx, dword [esi + 4]
dec eax
push eax
call dword [edx + 4]
mov edx, esi
cmp dword [edx + 0xc], 0
je 0x40d7d7
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x18], eax
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 0xc
jmp 0x40d9fd
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xc0], vtable.CRecordVector_bool_.0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xf
push eax
push dword [edi + 0x6c]
mov ecx, esi
call fcn.0040c460
xorps xmm0, xmm0
movq qword [ebp - 0x68], xmm0
mov byte [ebp - 0x64], 0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x10
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040abb0
xor ecx, ecx
cmp dword [ebp - 0xdc], ecx
jbe 0x40d8c7
nop word [eax + eax]
mov eax, dword [edi + 0x70]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x6c], edx
mov al, byte [eax + ecx]
mov byte [edx + 0x1f], al
test al, al
je 0x40d8be
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 8]
add eax, 4
mov dword [ebp - 0xfc], eax
cmp eax, dword [edx + 4]
ja 0x40dc3e
mov esi, dword [edx + 8]
mov eax, dword [edx]
mov eax, dword [esi + eax]
mov esi, dword [ebp - 0xfc]
mov dword [edx + 8], esi
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0xe8]
mov dword [edx + 8], eax
inc ecx
cmp ecx, dword [ebp - 0xdc]
jb 0x40d870
mov byte [ebp - 4], 0x11
cmp byte [ebp - 0x64], 0
je 0x40d8fd
mov esi, dword [ebp - 0x68]
push 1
mov eax, dword [esi + 0xc]
lea ecx, [esi + 4]
mov edx, dword [esi + 4]
dec eax
push eax
call dword [edx + 4]
mov edx, esi
cmp dword [edx + 0xc], 0
je 0x40d8f9
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x18], eax
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc0]
push dword [ebp - 0xb8]
mov dword [ebp - 0xc0], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0xb4]
call fcn.0045dac0
add esp, 4
mov byte [ebp - 4], 0xc
jmp 0x40d9fd
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push dword [ebp - 0xdc]
call fcn.0040c3b0
mov esi, dword [ebp - 0x7c]
xor edx, edx
test esi, esi
je 0x40d97e
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xe0]
lea eax, [edi + edx]
inc ecx
inc edx
cmp byte [eax], 0
cmove ecx, dword [ebp - 0xe0]
mov eax, ecx
mov dword [ebp - 0xe0], eax
cmp edx, esi
jb 0x40d955
mov edi, dword [ebp - 0xf4]
jmp 0x40d984
mov eax, dword [ebp - 0xe0]
mov edx, eax
lea ecx, [ebp - 0xac]
call fcn.0040a580
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x98]
call fcn.0040a580
jmp 0x40d9fd
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
push dword [ebp - 0xe0]
call fcn.0040c3b0
jmp 0x40d9fd
lea eax, [ebp - 0x98]
mov ecx, esi
push eax
push dword [ebp - 0xe0]
call fcn.0040c3b0
jmp 0x40d9fd
lea eax, [edi + 0xf0]
jmp 0x40d9eb
lea eax, [edi + 0x78]
jmp 0x40d9eb
lea eax, [edi + 0xa0]
jmp 0x40d9eb
lea eax, [edi + 0xc8]
push dword [ebp - 0xdc]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040c510
mov ecx, dword [edi + 0x15c]
lea esi, [edi + 0x158]
cmp dword [esi + 8], ecx
jne 0x40da34
mov eax, 1
cmp ecx, 0x40
jl 0x40da1f
mov eax, ecx
shr eax, 2
jmp 0x40da2a
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, esi
push eax
call fcn.0041bbd0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0xd8]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp - 0xd0]
mov dword [ecx + eax*8 + 4], edx
inc dword [esi + 8]
jmp 0x40db10
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
test edx, edx
jb 0x40db16
ja 0x40da75
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x40db1c
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd0], eax
mov edx, dword [esi + 0x18]
mov esi, dword [edx + 8]
cmp esi, dword [edx + 4]
jae 0x40dc3e
mov eax, dword [edx]
mov cl, byte [esi + eax]
lea eax, [esi + 1]
mov dword [edx + 8], eax
test cl, cl
jne 0x40db56
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xd8]
add eax, 1
mov edx, dword [ebp - 0xec]
mov esi, dword [ebp - 0xe8]
adc ecx, 0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd8], ecx
cmp ecx, edx
jb 0x40da87
mov ecx, dword [ebp - 0xe4]
ja 0x40db1c
cmp eax, ecx
jb 0x40da87
jmp 0x40db1c
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
sub eax, edx
cmp dword [ebp - 0xec], 0
ja 0x40dc3e
mov esi, dword [ebp - 0xe4]
jb 0x40db0a
cmp esi, eax
ja 0x40dc3e
lea eax, [esi + edx]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xe4]
cmp byte [edi + 0x130], 0
ja 0x40db2e
cmp byte [edi + 0x131], 2
jbe 0x40db5b
mov esi, dword [ebp - 0xe8]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf8], 0
cmp eax, ecx
jne 0x40db56
cmp dword [ebp - 0xf8], edx
je 0x40db61
call fcn.0040aa50
mov esi, dword [ebp - 0xe8]
mov ecx, dword [esi + 0x18]
call fcn.0040ac80
mov ecx, edx
mov dword [ebp - 0xd8], eax
or eax, ecx
mov dword [ebp - 0xd0], ecx
jne 0x40d710
xor ecx, ecx
xor esi, esi
xor edx, edx
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd0], esi
cmp dword [ebp - 0xe0], ecx
jbe 0x40dbcb
mov edi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x8c]
lea ecx, [esi + 1]
add eax, edx
inc edx
cmp byte [eax], 0
cmove ecx, esi
mov esi, ecx
cmp edx, edi
jb 0x40dba5
mov edi, dword [ebp - 0xf4]
xor ecx, ecx
mov dword [ebp - 0xd0], esi
xor esi, esi
cmp dword [ebp - 0xdc], esi
jbe 0x40dce8
nop dword [eax]
mov eax, dword [edi + 0x70]
mov edx, dword [eax + esi*4]
mov eax, dword [ebp - 0x78]
cmp byte [eax + esi], 0
sete al
mov byte [edx + 0x1c], al
test al, al
je 0x40dc43
mov eax, dword [ebp - 0xd8]
mov byte [edx + 0x1d], 0
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0xd1], 0
mov eax, dword [ecx + eax*8]
mov dword [edx], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, dword [ebp - 0xd8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ecx*4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + ecx]
inc ecx
mov byte [edx + 0x1e], al
mov dword [ebp - 0xd8], ecx
jmp 0x40dc7a
call fcn.0040aa50
mov eax, dword [ebp - 0xa0]
cmp byte [eax + ecx], 0
sete al
mov byte [edx + 0x1d], al
mov eax, dword [ebp - 0x8c]
mov al, byte [eax + ecx]
inc ecx
mov byte [ebp - 0xd1], al
mov dword [ebp - 0xec], ecx
mov dword [edx], 0
mov dword [edx + 4], 0
mov byte [edx + 0x1e], 0
cmp dword [ebp - 0xd0], 0
je 0x40dcd5
mov ecx, dword [edi + 0x11c]
cmp dword [edi + 0x120], ecx
jne 0x40dcba
mov eax, 1
cmp ecx, 0x40
jl 0x40dca2
mov eax, ecx
shr eax, 2
jmp 0x40dcac
cmp ecx, 8
cmovge eax, dword [ebp - 0xf0]
add eax, ecx
lea ecx, [edi + 0x118]
push eax
call fcn.0041bbd0
mov eax, dword [edi + 0x120]
mov ecx, dword [edi + 0x124]
mov dl, byte [ebp - 0xd1]
mov byte [ecx + eax], dl
inc dword [edi + 0x120]
mov ecx, dword [ebp - 0xec]
inc esi
cmp esi, dword [ebp - 0xdc]
jb 0x40dbe0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x98]
push dword [ebp - 0x90]
mov dword [ebp - 0x98], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0x8c]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xac]
push dword [ebp - 0xa4]
mov dword [ebp - 0xac], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0xa0]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x84]
push dword [ebp - 0x7c]
mov dword [ebp - 0x84], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0x78]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0x18]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x38]
push dword [ebp - 0x30]
mov dword [ebp - 0x38], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0x2c]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0x40]
call fcn.0045dac0
add esp, 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x60], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
push dword [ebp - 0x58]
lea ecx, [ebp - 0x60]
push 0
call fcn.0040e840
mov byte [ebp - 4], 0x1a
push dword [ebp - 0x58]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.CBaseRecordVector.0
push 0
call fcn.0041bc90
push dword [ebp - 0x54]
call fcn.0045dac0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045daaf
mov esp, ebp
pop ebp
ret 0xc