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

Disassembly:
push 0xe4
mov eax, 0x1006df29
call fcn.1005218d
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x18]
call fcn.1003bd69
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp eax, 2
jne 0x1003cfa4
cmp edx, ebx
jne 0x1003cfa4
jmp 0x1003cf8a
call fcn.1003bd69
push edx
push eax
mov ecx, edi
call fcn.1003bd3a
mov edi, dword [esi + 0x18]
call fcn.1003bd69
or eax, edx
mov edi, dword [esi + 0x18]
jne 0x1003cf7c
call fcn.1003bd69
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 4
pop ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], vtable.CObjectVector_class_CBuffer_unsigned_char__.0
cmp dword [ebp - 0x18], 3
mov dword [ebp - 4], ebx
jne 0x1003d02c
cmp dword [ebp - 0x14], ebx
jne 0x1003d02c
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
lea edi, [ebx + 0x150]
push edi
push dword [ebx + 0x144]
push dword [ebx + 0x140]
push esi
call fcn.1003caeb
test eax, eax
je 0x1003d008
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.1003dec1
mov eax, esi
jmp 0x1003d637
mov eax, dword [ebx + 0x140]
add dword [edi], eax
mov eax, dword [ebx + 0x144]
adc dword [edi + 4], eax
mov edi, dword [esi + 0x18]
call fcn.1003bd69
push 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
pop ecx
jmp 0x1003d02f
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 8
mov dword [ebp - 0xa8], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x94], vtable.CRecordVector_bool_.0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x6c], vtable.CRecordVector_unsigned_int_.0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], ecx
jne 0x1003d0f5
cmp dword [ebp - 0x14], eax
jne 0x1003d0f5
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebx + 0x50]
push eax
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebx + 0x28]
push eax
lea eax, [ebx + 0x14]
push eax
push ebx
lea edi, [ebx + 0x148]
push edi
lea eax, [ebp - 0x44]
push eax
call fcn.1003c938
mov eax, dword [ebx + 0x140]
add dword [edi], eax
mov eax, dword [ebx + 0x144]
adc dword [edi + 4], eax
mov edi, dword [esi + 0x18]
call fcn.1003bd69
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x1003d148
cmp dword [ebx + 0x44], eax
mov dword [ebp + 0x14], eax
jle 0x1003d148
push 1
lea esi, [ebx + 0x50]
call fcn.100414a0
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp + 0x14]
mov edi, dword [eax + ecx*4]
call fcn.1003b8ee
push edx
push eax
lea esi, [ebp - 0xa8]
call fcn.10041404
movzx eax, byte [edi + 0x54]
push eax
lea esi, [ebp - 0x94]
call fcn.1003dd30
push dword [edi + 0x50]
lea esi, [ebp - 0x6c]
call fcn.100414a0
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebx + 0x44]
jl 0x1003d0fd
lea edi, [ebx + 0x64]
push dword [edi + 8]
mov eax, dword [edi]
xor esi, esi
push esi
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
jne 0x1003d18f
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.1003a351
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.1003a351
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
call fcn.1003a351
jmp 0x1003cff4
cmp dword [ebp - 0x18], 5
jne 0x1003d19a
cmp dword [ebp - 0x14], esi
je 0x1003d19f
call fcn.1003bc2f
mov eax, dword [ebp + 8]
call fcn.1003b9a4
mov ebx, eax
mov esi, edi
mov dword [ebp + 0x14], ebx
call fcn.1003a3b1
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp eax, ebx
jbe 0x1003d1ed
mov dword [ebp + 0x10], eax
lea esi, [ebp - 0xf0]
call fcn.1003b936
push edi
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.1003ddad
mov byte [ebp - 4], 3
push dword [ebp - 0xe0]
call fcn.1004d030
dec dword [ebp + 0x10]
pop ecx
jne 0x1003d1bf
xor ebx, ebx
mov edi, dword [ebp + 0xc]
push ebx
lea esi, [edi + 0x158]
push 9
mov dword [ebp - 0x20], esi
call fcn.10041404
cmp dword [edi + 8], ebx
je 0x1003d20e
push ebx
push 6
call fcn.10041404
cmp dword [ebp + 0x14], ebx
jbe 0x1003d220
cmp dword [ebp - 0x64], ebx
je 0x1003d220
push ebx
push 0xa
call fcn.10041404
xor edi, edi
inc edi
mov esi, vtable.CRecordVector_bool_.0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.1003b9bf
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 7
mov dword [ebp + 0x10], ebx
jmp 0x1003d4fb
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x18]
call fcn.1003bd69
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x24], ebx
ja case.0x1003d2c0.22
jb 0x1003d2b1
cmp dword [ebp - 0x28], 0x40000000
ja case.0x1003d2c0.22
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x1003d2c0.22
jmp dword [eax*4 + 0x1003d63f]
mov byte [ebp - 0xc8], bl
push dword [ebp + 8]
lea esi, [ebp - 0x44]
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 8
call fcn.1003bcf8
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 0x6c], ebx
jle 0x1003d309
mov ebx, eax
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + esi*4]
add eax, 0x10
push eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
call fcn.1003bdfa
inc esi
cmp esi, dword [ebx + 0x6c]
jl 0x1003d2ee
lea ebx, [ebp - 0xcc]
mov byte [ebp - 4], 7
call fcn.1003bc54
xor ebx, ebx
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.10041404
jmp 0x1003d4c7
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0xe4], vtable.CRecordVector_bool_.0
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebp - 4], 9
mov ecx, dword [eax + 0x6c]
lea eax, [ebp - 0xe4]
call fcn.1003ca08
mov byte [ebp - 0xc0], bl
push dword [ebp + 8]
lea esi, [ebp - 0x44]
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0xa
call fcn.1003bcf8
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x14], ebx
jbe 0x1003d3d5
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ecx + eax*4]
mov al, byte [edx + eax]
mov byte [ecx + 0x1f], al
cmp al, bl
je 0x1003d3c9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 8]
lea esi, [edx + 4]
cmp esi, dword [eax + 4]
ja 0x1003d19a
mov edi, dword [eax]
mov edx, dword [edx + edi]
mov dword [eax + 8], esi
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp + 0x14]
jb 0x1003d390
lea ebx, [ebp - 0xc4]
mov byte [ebp - 4], 9
call fcn.1003bc54
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.1003a351
jmp 0x1003d318
mov ecx, dword [ebp + 0x14]
push esi
lea eax, [ebp - 0x58]
call fcn.1003c9b2
xor eax, eax
cmp dword [ebp - 0x50], ebx
jbe 0x1003d41c
mov ecx, dword [ebp - 0x4c]
cmp byte [ecx + eax], bl
je 0x1003d416
inc dword [ebp + 0x10]
inc eax
cmp eax, dword [ebp - 0x50]
jb 0x1003d40b
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xbc]
call fcn.1003b9bf
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x80]
call fcn.1003b9bf
jmp 0x1003d31a
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.1003c9b2
jmp 0x1003d31a
lea eax, [ebp - 0x80]
jmp 0x1003d440
mov edi, dword [ebp + 0xc]
add edi, 0xf0
push dword [ebp + 0x14]
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.1003ca50
jmp 0x1003d31a
mov edi, dword [ebp + 0xc]
add edi, 0x78
jmp 0x1003d45c
mov edi, dword [ebp + 0xc]
add edi, 0xa0
jmp 0x1003d45c
mov edi, dword [ebp + 0xc]
add edi, 0xc8
jmp 0x1003d45c
xor edi, edi
xor esi, esi
cmp edx, ebx
jb 0x1003d4c7
ja 0x1003d49b
cmp dword [ebp - 0x30], ebx
jbe 0x1003d4c7
mov eax, dword [ebp + 8]
call fcn.1003b98a
test al, al
jne 0x1003d19a
add edi, 1
adc esi, ebx
cmp esi, dword [ebp - 0x2c]
jb 0x1003d49b
ja 0x1003d4c7
cmp edi, dword [ebp - 0x30]
jb 0x1003d49b
jmp 0x1003d4c7
push edx
push dword [ebp - 0x30]
call fcn.1003bd3a
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x130], bl
ja 0x1003d4db
cmp byte [eax + 0x131], 2
jbe 0x1003d4fb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, dword [ebp - 0x30]
jne 0x1003d19a
cmp ecx, dword [ebp - 0x2c]
jne 0x1003d19a
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x18]
call fcn.1003bd69
mov dword [ebp - 0x28], eax
or eax, edx
mov dword [ebp - 0x24], edx
jne 0x1003d27f
xor edi, edi
xor eax, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp + 8], ebx
cmp dword [ebp + 0x10], ebx
jbe 0x1003d534
mov ecx, dword [ebp - 0x74]
cmp byte [ecx + eax], bl
je 0x1003d52e
inc dword [ebp + 8]
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x1003d523
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0x14], ebx
jbe 0x1003d5d8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0xc]
cmp byte [edx + ecx], bl
mov eax, dword [eax + 0x70]
mov eax, dword [eax + ecx*4]
sete cl
mov byte [eax + 0x1c], cl
cmp cl, bl
je 0x1003d58b
mov byte [eax + 0x1d], bl
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + edi*8]
mov dword [eax], edx
mov ecx, dword [ecx + edi*8 + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + edi*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x88]
mov cl, byte [ecx + edi]
mov byte [ebp + 0x10], bl
mov byte [eax + 0x1e], cl
inc edi
jmp 0x1003d5b2
mov ecx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0x20]
cmp byte [ecx + esi], bl
sete cl
mov byte [eax + 0x1d], cl
mov ecx, dword [ebp - 0x74]
mov cl, byte [ecx + esi]
inc esi
mov byte [ebp + 0x10], cl
mov dword [ebp - 0x20], esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 0x1e], bl
cmp dword [ebp + 8], ebx
je 0x1003d5c8
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x10]
add esi, 0x118
call fcn.1003dd30
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp + 0x14]
jb 0x1003d542
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.1003a351
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.1003a351
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.1003a351
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.1003a351
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.1003a351
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], bl
call fcn.1003a351
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.1003dec1
xor eax, eax
call fcn.10052265
ret 0x10