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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffff80
sub esp, 0x178
mov eax, dword [0x1022d400]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x50], 0
test edi, edi
je 0x100ccb25
test eax, eax
je 0x100ccb56
lea eax, [esp + 0x57]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push edi
call fcn.100c9ee0
add esp, 0x14
test al, al
je 0x100cca6d
mov esi, dword [esp + 0x50]
cmp byte [esi], 0
je 0x100cc36e
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cc351
sub ecx, edx
push 0
push ecx
push esi
call fcn.100d50e0
add esp, 0xc
test al, al
je 0x100ccad6
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
test eax, eax
je 0x100cc38f
push dword [esp + 0x3c]
push esi
push edi
call eax
add esp, 0xc
test al, al
jne 0x100ccae4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
dec eax
cmp eax, 0xfe
ja case.0x100cc3a6.20
movzx eax, byte [eax + 0x100ccc10]
jmp dword [eax*4 + 0x100ccbb8]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je case.0x100cc3a6.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 1
jne 0x100cc3cd
mov eax, dword [edi + 0x14]
movsd xmm0, qword [edx + eax]
jmp 0x100cc3d0
xorps xmm0, xmm0
push dword [esp + 0x3c]
sub esp, 8
movsd qword [esp], xmm0
push esi
push edi
call ecx
add esp, 0x14
jmp 0x100cca20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 2
jne 0x100cc414
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
add edx, dword [edi]
mov dword [esp + 0x40], 0
mov ecx, dword [ecx + eax]
test ecx, ecx
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x40]
cmovg ecx, eax
jmp 0x100cc418
xor edx, edx
xor ecx, ecx
push 1
push ecx
push edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call fcn.100d50e0
add esp, 0xc
test al, al
je 0x100ccade
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x10]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push dword [esp + 0x48]
push dword [esp + 0x48]
push esi
push edi
call eax
add esp, 0x14
jmp 0x100cca20
mov esi, dword [edi]
xor ecx, ecx
mov eax, dword [edi + 0xc]
xor edx, edx
cmp byte [esi + eax], 3
mov esi, dword [esp + 0x50]
jne 0x100cc475
mov ecx, dword [edi]
add ecx, dword [edi + 0x14]
mov edx, dword [ecx]
push edx
push ecx
lea eax, [esp + 0x88]
push eax
call fcn.100d23c0
add esp, 0xc
test al, al
je case.0x100cc3a6.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x14]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
lea ecx, [esp + 0x84]
push ecx
push esi
push edi
call eax
add esp, 0x10
jmp 0x100cca20
mov esi, dword [edi]
xor ecx, ecx
mov eax, dword [edi + 0xc]
xor edx, edx
cmp byte [esi + eax], 4
mov esi, dword [esp + 0x50]
jne 0x100cc4d0
mov ecx, dword [edi]
add ecx, dword [edi + 0x14]
mov edx, dword [ecx]
push edx
push ecx
lea eax, [esp + 0x88]
push eax
call fcn.100d23c0
add esp, 0xc
test al, al
je case.0x100cc3a6.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x18]
jmp 0x100cc496
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 5
jne 0x100cc53b
mov eax, dword [edi + 0x18]
mov esi, dword [esp + 0x50]
movzx eax, byte [eax + ecx]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [ecx + eax]
mov eax, dword [edi + 0x1c]
add eax, dword [edi]
cmp dword [esp + 0x44], 2
lea edx, [eax + 4]
cmovne edx, eax
lea eax, [ecx - 4]
cmovne eax, ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
jmp 0x100cc549
xor ecx, ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], ecx
mov eax, dword [edx + 0x1c]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x54]
push ecx
push esi
push edi
call eax
add esp, 0x18
jmp 0x100cca20
mov eax, dword [edx + 0x20]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push esi
push edi
call eax
jmp 0x100cca1d
mov ecx, dword [edx + 0x24]
test ecx, ecx
je case.0x100cc3a6.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 7
jne 0x100cc5b1
mov eax, dword [edi + 0x14]
push dword [esp + 0x3c]
add eax, edx
push eax
push esi
push edi
call ecx
add esp, 0x10
jmp 0x100cca20
push dword [esp + 0x3c]
xor eax, eax
push eax
push esi
push edi
call ecx
add esp, 0x10
jmp 0x100cca20
mov ecx, dword [edx + 0x28]
test ecx, ecx
je case.0x100cc3a6.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 8
jne 0x100cc5fa
mov eax, dword [edi + 0x14]
push dword [esp + 0x3c]
cmp byte [edx + eax], 0
setne byte [esp + 0x6c]
push dword [esp + 0x6c]
push esi
push edi
call ecx
add esp, 0x10
jmp 0x100cca20
push dword [esp + 0x3c]
mov byte [esp + 0x6c], 0
push dword [esp + 0x6c]
push esi
push edi
call ecx
add esp, 0x10
jmp 0x100cca20
mov edx, dword [edx + 0x2c]
test edx, edx
je case.0x100cc3a6.20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 9
jne 0x100cc651
mov eax, dword [edi + 0x14]
push dword [esp + 0x3c]
mov esi, dword [ecx + eax]
mov ecx, dword [ecx + eax + 4]
push ecx
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
push eax
push esi
push edi
call edx
add esp, 0x14
jmp 0x100cca20
push dword [esp + 0x3c]
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
push eax
push esi
push edi
call edx
add esp, 0x14
jmp 0x100cca20
mov eax, dword [edx + 0x30]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push esi
push edi
call eax
jmp 0x100cca1d
mov ecx, dword [edi]
xor edx, edx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], edx
cmp byte [ecx + eax], 0xb
jne 0x100cc6b3
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
add edx, ecx
add eax, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cc6c0
sub ecx, dword [esp + 0x58]
push 1
push ecx
push edx
call fcn.100d50e0
add esp, 0xc
test al, al
je 0x100ccade
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x34]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x4c]
push esi
push edi
call eax
add esp, 0x14
jmp 0x100cca20
mov esi, dword [edi]
xor ecx, ecx
mov eax, dword [edi + 0xc]
xor edx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], ecx
cmp byte [esi + eax], 0xc
mov esi, dword [esp + 0x50]
jne 0x100cc74f
mov ecx, dword [edi]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
add edx, ecx
add esi, ecx
mov dword [esp + 0x44], edx
mov eax, dword [ecx + eax]
test eax, eax
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x50]
lea ecx, [eax - 1]
cmove ecx, eax
mov dword [esp + 0x40], ecx
push 1
push ecx
push edx
call fcn.100d50e0
add esp, 0xc
test al, al
je 0x100ccade
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x38]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push esi
push edi
call eax
add esp, 0x18
jmp 0x100cca20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0xd
jne 0x100cc7ba
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
add edx, dword [edi]
mov dword [esp + 0x40], 0
mov ecx, dword [ecx + eax]
test ecx, ecx
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x40]
cmovg ecx, eax
jmp 0x100cc7be
xor ecx, ecx
xor edx, edx
push 1
push ecx
push edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], ecx
call fcn.100d50e0
add esp, 0xc
test al, al
je 0x100ccade
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x3c]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x48]
push esi
push edi
call eax
add esp, 0x14
jmp 0x100cca20
mov edx, dword [edi]
xor ecx, ecx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], ecx
cmp byte [edx + eax], 0xe
jne 0x100cc836
mov eax, dword [edi + 0x18]
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [edx + eax]
test ecx, ecx
jg 0x100cc831
xor ecx, ecx
jmp 0x100cc832
dec ecx
mov dword [esp + 0x44], ecx
push 1
push ecx
push dword [esp + 0x48]
call fcn.100d50e0
add esp, 0xc
test al, al
je 0x100ccade
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x40]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push esi
push edi
call eax
add esp, 0x14
jmp 0x100cca20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0xf
jne 0x100cc8a4
mov eax, dword [edi + 0x18]
mov edx, dword [ecx + eax]
test edx, edx
je 0x100ccb87
mov eax, dword [edi + 0x20]
dec edx
add eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x1c]
add eax, ecx
jmp 0x100cc8b0
xor eax, eax
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
push 1
push edx
push eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], eax
call fcn.100d50e0
add esp, 0xc
test al, al
je 0x100ccade
push dword [esp + 0x4c]
lea eax, [esp + 0x84]
push dword [esp + 0x48]
push eax
call fcn.100d23c0
add esp, 0xc
test al, al
je case.0x100cc3a6.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x44]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
lea ecx, [esp + 0x84]
push ecx
push dword [esp + 0x48]
push dword [esp + 0x64]
push esi
push edi
call eax
add esp, 0x18
jmp 0x100cca20
mov ecx, dword [edx + 0x48]
test ecx, ecx
je case.0x100cc3a6.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 0x10
jne 0x100cc5b1
mov eax, dword [edi + 0x14]
push dword [esp + 0x3c]
mov eax, dword [edx + eax]
push eax
push esi
push edi
call ecx
add esp, 0x10
jmp 0x100cca20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x58], 0
cmp byte [ecx + eax], 0x11
jne 0x100cc973
mov eax, dword [edi + 0x14]
mov esi, dword [ecx + eax]
mov ecx, dword [ecx + eax + 4]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x50]
jmp 0x100cc975
xor ecx, ecx
mov eax, dword [edx + 0x4c]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
push dword [esp + 0x5c]
push ecx
push esi
push edi
call eax
add esp, 0x14
jmp 0x100cca20
mov edx, dword [edx + 0x50]
test edx, edx
je case.0x100cc3a6.20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0x12
jmp 0x100cc627
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 0x13
jne 0x100cc9e7
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov edi, dword [edi]
mov edx, dword [ecx + edx + 8]
mov esi, dword [ecx + eax + 0xc]
mov eax, dword [ecx + eax]
mov ecx, dword [ecx + edi + 4]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x60]
test eax, eax
je case.0x100cc3a6.20
push dword [esp + 0x3c]
lea ecx, [esp + 0x74]
push ecx
push esi
push edi
call eax
add esp, 0x10
jmp 0x100cca20
mov ecx, dword [edx + 0x54]
jmp 0x100cca0c
mov ecx, dword [edx + 0x58]
test ecx, ecx
je case.0x100cc3a6.20
mov eax, dword [edi + 0x10]
push dword [esp + 0x3c]
add eax, dword [edi]
push eax
push edi
call ecx
add esp, 0xc
test al, al
jne 0x100ccae4
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100cca4b
mov eax, dword [edi + 0x10]
push dword [esp + 0x3c]
add eax, dword [edi]
push eax
push edi
call ecx
add esp, 0xc
test al, al
jne 0x100ccae4
lea eax, [esp + 0x57]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push edi
call fcn.100c9ee0
add esp, 0x14
test al, al
jne 0x100cc343
mov esi, dword [esp + 0x50]
cmp dword [edi + 0x28], 0
je 0x100ccb0f
cmp byte [esp + 0x57], 0
je 0x100ccafa
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x5c], 0
je 0x100ccafa
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cca91
sub ecx, edx
push 0
push ecx
push esi
call fcn.100d50e0
add esp, 0xc
test al, al
je 0x100ccafa
push dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x68]
push esi
mov eax, dword [eax + 0x5c]
push edi
call eax
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.1009f33b
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
mov dword [edi + 0x28], eax
jmp 0x100cca71
mov eax, dword [edi + 8]
mov dword [edi + 0x28], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.1009f33b
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 8]
test eax, eax
je 0x100ccb0f
push dword [esp + 0x3c]
push edi
call eax
add esp, 8
mov ecx, dword [esp + 0x17c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1009f33b
mov esp, ebp
pop ebp
ret
push 0x101643b0
push str.bson_iter_visit_all
push 0x772
push str.C:Usersprocr_vcpkg_buildtreeslibbson_src1.26.1_017d46e88c.clean_srclibbson_src_bson_bson_iter.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
push str.visitor
push str.bson_iter_visit_all
push 0x773
push str.C:Usersprocr_vcpkg_buildtreeslibbson_src1.26.1_017d46e88c.clean_srclibbson_src_bson_bson_iter.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
push str.len___0
push str.bson_iter_codewscope
push 0x5b3
push str.C:Usersprocr_vcpkg_buildtreeslibbson_src1.26.1_017d46e88c.clean_srclibbson_src_bson_bson_iter.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
lodsd eax, dword [esi]
ret