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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffff80
sub esp, 0x178
mov eax, dword [0x101c6040]
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 0x10070bf5
test eax, eax
je 0x10070c26
lea eax, [esp + 0x57]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push edi
call fcn.1006dfa0
add esp, 0x14
test al, al
je 0x10070b3d
mov esi, dword [esp + 0x50]
cmp byte [esi], 0
je 0x1007043e
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070421
sub ecx, edx
push 0
push ecx
push esi
call fcn.100791b0
add esp, 0xc
test al, al
je 0x10070ba6
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
test eax, eax
je 0x1007045f
push dword [esp + 0x3c]
push esi
push edi
call eax
add esp, 0xc
test al, al
jne 0x10070bb4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
dec eax
cmp eax, 0xfe
ja case.0x10070476.20
movzx eax, byte [eax + 0x10070ce0]
jmp dword [eax*4 + 0x10070c88]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je case.0x10070476.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 1
jne 0x1007049d
mov eax, dword [edi + 0x14]
movsd xmm0, qword [edx + eax]
jmp 0x100704a0
xorps xmm0, xmm0
push dword [esp + 0x3c]
sub esp, 8
movsd qword [esp], xmm0
push esi
push edi
call ecx
add esp, 0x14
jmp 0x10070af0
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 2
jne 0x100704e4
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 0x100704e8
xor edx, edx
xor ecx, ecx
push 1
push ecx
push edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call fcn.100791b0
add esp, 0xc
test al, al
je 0x10070bae
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x10]
test eax, eax
je case.0x10070476.20
push dword [esp + 0x3c]
push dword [esp + 0x48]
push dword [esp + 0x48]
push esi
push edi
call eax
add esp, 0x14
jmp 0x10070af0
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 0x10070545
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.10076490
add esp, 0xc
test al, al
je case.0x10070476.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x14]
test eax, eax
je case.0x10070476.20
push dword [esp + 0x3c]
lea ecx, [esp + 0x84]
push ecx
push esi
push edi
call eax
add esp, 0x10
jmp 0x10070af0
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 0x100705a0
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.10076490
add esp, 0xc
test al, al
je case.0x10070476.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x18]
jmp 0x10070566
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 5
jne 0x1007060b
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 0x10070619
xor ecx, ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], ecx
mov eax, dword [edx + 0x1c]
test eax, eax
je case.0x10070476.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 0x10070af0
mov eax, dword [edx + 0x20]
test eax, eax
je case.0x10070476.20
push dword [esp + 0x3c]
push esi
push edi
call eax
jmp 0x10070aed
mov ecx, dword [edx + 0x24]
test ecx, ecx
je case.0x10070476.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 7
jne 0x10070681
mov eax, dword [edi + 0x14]
push dword [esp + 0x3c]
add eax, edx
push eax
push esi
push edi
call ecx
add esp, 0x10
jmp 0x10070af0
push dword [esp + 0x3c]
xor eax, eax
push eax
push esi
push edi
call ecx
add esp, 0x10
jmp 0x10070af0
mov ecx, dword [edx + 0x28]
test ecx, ecx
je case.0x10070476.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 8
jne 0x100706ca
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 0x10070af0
push dword [esp + 0x3c]
mov byte [esp + 0x6c], 0
push dword [esp + 0x6c]
push esi
push edi
call ecx
add esp, 0x10
jmp 0x10070af0
mov edx, dword [edx + 0x2c]
test edx, edx
je case.0x10070476.20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 9
jne 0x10070721
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 0x10070af0
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 0x10070af0
mov eax, dword [edx + 0x30]
test eax, eax
je case.0x10070476.20
push dword [esp + 0x3c]
push esi
push edi
call eax
jmp 0x10070aed
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 0x10070783
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 0x10070790
sub ecx, dword [esp + 0x58]
push 1
push ecx
push edx
call fcn.100791b0
add esp, 0xc
test al, al
je 0x10070bae
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x34]
test eax, eax
je case.0x10070476.20
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x4c]
push esi
push edi
call eax
add esp, 0x14
jmp 0x10070af0
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 0x1007081f
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.100791b0
add esp, 0xc
test al, al
je 0x10070bae
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x38]
test eax, eax
je case.0x10070476.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 0x10070af0
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0xd
jne 0x1007088a
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 0x1007088e
xor ecx, ecx
xor edx, edx
push 1
push ecx
push edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], ecx
call fcn.100791b0
add esp, 0xc
test al, al
je 0x10070bae
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x3c]
test eax, eax
je case.0x10070476.20
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x48]
push esi
push edi
call eax
add esp, 0x14
jmp 0x10070af0
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 0x10070906
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 0x10070901
xor ecx, ecx
jmp 0x10070902
dec ecx
mov dword [esp + 0x44], ecx
push 1
push ecx
push dword [esp + 0x48]
call fcn.100791b0
add esp, 0xc
test al, al
je 0x10070bae
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x40]
test eax, eax
je case.0x10070476.20
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push esi
push edi
call eax
add esp, 0x14
jmp 0x10070af0
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0xf
jne 0x10070974
mov eax, dword [edi + 0x18]
mov edx, dword [ecx + eax]
test edx, edx
je 0x10070c57
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 0x10070980
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.100791b0
add esp, 0xc
test al, al
je 0x10070bae
push dword [esp + 0x4c]
lea eax, [esp + 0x84]
push dword [esp + 0x48]
push eax
call fcn.10076490
add esp, 0xc
test al, al
je case.0x10070476.20
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x44]
test eax, eax
je case.0x10070476.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 0x10070af0
mov ecx, dword [edx + 0x48]
test ecx, ecx
je case.0x10070476.20
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 0x10
jne 0x10070681
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 0x10070af0
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x58], 0
cmp byte [ecx + eax], 0x11
jne 0x10070a43
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 0x10070a45
xor ecx, ecx
mov eax, dword [edx + 0x4c]
test eax, eax
je case.0x10070476.20
push dword [esp + 0x3c]
push dword [esp + 0x5c]
push ecx
push esi
push edi
call eax
add esp, 0x14
jmp 0x10070af0
mov edx, dword [edx + 0x50]
test edx, edx
je case.0x10070476.20
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [ecx + eax], 0x12
jmp 0x100706f7
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
cmp byte [edx + eax], 0x13
jne 0x10070ab7
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.0x10070476.20
push dword [esp + 0x3c]
lea ecx, [esp + 0x74]
push ecx
push esi
push edi
call eax
add esp, 0x10
jmp 0x10070af0
mov ecx, dword [edx + 0x54]
jmp 0x10070adc
mov ecx, dword [edx + 0x58]
test ecx, ecx
je case.0x10070476.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 0x10070bb4
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10070b1b
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 0x10070bb4
lea eax, [esp + 0x57]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push edi
call fcn.1006dfa0
add esp, 0x14
test al, al
jne 0x10070413
mov esi, dword [esp + 0x50]
cmp dword [edi + 0x28], 0
je 0x10070bdf
cmp byte [esp + 0x57], 0
je 0x10070bca
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x5c], 0
je 0x10070bca
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070b61
sub ecx, edx
push 0
push ecx
push esi
call fcn.100791b0
add esp, 0xc
test al, al
je 0x10070bca
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.10046e60
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
mov dword [edi + 0x28], eax
jmp 0x10070b41
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.10046e60
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 8]
test eax, eax
je 0x10070bdf
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.10046e60
mov esp, ebp
pop ebp
ret
push 0x100faf30
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.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
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.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
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.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
jge 0x10070c8e
pop es
adc byte [eax + 0x2b100704], bh
pop es
adc byte [ebx], ch
add eax, 0x5861007
pop es
adc bl, al
add eax, 0x63d1007
pop es
adc byte [ebp + 6], dl
pop es
adc byte [esi + eax + 0x6e31007], dl
pop es
adc byte [edi + eax + 7], al
adc byte [edi + eax + 7], bl
adc dh, dl
pop es
pop es
adc byte [esi + 8], bl
pop es
adc cl, dl
or byte [edi], al
adc byte [ecx + ecx + 7], al
adc bl, ch
or dword [edi], eax
adc byte [edx + ecx], bl
pop es
adc byte [ebp + 0xa], ah
pop es
adc byte [esi + 0xa], bh
pop es
adc ah, dl
or al, byte [edi]
adc cl, bl
or al, byte [edi]
adc al, bh
or al, byte [edi]
adc byte [eax], al
add dword [edx], eax
add eax, dword [eax + 151521030]
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