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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffff80
sub esp, 0x178
mov eax, dword [0x101f3600]
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 0x100a1c85
test eax, eax
je 0x100a1cb6
lea eax, [esp + 0x57]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push edi
call fcn.1009f040
add esp, 0x14
test al, al
je 0x100a1bcd
mov esi, dword [esp + 0x50]
cmp byte [esi], 0
je 0x100a14ce
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a14b1
sub ecx, edx
push 0
push ecx
push esi
call fcn.100aa280
add esp, 0xc
test al, al
je 0x100a1c36
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
test eax, eax
je 0x100a14ef
push dword [esp + 0x3c]
push esi
push edi
call eax
add esp, 0xc
test al, al
jne 0x100a1c44
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
dec eax
cmp eax, 0xfe
ja case.0x100a1506.20
movzx eax, byte [eax + 0x100a1d70]
jmp dword [eax*4 + 0x100a1d18]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je case.0x100a1506.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 1
jne 0x100a152d
mov eax, dword [edi + 0x14]
movsd xmm0, qword [edx + eax]
jmp 0x100a1530
xorps xmm0, xmm0
push dword [esp + 0x3c]
sub esp, 8
movsd qword [esp], xmm0
push esi
push edi
call ecx
add esp, 0x14
jmp 0x100a1b80
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 2
jne 0x100a1574
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 0x100a1578
xor edx, edx
xor ecx, ecx
push 1
push ecx
push edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call fcn.100aa280
add esp, 0xc
test al, al
je 0x100a1c3e
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x10]
test eax, eax
je case.0x100a1506.20
push dword [esp + 0x3c]
push dword [esp + 0x48]
push dword [esp + 0x48]
push esi
push edi
call eax
add esp, 0x14
jmp 0x100a1b80
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 0x100a15d5
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.100a7540
add esp, 0xc
test al, al
je case.0x100a1506.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x14]
test eax, eax
je case.0x100a1506.20
push dword [esp + 0x3c]
lea ecx, [esp + 0x84]
push ecx
push esi
push edi
call eax
add esp, 0x10
jmp 0x100a1b80
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 0x100a1630
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.100a7540
add esp, 0xc
test al, al
je case.0x100a1506.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x18]
jmp 0x100a15f6
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 5
jne 0x100a169b
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 0x100a16a9
xor ecx, ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], ecx
mov eax, dword [edx + 0x1c]
test eax, eax
je case.0x100a1506.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 0x100a1b80
mov eax, dword [edx + 0x20]
test eax, eax
je case.0x100a1506.20
push dword [esp + 0x3c]
push esi
push edi
call eax
jmp 0x100a1b7d
mov ecx, dword [edx + 0x24]
test ecx, ecx
je case.0x100a1506.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 7
jne 0x100a1711
mov eax, dword [edi + 0x14]
push dword [esp + 0x3c]
add eax, edx
push eax
push esi
push edi
call ecx
add esp, 0x10
jmp 0x100a1b80
push dword [esp + 0x3c]
xor eax, eax
push eax
push esi
push edi
call ecx
add esp, 0x10
jmp 0x100a1b80
mov ecx, dword [edx + 0x28]
test ecx, ecx
je case.0x100a1506.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 8
jne 0x100a175a
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 0x100a1b80
push dword [esp + 0x3c]
mov byte [esp + 0x6c], 0
push dword [esp + 0x6c]
push esi
push edi
call ecx
add esp, 0x10
jmp 0x100a1b80
mov edx, dword [edx + 0x2c]
test edx, edx
je case.0x100a1506.20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 9
jne 0x100a17b1
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 0x100a1b80
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 0x100a1b80
mov eax, dword [edx + 0x30]
test eax, eax
je case.0x100a1506.20
push dword [esp + 0x3c]
push esi
push edi
call eax
jmp 0x100a1b7d
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 0x100a1813
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 0x100a1820
sub ecx, dword [esp + 0x58]
push 1
push ecx
push edx
call fcn.100aa280
add esp, 0xc
test al, al
je 0x100a1c3e
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x34]
test eax, eax
je case.0x100a1506.20
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x4c]
push esi
push edi
call eax
add esp, 0x14
jmp 0x100a1b80
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 0x100a18af
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.100aa280
add esp, 0xc
test al, al
je 0x100a1c3e
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x38]
test eax, eax
je case.0x100a1506.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 0x100a1b80
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0xd
jne 0x100a191a
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 0x100a191e
xor ecx, ecx
xor edx, edx
push 1
push ecx
push edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], ecx
call fcn.100aa280
add esp, 0xc
test al, al
je 0x100a1c3e
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x3c]
test eax, eax
je case.0x100a1506.20
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x48]
push esi
push edi
call eax
add esp, 0x14
jmp 0x100a1b80
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 0x100a1996
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 0x100a1991
xor ecx, ecx
jmp 0x100a1992
dec ecx
mov dword [esp + 0x44], ecx
push 1
push ecx
push dword [esp + 0x48]
call fcn.100aa280
add esp, 0xc
test al, al
je 0x100a1c3e
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x40]
test eax, eax
je case.0x100a1506.20
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push esi
push edi
call eax
add esp, 0x14
jmp 0x100a1b80
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0xf
jne 0x100a1a04
mov eax, dword [edi + 0x18]
mov edx, dword [ecx + eax]
test edx, edx
je 0x100a1ce7
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 0x100a1a10
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.100aa280
add esp, 0xc
test al, al
je 0x100a1c3e
push dword [esp + 0x4c]
lea eax, [esp + 0x84]
push dword [esp + 0x48]
push eax
call fcn.100a7540
add esp, 0xc
test al, al
je case.0x100a1506.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x44]
test eax, eax
je case.0x100a1506.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 0x100a1b80
mov ecx, dword [edx + 0x48]
test ecx, ecx
je case.0x100a1506.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 0x10
jne 0x100a1711
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 0x100a1b80
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x58], 0
cmp byte [ecx + eax], 0x11
jne 0x100a1ad3
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 0x100a1ad5
xor ecx, ecx
mov eax, dword [edx + 0x4c]
test eax, eax
je case.0x100a1506.20
push dword [esp + 0x3c]
push dword [esp + 0x5c]
push ecx
push esi
push edi
call eax
add esp, 0x14
jmp 0x100a1b80
mov edx, dword [edx + 0x50]
test edx, edx
je case.0x100a1506.20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0x12
jmp 0x100a1787
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 0x13
jne 0x100a1b47
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.0x100a1506.20
push dword [esp + 0x3c]
lea ecx, [esp + 0x74]
push ecx
push esi
push edi
call eax
add esp, 0x10
jmp 0x100a1b80
mov ecx, dword [edx + 0x54]
jmp 0x100a1b6c
mov ecx, dword [edx + 0x58]
test ecx, ecx
je case.0x100a1506.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 0x100a1c44
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100a1bab
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 0x100a1c44
lea eax, [esp + 0x57]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push edi
call fcn.1009f040
add esp, 0x14
test al, al
jne 0x100a14a3
mov esi, dword [esp + 0x50]
cmp dword [edi + 0x28], 0
je 0x100a1c6f
cmp byte [esp + 0x57], 0
je 0x100a1c5a
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x5c], 0
je 0x100a1c5a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a1bf1
sub ecx, edx
push 0
push ecx
push esi
call fcn.100aa280
add esp, 0xc
test al, al
je 0x100a1c5a
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.100747a0
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
mov dword [edi + 0x28], eax
jmp 0x100a1bd1
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.100747a0
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 8]
test eax, eax
je 0x100a1c6f
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.100747a0
mov esp, ebp
pop ebp
ret
push 0x10137468
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
or eax, 0x48100a15
adc eax, 364580874
or dl, byte [eax]
push ss
push ss
or dl, byte [eax]
push ebx
push ss
or dl, byte [eax]
int 0x16
or dl, byte [eax]
in eax, 0x16
or dl, byte [eax]
and al, 0x17
or dl, byte [eax]
jae 0x100a1d51
or dl, byte [eax]
aam 0x17
or dl, byte [eax]
in al, dx
pop ss
or dl, byte [eax]
sbb byte [edx], cl
adc dh, ch
sbb byte [edx], cl
adc byte [ecx + 0x19], ah
or dl, byte [eax]
aam 0x19
or dl, byte [eax]
jnp 0x100a1d70
sbb dword [edx], ecx
adc byte [ebx + 0x1a], bh
or dl, byte [eax]
lodsb al, byte [esi]
sbb cl, byte [edx]
adc ch, dh
sbb cl, byte [edx]
adc byte [esi], cl
sbb ecx, dword [edx]
adc byte [ebx + ebx + 0xa], ah
adc byte [ecx + 0x1b], ch
or dl, byte [eax]
mov byte [ebx], bl
or dl, byte [eax]
add byte [ecx], al
add al, byte [ebx]
add al, 5
push es
pop es
or byte [ecx], cl
or cl, byte [ebx]
or al, 13
push cs
movups xmm2, xmmword [ecx]
adc dl, byte [353703189]
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353702677
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc eax, 353703189
adc al, 204