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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
push ebx
push esi
mov eax, edx
mov dword [esp + 0x14], 0
push edi
push 0x50
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [eax], 1
mov ebx, ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x10], ebx
push esi
xor edi, edi
push eax
mov dword [esp + 0x20], edi
call fcn.05b02790
add esp, 0xc
mov word [esp + 0x69], si
mov ecx, ebx
mov dword [esp + 0x4c], esi
call fcn.05c1b2f0
test eax, eax
jne 0x5b47325
push 0x5c40e4c
push 0x2b039
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0x14
jmp 0x5b47336
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5b47336
push eax
call dword [0x5c52638]
add esp, 4
push 0
push 0
push 0
push str.SAVEPOINT_changeset_apply
push ebx
call sym.SQLite.Interop.dll_SIa2c646e1460e3d6a
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x5b476ee
push eax
push eax
push eax
push str.PRAGMA_defer_foreign_keys__1
push dword [esp + 0x1c]
call sym.SQLite.Interop.dll_SIa2c646e1460e3d6a
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x5b476ee
push ecx
mov ecx, dword [esp + 0x14]
xor edx, edx
push 0
call fcn.05b4a3b0
add esp, 8
cmp eax, 0x64
jne 0x5b476ee
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x4c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x1c], ecx
test edi, edi
je 0x5b473bb
lea eax, [esi + 1]
push eax
push edi
push ecx
call fcn.05c1c480
add esp, 0xc
test eax, eax
je 0x5b476b5
push dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push dword [ebp + 0xc]
mov ecx, esi
push eax
mov eax, dword [esp + 0x1c]
push edi
mov edx, dword [eax + 0x38]
call fcn.05b47a70
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x5b476f2
lea ecx, [esp + 0x20]
call fcn.05b48ff0
push dword [esp + 0x34]
call sym.SQLite.Interop.dll_SI9edfb98001bcad06
add esp, 4
push dword [esp + 0x24]
call fcn.05bf3ed0
add esp, 4
push dword [esp + 0x28]
call fcn.05bf3ed0
add esp, 4
push dword [esp + 0x2c]
call fcn.05bf3ed0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 1
mov byte [esp + 0x68], bl
mov dword [esp + 0x6c], ebx
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], ebx
movups xmmword [esp + 0x24], xmm0
test eax, eax
je 0x5b474a4
push edi
push dword [ebp + 0x10]
call eax
add esp, 8
test eax, eax
jne 0x5b474a4
push edi
push 0x5c38c48
mov dword [esp + 0x20], 1
call sym.SQLite.Interop.dll_SI5ea70b9767a9e9ce
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
je 0x5b476e3
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5b47492
sub esi, ecx
mov dword [esp + 0x34], edi
jmp 0x5b47372
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov esi, dword [eax + 0x5c]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x7c], esi
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
push edi
push str.main
call fcn.05b4ed30
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0x7c], ebx
test ebx, ebx
jne 0x5b476ea
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
test eax, eax
jle 0x5b47540
lea ebx, [edx - 1]
mov edi, 1
mov edx, dword [esp + 0x1c]
mov esi, eax
mov al, byte [ebx + edi]
mov ecx, edi
inc edi
test al, al
cmove ecx, edx
mov edx, ecx
sub esi, 1
jne 0x5b47518
mov eax, dword [esp + 0x30]
test eax, eax
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x74]
jne 0x5b47551
mov edi, dword [esp + 0x14]
push edi
push str.SIabcd6360beb68a2a__:_no_such_table:__s
jmp 0x5b47687
mov edi, dword [esp + 0x80]
cmp eax, edi
jge 0x5b4757f
push edi
mov edi, dword [esp + 0x18]
push eax
push edi
push str.SIabcd6360beb68a2a__:_table__s_has__d_columns__expected__d_or_more
push 0x11
mov dword [esp + 0x2c], 1
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0x14
jmp 0x5b47699
cmp edi, dword [esp + 0x1c]
jl 0x5b4767d
mov ecx, edi
sub ecx, 4
jb 0x5b475a1
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5b475a6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x5b47590
cmp ecx, 0xfffffffc
je 0x5b475e3
mov al, byte [edx]
cmp al, byte [esi]
jne 0x5b4767d
cmp ecx, 0xfffffffd
je 0x5b475e3
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x5b4767d
cmp ecx, 0xfffffffe
je 0x5b475e3
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x5b4767d
cmp ecx, 0xffffffff
je 0x5b475e3
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
jne 0x5b4767d
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x5b47622
mov edx, str.sqlite_stat1
mov ecx, edi
call fcn.05c1c500
test eax, eax
jne 0x5b47622
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.05b48760
mov ebx, eax
test ebx, ebx
jne 0x5b476f2
mov dword [esp + 0x44], 1
jmp 0x5b47699
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
mov edx, edi
mov ecx, esi
call fcn.05b48a50
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5b476f2
lea eax, [esp + 0x20]
mov edx, edi
push eax
mov ecx, esi
call fcn.05b48a80
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5b476f2
lea eax, [esp + 0x20]
mov edx, edi
push eax
mov ecx, esi
call fcn.05b48800
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5b476f2
mov dword [esp + 0x44], eax
jmp 0x5b47699
mov edi, dword [esp + 0x14]
push edi
push str.SIabcd6360beb68a2a__:_primary_key_mismatch_for_table__s
push 0x11
mov dword [esp + 0x24], 1
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0xc
test edi, edi
jne 0x5b476a1
xor esi, esi
jmp 0x5b476b5
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5b476a6
sub esi, ecx
and esi, 0x3fffffff
cmp dword [esp + 0x18], 0
jne 0x5b476d9
push dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
push eax
call fcn.05b47c90
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x5b47372
jmp 0x5b476ee
mov ebx, 7
jmp 0x5b476f2
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x5b4770b
call sym.SQLite.Interop.dll_SIc7e5bd609ce4c68a
mov ebx, eax
jmp 0x5b47710
call sym.SQLite.Interop.dll_SIc7e5bd609ce4c68a
add esp, 4
test ebx, ebx
jne 0x5b4782c
push dword [ebp + 0x10]
lea eax, [esp + 0x24]
mov ecx, esi
push dword [ebp + 0xc]
push eax
push edi
mov edi, dword [esp + 0x20]
mov edx, edi
call fcn.05b47a70
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x5b47830
test esi, esi
jne 0x5b4774c
push str.NULL
jmp 0x5b47767
mov al, byte [esi + 0x61]
cmp al, 0x76
je 0x5b4779d
cmp al, 0xba
je 0x5b47762
cmp al, 0x6d
je 0x5b47762
push str.invalid
jmp 0x5b47767
push str.unopened
push str.API_call_with__s_database_connection_pointer
push 0x15
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0xc
push 0x5c40e4c
push 0x5be4
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call sym.SQLite.Interop.dll_SI350ef657c32efd79
mov edi, dword [esp + 0x98]
add esp, 0x14
jmp 0x5b477f0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5b477ae
push eax
call dword [0x5c52638]
add esp, 4
cmp dword [esi + 0x21c], 0
jg 0x5b477da
jl 0x5b477c2
cmp dword [esi + 0x218], 0
ja 0x5b477da
cmp dword [esi + 0x214], 0
jg 0x5b477da
jl 0x5b477d6
cmp dword [esi + 0x210], 0
ja 0x5b477da
xor edi, edi
jmp 0x5b477df
mov edi, 1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5b477f0
push eax
call dword [0x5c52640]
add esp, 4
test edi, edi
je 0x5b4782c
push 0x64
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.05b02790
add esp, 0xc
mov dword [esp + 0xd8], edi
lea eax, [esp + 0x88]
push eax
push 5
push dword [ebp + 0x10]
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, 0x13
test eax, eax
cmovne ebx, ecx
mov edi, dword [esp + 0x10]
push 0
push 0
push 0
push str.PRAGMA_defer_foreign_keys__0
push esi
call sym.SQLite.Interop.dll_SIa2c646e1460e3d6a
add esp, 0x14
push 0
push 0
push 0
test ebx, ebx
jne 0x5b4785d
push str.RELEASE_changeset_apply
push esi
call sym.SQLite.Interop.dll_SIa2c646e1460e3d6a
mov ebx, eax
jmp 0x5b4787c
push str.ROLLBACK_TO_changeset_apply
push esi
call sym.SQLite.Interop.dll_SIa2c646e1460e3d6a
add esp, 0x14
push 0
push 0
push 0
push str.RELEASE_changeset_apply
push esi
call sym.SQLite.Interop.dll_SIa2c646e1460e3d6a
add esp, 0x14
test ebx, ebx
jne 0x5b4789f
test edi, edi
jne 0x5b4789f
cmp byte [esp + 0x69], bl
je 0x5b4789f
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [ecx], eax
mov eax, dword [esp + 0x60]
mov dword [ecx], eax
lea ecx, [esp + 0x20]
call fcn.05b48ff0
push dword [esp + 0x28]
call fcn.05bf3ed0
add esp, 4
push dword [esp + 0x24]
call fcn.05bf3ed0
add esp, 4
push dword [esp + 0x2c]
call fcn.05bf3ed0
mov edi, dword [esp + 0x38]
add esp, 4
test edi, edi
je 0x5b4792c
cmp dword [0x5c525e8], 0
je 0x5b47922
mov eax, dword [0x5c545d8]
test eax, eax
je 0x5b478f0
push eax
call dword [0x5c52638]
add esp, 4
push edi
call dword [0x5c52614]
sub dword [0x5c54628], eax
add esp, 4
dec dword [0x5c5464c]
push edi
call dword [0x5c5260c]
mov eax, dword [0x5c545d8]
add esp, 4
test eax, eax
je 0x5b47931
push eax
call dword [0x5c52640]
jmp 0x5b47929
push edi
call dword [0x5c5260c]
add esp, 4
mov eax, dword [0x5c545d8]
mov edi, dword [esp + 0x50]
test edi, edi
je 0x5b47991
cmp dword [0x5c525e8], 0
je 0x5b47982
test eax, eax
je 0x5b47950
push eax
call dword [0x5c52638]
add esp, 4
push edi
call dword [0x5c52614]
sub dword [0x5c54628], eax
add esp, 4
dec dword [0x5c5464c]
push edi
call dword [0x5c5260c]
mov eax, dword [0x5c545d8]
add esp, 4
test eax, eax
je 0x5b47991
push eax
call dword [0x5c52640]
jmp 0x5b47989
push edi
call dword [0x5c5260c]
mov eax, dword [0x5c545d8]
add esp, 4
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x5b479ec
cmp dword [0x5c525e8], 0
je 0x5b479e2
test eax, eax
je 0x5b479b0
push eax
call dword [0x5c52638]
add esp, 4
push edi
call dword [0x5c52614]
sub dword [0x5c54628], eax
add esp, 4
dec dword [0x5c5464c]
push edi
call dword [0x5c5260c]
mov eax, dword [0x5c545d8]
add esp, 4
test eax, eax
je 0x5b479ec
push eax
call dword [0x5c52640]
jmp 0x5b479e9
push edi
call dword [0x5c5260c]
add esp, 4
test esi, esi
jne 0x5b479f7
push str.NULL
jmp 0x5b47a12
mov al, byte [esi + 0x61]
cmp al, 0x76
je 0x5b47a48
cmp al, 0xba
je 0x5b47a0d
cmp al, 0x6d
je 0x5b47a0d
push str.invalid
jmp 0x5b47a12
push str.unopened
push str.API_call_with__s_database_connection_pointer
push 0x15
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0xc
push 0x5c40e4c
push 0x2b039
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5b47a59
push eax
call dword [0x5c52640]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret