Function at 0x10070350
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x20], edx
push edi
mov ecx, 0x10103106
mov dword [esp + 0xc], esi
call fcn.100d96c4
mov ecx, dword [esi]
xor eax, eax
mov edx, dword [ebp + 0x10]
xor esi, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, 0xa2
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], ecx
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], edx
test eax, eax
je 0x10070410
test byte [edx + 0x18], 6
je 0x100703c7
mov dword [esp + 0x24], esi
jmp 0x10070410
xor esi, esi
cmp dword [ecx + 0x14], esi
jle 0x10070408
xor edi, edi
mov ecx, dword [ecx + 0x10]
mov edx, eax
mov ecx, dword [edi + ecx]
call fcn.10042210
test eax, eax
je 0x100703f4
mov ecx, dword [esp + 0x28]
inc esi
mov eax, dword [esp + 0x24]
add edi, 0x10
cmp esi, dword [ecx + 0x14]
jl 0x100703d0
jmp 0x10070405
mov eax, dword [esp + 0x28]
add esi, esi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 0xc]
mov dword [esp + 0x2c], eax
mov edx, dword [ebp + 0x10]
xor esi, esi
nop word [eax + eax]
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x1007070a
xor edx, edx
lea edi, [eax + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edi
cmp dword [eax], edx
jle 0x100706e1
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x30], ecx
test eax, eax
je 0x100704d1
test dword [eax + 8], 0x800
je 0x100704d1
mov ebx, dword [eax]
xor esi, esi
mov dword [esp + 0x38], 0
cmp dword [ebx], esi
jle 0x100704c4
lea edi, [ebx + 0xc]
push dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [edi]
call fcn.10070280
add esp, 8
test eax, eax
je 0x100704a4
mov eax, dword [esp + 0x18]
inc dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [esp + 0x38], eax
jmp 0x100704a8
mov eax, dword [esp + 0x38]
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jl 0x10070466
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x100706c2
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 8]
test eax, eax
je 0x100706c2
jmp 0x100704d4
mov eax, dword [ebp + 8]
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x14]
je 0x100704ec
mov esi, dword [esp + 0x2c]
cmp dword [ecx + 0x48], esi
jne 0x100706c2
test eax, eax
je 0x1007055c
mov edi, dword [edi + 0xc]
mov edx, edi
test edi, edi
jne 0x100704fb
mov edx, dword [ecx]
mov esi, eax
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x1007053d
test ecx, ecx
jne 0x10070553
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xc8], 2
jb 0x1007055c
test edi, edi
je 0x1007055c
mov eax, dword [eax + 0x110]
test eax, eax
je 0x1007055c
mov ecx, dword [ebp + 0x14]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x10070556
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10070530
jmp 0x1007055c
movzx eax, byte [eax + 0x100e4a00]
movzx ecx, byte [ecx + 0x100e4a00]
sub ecx, eax
jne 0x100706ba
inc edx
jmp 0x10070500
mov dword [eax], 0
mov ecx, dword [esp + 0x30]
inc dword [esp + 0x14]
test ebx, ebx
mov esi, dword [esp + 0x18]
cmovne esi, dword [esp + 0x10]
xor edi, edi
mov eax, dword [ecx + 4]
movsx ecx, word [ecx + 0x2a]
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], eax
test ecx, ecx
jle 0x100706b0
nop dword [eax]
mov esi, dword [ebp + 0xc]
mov edx, dword [eax]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x10070638
test ecx, ecx
jne 0x1007064a
mov edx, dword [esp + 0x1c]
cmp edx, 1
jne 0x1007067b
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 4
jne 0x10070603
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1007067b
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x48], ecx
test ecx, ecx
jle 0x1007067b
mov edi, dword [eax]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi]
sub esi, edx
nop word [eax + eax]
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x10070650
test eax, eax
jne 0x10070662
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
inc edi
mov eax, dword [esp + 0x44]
add eax, 0x10
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jl 0x10070590
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], esi
jmp 0x100706c6
movzx eax, byte [eax + 0x100e4a00]
movzx ecx, byte [ecx + 0x100e4a00]
sub ecx, eax
jne 0x10070603
inc edx
jmp 0x10070597
movzx ecx, byte [ecx + 0x100e4a00]
movzx eax, byte [eax + 0x100e4a00]
sub eax, ecx
jne 0x10070665
inc edx
jmp 0x100705f0
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x48]
jl 0x100705e3
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
inc edx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], esi
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x100706a6
mov ecx, dword [ebp + 0x14]
or eax, 0xffffffff
mov edx, dword [esp + 0x20]
mov edi, esi
mov word [ecx + 0x20], ax
jmp 0x100706c6
mov ecx, dword [ebp + 0x14]
movzx eax, di
mov word [ecx + 0x20], ax
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
jmp 0x100706c6
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
inc edx
add edi, 0x48
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edi
cmp edx, dword [eax]
jl 0x10070434
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
test esi, esi
je 0x1007070d
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x2c], eax
test byte [esi + 0x24], 8
je 0x10070701
or dword [edi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [esp + 0x2c], eax
jmp 0x1007070d
mov edi, dword [ebp + 0x14]
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x14]
jne 0x100709d9
test ebx, ebx
je 0x100709d9
test eax, eax
jne 0x100709d9
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x78], 0
je 0x10070774
mov bl, byte [eax + 0x90]
cmp bl, 0x79
je 0x100707dd
mov esi, dword [ebp + 8]
mov edx, 0x100f2870
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x100707c5
test ecx, ecx
jne 0x100707d7
mov eax, dword [esp + 0xc]
mov dword [edi + 0x1c], 1
mov eax, dword [eax + 0x78]
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
test dword [eax + 0x18], 0x200
je 0x1007081d
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x1007081d
mov edx, str.excluded
mov edi, esi
sub edi, edx
nop dword [eax + eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x10070808
test eax, eax
jne 0x1007081a
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], edi
mov dword [eax + 0x1c], 2
jmp 0x10070821
movzx eax, byte [eax + 0x100e4a00]
movzx ecx, byte [ecx + 0x100e4a00]
sub ecx, eax
jne 0x100707dd
inc edx
jmp 0x10070753
cmp bl, 0x78
je 0x10070774
mov esi, dword [ebp + 8]
mov ecx, 0x100f2874
mov edx, esi
call fcn.10042210
test eax, eax
jne 0x10070777
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x78]
mov dword [esp + 0x18], eax
jmp 0x10070777
movzx ecx, byte [eax + 0x100e4a00]
movzx eax, byte [esi + 0x100e4a00]
sub ecx, eax
jne 0x1007081d
inc edx
jmp 0x100707a0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100709e1
mov eax, dword [edi + 0x48]
xor esi, esi
mov ebx, dword [edi + 4]
mov dword [esp + 0x2c], eax
movsx eax, word [edi + 0x2a]
mov dword [esp + 0x14], 1
mov dword [esp + 0x44], eax
test eax, eax
jle 0x100708a3
nop dword [eax]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
sub edi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + edi]
cmp ecx, eax
jne 0x1007087e
test ecx, ecx
jne 0x10070890
mov edi, dword [esp + 0x18]
movsx eax, word [edi + 0x28]
cmp esi, eax
mov eax, 0xffffffff
cmove esi, eax
mov eax, dword [esp + 0x44]
jmp 0x100708a3
movzx eax, byte [eax + 0x100e4a00]
movzx ecx, byte [ecx + 0x100e4a00]
sub ecx, eax
jne 0x10070893
inc edx
jmp 0x10070857
mov eax, dword [esp + 0x44]
inc esi
add ebx, 0x10
cmp esi, eax
jl 0x10070850
mov edi, dword [esp + 0x18]
cmp esi, eax
jl 0x100708e6
mov ebx, dword [ebp + 0xc]
mov edx, str._ROWID_
mov ecx, ebx
call fcn.10042210
test eax, eax
je 0x100708da
mov edx, str.ROWID
mov ecx, ebx
call fcn.10042210
test eax, eax
je 0x100708da
mov edx, 0x100f2da0
mov ecx, ebx
call fcn.10042210
test eax, eax
jne 0x100708e6
test byte [edi + 0x24], 0x40
mov eax, 0xffffffff
cmove esi, eax
movsx eax, word [edi + 0x2a]
mov ebx, dword [ebp + 0x14]
cmp esi, eax
jge 0x100709e4
inc dword [esp + 0x1c]
mov eax, dword [ebx + 0x1c]
cmp eax, 2
jne 0x10070944
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp byte [eax + 0xc8], 2
jb 0x10070925
mov word [ebx + 0x20], si
mov dword [ebx + 0x2c], edi
mov dword [esp + 0x34], 0xa2
jmp 0x100709e7
mov eax, dword [ecx + 8]
mov dword [esp + 0x34], 0xa8
mov eax, dword [eax + 0x18]
add eax, esi
or dword [ebx + 4], 0x400000
mov dword [ebx + 0x1c], eax
jmp 0x100709e7
test esi, esi
jns 0x10070960
mov byte [ebx + 1], 0x44
mov dword [ebx + 0x2c], edi
mov word [ebx + 0x20], si
mov dword [esp + 0x34], 0x4d
jmp 0x100709e4
test eax, eax
jne 0x100709ab
cmp esi, 0x20
jl 0x10070987
mov ecx, dword [esp + 0xc]
or eax, 0xffffffff
mov dword [esp + 0x34], 0x4d
or dword [ecx + 0x88], eax
mov dword [ebx + 0x2c], edi
mov word [ebx + 0x20], si
jmp 0x100709e4
mov ecx, esi
mov dword [esp + 0x34], 0x4d
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0xc]
or dword [ecx + 0x88], eax
mov dword [ebx + 0x2c], edi
mov word [ebx + 0x20], si
jmp 0x100709e4
cmp esi, 0x20
jl 0x100709b5
or eax, 0xffffffff
jmp 0x100709be
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], 0x4d
or dword [ecx + 0x8c], eax
mov dword [ebx + 0x2c], edi
mov word [ebx + 0x20], si
jmp 0x100709e4
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
jmp 0x100709eb
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x10070a5a
cmp eax, 1
jne 0x10070a5a
cmp dword [esp + 0x10], edi
je 0x10070a5a
test byte [ecx + 0x18], 0x20
mov esi, dword [ebp + 0xc]
jne 0x10070a5d
mov edx, str._ROWID_
mov ecx, esi
call fcn.10042210
test eax, eax
je 0x10070a37
mov edx, str.ROWID
mov ecx, esi
call fcn.10042210
test eax, eax
je 0x10070a37
mov edx, 0x100f2da0
mov ecx, esi
call fcn.10042210
test eax, eax
jne 0x10070a5d
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
test byte [eax + 0x24], 0x40
jne 0x10070a5d
mov edi, 1
mov byte [ebx + 1], 0x44
or eax, 0xffffffff
mov dword [esp + 0x1c], edi
mov word [ebx + 0x20], ax
jmp 0x10070a5d
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
test byte [edx + 0x18], 0x80
je 0x10070b44
test edi, edi
jne 0x10070cf6
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10070b4f
mov eax, dword [edx + 8]
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
cmp dword [eax], ecx
jle 0x10070b4f
mov edx, dword [esp + 0x30]
add eax, 8
mov dword [esp + 0x44], eax
nop dword [eax]
mov ebx, dword [eax]
test ebx, ebx
je 0x10070b24
mov edi, esi
mov edx, ebx
sub edi, ebx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edi + edx]
cmp eax, esi
jne 0x10070b03
test eax, eax
jne 0x10070b15
mov edx, dword [esp + 0x38]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x30]
lea eax, [edx + edx*2]
test byte [edi + 0x18], 1
mov eax, dword [esi + eax*8 + 4]
jne 0x10070b6a
test byte [eax + 4], 0x10
je 0x10070b6a
push ebx
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x14]
call fcn.100420b0
add esp, 0xc
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 0x100e4a00]
movzx eax, byte [esi + 0x100e4a00]
sub ecx, eax
jne 0x10070b18
inc edx
jmp 0x10070ab0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov esi, dword [ebp + 0xc]
inc ecx
add eax, 0x18
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], eax
cmp ecx, dword [edx]
jl 0x10070aa0
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x10]
jmp 0x10070b4c
test edi, edi
jne 0x10070cf6
mov ebx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
inc dword [esp + 0x3c]
mov dword [ebp + 0x10], edx
test edx, edx
je 0x10070c1c
mov esi, dword [esp + 0x10]
jmp 0x10070410
test dword [edi + 0x18], 0x4000
jne 0x10070b87
test dword [eax + 4], 0x8000
je 0x10070b87
push ebx
push str.misuse_of_aliased_window_function__s
jmp 0x10070aeb
mov cl, byte [eax]
cmp cl, 0xa8
jne 0x10070b91
mov cl, byte [eax + 0x26]
cmp cl, 0xa9
jne 0x10070b9b
add eax, 0x14
jmp 0x10070ba3
cmp cl, 0x83
jne 0x10070bc7
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
je 0x10070bc7
push str.row_value_misused
push dword [esp + 0x10]
call fcn.100420b0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov ebx, dword [ebp + 0x14]
push eax
push 0x100eac98
push ebx
push edx
mov edx, esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.10070160
add esp, 0x10
cmp byte [esi + 0xc8], 2
jb 0x10070df1
mov eax, dword [esi + 0x110]
test eax, eax
je 0x10070df1
cmp dword [eax], ebx
je 0x10070c11
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10070c01
jmp 0x10070df1
mov dword [eax], 0
jmp 0x10070df1
test ebx, ebx
jne 0x10070cfe
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebx + 4]
test dl, 0x40
je 0x10070ca6
mov eax, dword [esp + 0x28]
cmp byte [eax + 0xa5], 0
jne 0x10070c7e
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
test dword [eax + 0x18], 0x10000
je 0x10070c73
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x10070c6b
mov eax, ecx
and eax, 0x40000000
or eax, 0
jne 0x10070c7e
and ecx, 0x20000000
jmp 0x10070c79
and ecx, 0x40000000
or ecx, 0
je 0x10070ca6
push dword [ebp + 0xc]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.10041660
add esp, 0xc
mov byte [ebx], 0x6e
mov dword [ebx + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, 0x4000000
jne 0x10070cfb
mov ecx, dword [ebx + 8]
mov edx, str.true
call fcn.10042210
test eax, eax
je 0x10070cd0
mov ecx, dword [ebx + 8]
mov edx, str.false
call fcn.10042210
test eax, eax
jne 0x10070cfb
mov eax, dword [ebx + 8]
mov ecx, 0x20000000
mov byte [ebx], 0x9f
mov edx, 0x10000000
cmp byte [eax + 4], 0
mov eax, 1
cmove ecx, edx
or dword [ebx + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
je 0x10070d69
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
test edi, edi
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [ebp + 0xc]
push ecx
test edx, edx
je 0x10070d2f
push ebx
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x20]
call fcn.100420b0
add esp, 0x18
jmp 0x10070d5a
test ebx, ebx
je 0x10070d48
push ebx
push eax
push str._s:__s._s
push dword [esp + 0x1c]
call fcn.100420b0
add esp, 0x14
jmp 0x10070d5a
push eax
push str._s:__s
push dword [esp + 0x18]
call fcn.100420b0
add esp, 0x10
mov eax, dword [esp + 0xc]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x40]
inc dword [eax + 0x14]
mov ebx, dword [ebp + 0x14]
movzx eax, word [ebx + 0x20]
test ax, ax
js 0x10070da6
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10070da6
movsx edx, ax
mov eax, 0x3f
cmp edx, 0x40
cmovge edx, eax
xor eax, eax
xor ecx, ecx
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
or dword [esi + 0x38], eax
or dword [esi + 0x3c], ecx
mov edx, dword [ebx + 0xc]
mov esi, dword [esp + 0x28]
test edx, edx
je 0x10070db8
mov ecx, esi
call fcn.10073790
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
test edx, edx
je 0x10070dcd
mov ecx, esi
call fcn.10073790
mov eax, dword [esp + 0x34]
or dword [ebx + 4], 0x800000
mov dword [ebx + 0x10], 0
mov byte [ebx], al
cmp edi, 1
jne 0x10070af7
mov esi, dword [esp + 0xc]
mov edi, dword [ebp + 0x10]
test dword [ebx + 4], 0x400000
jne 0x10070eb4
mov eax, dword [esi]
mov ebx, dword [edi + 4]
cmp dword [eax + 0x140], 0
je 0x10070eb4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10070eb4
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x10070e38
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10070e28
test edx, edx
js 0x10070eb4
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0x4d
jne 0x10070e45
mov esi, dword [esi + 0x78]
jmp 0x10070e6b
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x10070eb4
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x10070e61
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x10070e53
jmp 0x10070eb4
mov edi, dword [ebp + 0x14]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x10070eb4
movsx ecx, word [edi + 0x20]
test ecx, ecx
js 0x10070e81
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x10070e9c
movzx eax, word [esi + 0x28]
test ax, ax
js 0x10070e97
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x10070e9c
mov eax, str.ROWID
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esi]
push eax
call fcn.1007ded0
add esp, 8
cmp eax, 2
jne 0x10070eb4
mov byte [edi], 0x72
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x10]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x10070ecc
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x10070ec2
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret