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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x10109610]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], esi
cmp dword [ebx + 4], esi
jle 0x10070fd8
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ecx + 4]
test eax, eax
je 0x10070fc7
call fcn.1004b1f0
mov ebx, eax
test ebx, ebx
jne 0x1007105f
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0x18
inc esi
cmp esi, dword [eax + 4]
jl 0x10070fa5
mov ebx, eax
push 0x208
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.100b8f90
add esp, 0xc
mov dword [esp + 0x28], ebx
test edi, edi
js 0x1007111f
je 0x10071009
mov edx, dword [esp + 0x18]
cmp byte [edi + edx - 1], 0
je 0x1007111f
cmp edi, dword [ebx + 0x54]
jle 0x100710bc
push str.statement_too_long
push 0x12
mov eax, ebx
call fcn.10039da0
add esp, 8
cmp byte [ebx + 0x1e], 0
mov ecx, 0x12
je 0x10071045
push 0
push 7
mov eax, ebx
call fcn.10039da0
add esp, 8
mov byte [ebx + 0x1e], 0
mov ecx, 7
mov eax, dword [ebx + 0x18]
and eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
lea ecx, [esi + esi*2]
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 8]
mov eax, dword [edx + ecx*8]
push eax
push str.database_schema_is_locked:__s
push ebx
mov eax, esi
call fcn.10039da0
add esp, 0xc
cmp byte [esi + 0x1e], 0
jne 0x1007108b
cmp ebx, 0xc0a
jne 0x100710a2
push 0
push 7
mov eax, esi
call fcn.10039da0
add esp, 8
mov byte [esi + 0x1e], 0
mov ebx, 7
mov eax, dword [esi + 0x18]
and eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x18], 0
je 0x10071112
lea ecx, [edi + 1]
mov esi, ebx
call fcn.10037ea0
mov esi, eax
test esi, esi
je 0x10071112
mov eax, dword [esp + 0x18]
push edi
push eax
push esi
call fcn.100b6420
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
mov byte [edi + esi], 0
call fcn.10086680
add esp, 0xc
push esi
push ebx
call fcn.10037ca0
mov eax, dword [esp + 0x20]
sub eax, esi
add esp, 8
add dword [esp + 0x200], eax
jmp 0x10071136
add edi, dword [esp + 0x18]
mov dword [esp + 0x200], edi
jmp 0x10071136
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.10086680
add esp, 0xc
cmp byte [ebx + 0x1e], 0
je 0x10071143
mov eax, 7
jmp 0x1007114e
mov eax, dword [esp + 0x2c]
cmp eax, 0x65
jne 0x10071152
xor eax, eax
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x3a], 0
je 0x10071174
push ebx
call fcn.10070d70
add esp, 4
test eax, eax
jne 0x10071170
mov dword [esp + 0x2c], 0x11
jmp 0x10071179
mov eax, dword [esp + 0x2c]
cmp eax, 0x11
jne 0x10071188
push 0
push ebx
call fcn.100616f0
mov eax, dword [esp + 0x34]
add esp, 8
cmp byte [ebx + 0x1e], 0
je 0x10071197
mov eax, 7
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100711a8
mov edx, dword [esp + 0x200]
mov dword [ecx], edx
mov dword [esp + 0x1c], eax
test eax, eax
mov eax, dword [esp + 0x34]
jne 0x10071822
test eax, eax
je 0x10071822
mov cl, byte [esp + 0x1e0]
test cl, cl
je 0x10071822
cmp cl, 2
jne 0x10071374
push 3
push eax
call fcn.1004e630
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
add esp, 8
cmp byte [ecx + 0x1e], 0
jne 0x10071273
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10071202
mov eax, dword [eax + 0x50]
jmp 0x10071207
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x1007121f
cmp byte [edi + str.order], 0
je 0x1007121f
inc edi
cmp edi, eax
jle 0x10071211
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x10071241
call fcn.1004c2d0
mov eax, str.order
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x10071252
call fcn.1004c2d0
mov dword [esi + 0x14], str.order
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x1007126f
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x10071302
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x38]
add esi, 0x28
test eax, eax
je 0x10071291
mov eax, dword [eax + 0x50]
jmp 0x10071296
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x100712ae
cmp byte [edi + str.from], 0
je 0x100712ae
inc edi
cmp edi, eax
jle 0x100712a0
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x100712d0
call fcn.1004c2d0
mov eax, str.from
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x100712e1
call fcn.1004c2d0
mov dword [esi + 0x14], str.from
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x100712fe
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x10071822
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x60]
add esi, 0x50
test eax, eax
je 0x10071320
mov eax, dword [eax + 0x50]
jmp 0x10071325
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x1007133e
nop
cmp byte [edi + str.detail], 0
je 0x1007133e
inc edi
cmp edi, eax
jle 0x10071330
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x10071363
call fcn.1004c2d0
mov eax, str.detail
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x10071801
call fcn.1004c2d0
mov dword [esi + 0x14], str.detail
jmp 0x100717fc
push 8
push eax
call fcn.1004e630
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
add esp, 8
cmp byte [ecx + 0x1e], 0
jne 0x10071412
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1007139e
mov eax, dword [eax + 0x50]
jmp 0x100713a3
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x100713be
lea ecx, [ecx]
cmp byte [edi + str.addr], 0
je 0x100713be
inc edi
cmp edi, eax
jle 0x100713b0
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x100713e0
call fcn.1004c2d0
mov eax, str.addr
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x100713f1
call fcn.1004c2d0
mov dword [esi + 0x14], str.addr
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x1007140e
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x100714a2
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x38]
add esi, 0x28
test eax, eax
je 0x10071430
mov eax, dword [eax + 0x50]
jmp 0x10071435
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x1007144e
nop
cmp byte [edi + str.opcode], 0
je 0x1007144e
inc edi
cmp edi, eax
jle 0x10071440
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x10071470
call fcn.1004c2d0
mov eax, str.opcode
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x10071481
call fcn.1004c2d0
mov dword [esi + 0x14], str.opcode
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x1007149e
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x10071532
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x60]
add esi, 0x50
test eax, eax
je 0x100714c0
mov eax, dword [eax + 0x50]
jmp 0x100714c5
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x100714de
nop
cmp byte [edi + 0x100f2750], 0
je 0x100714de
inc edi
cmp edi, eax
jle 0x100714d0
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x10071500
call fcn.1004c2d0
mov eax, 0x100f2750
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x10071511
call fcn.1004c2d0
mov dword [esi + 0x14], 0x100f2750
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x1007152e
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x100715c4
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x88]
add esi, 0x78
test eax, eax
je 0x10071553
mov eax, dword [eax + 0x50]
jmp 0x10071558
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x10071570
cmp byte [edi + 0x100f2754], 0
je 0x10071570
inc edi
cmp edi, eax
jle 0x10071562
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x10071592
call fcn.1004c2d0
mov eax, 0x100f2754
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x100715a3
call fcn.1004c2d0
mov dword [esi + 0x14], 0x100f2754
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x100715c0
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x10071659
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0xb0]
add esi, 0xa0
test eax, eax
je 0x100715e8
mov eax, dword [eax + 0x50]
jmp 0x100715ed
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x10071605
cmp byte [edi + 0x100f2758], 0
je 0x10071605
inc edi
cmp edi, eax
jle 0x100715f7
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x10071627
call fcn.1004c2d0
mov eax, 0x100f2758
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x10071638
call fcn.1004c2d0
mov dword [esi + 0x14], 0x100f2758
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x10071655
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x100716f2
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0xd8]
add esi, 0xc8
test eax, eax
je 0x1007167d
mov eax, dword [eax + 0x50]
jmp 0x10071682
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x1007169e
lea esp, [esp]
cmp byte [edi + 0x100f275c], 0
je 0x1007169e
inc edi
cmp edi, eax
jle 0x10071690
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x100716c0
call fcn.1004c2d0
mov eax, 0x100f275c
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x100716d1
call fcn.1004c2d0
mov dword [esi + 0x14], 0x100f275c
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x100716ee
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x10071787
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x100]
add esi, 0xf0
test eax, eax
je 0x10071716
mov eax, dword [eax + 0x50]
jmp 0x1007171b
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x10071733
cmp byte [edi + 0x100f2760], 0
je 0x10071733
inc edi
cmp edi, eax
jle 0x10071725
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x10071755
call fcn.1004c2d0
mov eax, 0x100f2760
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x10071766
call fcn.1004c2d0
mov dword [esi + 0x14], 0x100f2760
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x10071783
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], bx
mov word [esi + 0x1e], 0x103
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp byte [ecx + 0x1e], 0
jne 0x10071822
mov esi, dword [eax + 0x28]
mov eax, dword [esi + 0x128]
add esi, 0x118
test eax, eax
je 0x100717ab
mov eax, dword [eax + 0x50]
jmp 0x100717b0
mov eax, 0x3b9aca00
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
js 0x100717ce
lea ebx, [ebx]
cmp byte [edi + str.comment], 0
je 0x100717ce
inc edi
cmp edi, eax
jle 0x100717c0
xor edx, edx
mov ebx, 0x202
push esi
cmp edx, fcn.10037ca0
jne 0x100717f0
call fcn.1004c2d0
mov eax, str.comment
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
jmp 0x10071801
call fcn.1004c2d0
mov dword [esi + 0x14], str.comment
mov ebx, 0xa02
add esp, 4
mov dword [esi + 0x20], 0
cmp edi, dword [esp + 0x10]
jg 0x1007181e
mov word [esi + 0x1e], 0x103
mov word [esi + 0x1c], bx
mov dword [esi + 0x18], edi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x80], 0
jne 0x1007188a
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x200]
sub edi, ecx
mov ebx, eax
test eax, eax
je 0x100718ce
mov eax, dword [eax]
test ecx, ecx
jne 0x10071850
xor esi, esi
jmp 0x10071873
lea ecx, [edi + 1]
mov esi, eax
call fcn.10037ea0
mov esi, eax
test esi, esi
je 0x10071873
mov edx, dword [esp + 0x18]
push edi
push edx
push esi
call fcn.100b6420
add esp, 0xc
mov byte [esi + edi], 0
cmp dword [ebp + 0x14], 0
mov dword [ebx + 0xcc], esi
setne al
mov byte [ebx + 0x83], al
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100718ce
cmp dword [esp + 0x1c], 0
jne 0x1007189f
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x1e], 0
je 0x100718ce
mov ecx, dword [eax + 0x44]
mov esi, eax
cmp ecx, 0xbdf20da3
je 0x100718be
cmp ecx, 0x519c2973
je 0x100718be
cmp ecx, 0x26bceaa5
je 0x100718c3
jmp 0x100718d4
call fcn.1004f020
push esi
call fcn.1004f190
add esp, 4
jmp 0x100718d4
mov edx, dword [esp + 0x24]
mov dword [edx], eax
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, esi
test edi, edi
je 0x10071926
push edi
push 0x100f06f8
push ebx
call fcn.10039da0
add esp, 0xc
cmp edi, dword [esi + 0xf0]
jb 0x1007191b
cmp edi, dword [esi + 0xf4]
jae 0x1007191b
mov eax, dword [esi + 0xec]
mov dword [edi], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], edi
jmp 0x10071931
push edi
call fcn.10037c20
add esp, 4
jmp 0x10071931
push 0
push ebx
call fcn.10039da0
add esp, 8
cmp byte [esi + 0x1e], 0
mov eax, ebx
jne 0x10071941
cmp ebx, 0xc0a
jne 0x10071958
push 0
push 7
mov eax, esi
call fcn.10039da0
add esp, 8
mov byte [esi + 0x1e], 0
mov eax, 7
mov esi, dword [esi + 0x18]
mov ecx, dword [esp + 0x234]
pop edi
and eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret