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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [eax], ebx
call sym.MyService.dll_sqlite3_initialize
cmp eax, ebx
jne 0x100a8ff4
mov edi, dword [ebp + 0x10]
cmp byte [0x1012c3ec], bl
jne 0x100a8b07
xor esi, esi
jmp 0x100a8b27
test edi, 0x8000
je 0x100a8b13
xor esi, esi
jmp 0x100a8b27
mov esi, 1
test edi, 0x10000
jne 0x100a8b27
movzx esi, byte [0x1012c3ed]
test edi, 0x40000
je 0x100a8b37
and edi, 0xfffdffff
jmp 0x100a8b45
cmp dword [0x1012c4b0], ebx
je 0x100a8b45
or edi, 0x20000
and edi, 0xfff600e7
mov dword [ebp + 0x10], edi
cmp dword [0x1012c3e8], ebx
je 0x100a8bc3
mov eax, dword [0x1013afb8]
cmp eax, ebx
je 0x100a8b69
push eax
call dword [0x1012c438]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov eax, 0x228
call fcn.1000a480
mov eax, dword [0x1013afb8]
add esp, 4
cmp eax, ebx
je 0x100a8b8e
push eax
call dword [0x1012c440]
add esp, 4
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x100a8ba6
push 0x228
push 0
push ebx
call fcn.100ff5c0
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x100a8fa4
test esi, esi
je 0x100a8bfe
cmp byte [0x1012c3ec], 0
jne 0x100a8bd9
xor eax, eax
jmp 0x100a8be4
push 0x228
call dword [0x1012c408]
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
jmp 0x100a8b92
push 1
call dword [0x1012c430]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x100a8bfe
push ebx
call sym.MyService.dll_sqlite3_free
mov dword [esp + 0x14], 0
jmp 0x100a8fa1
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100a8c0f
push eax
call dword [0x1012c438]
add esp, 4
and edi, 0x2000000
neg edi
sbb edi, edi
mov dword [ebx + 0x14], 2
mov byte [ebx + 0x61], 0x6d
mov dword [ebx + 0x140], 1
and edi, 0xffffff00
add edi, 0xff
mov dword [ebx + 0x48], edi
xor eax, eax
mov word [ebx + 0x144], ax
mov eax, dword [ebx + 0x24]
lea edx, [ebx + 0x1dc]
mov dword [ebx + 0x10], edx
lea edi, [ebx + 0x78]
mov ecx, 0xc
mov esi, 0x10117cfc
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [ebx + 0xa4], esi
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x5a], 0xff
mov ecx, dword [0x1012c490]
mov dword [ebx + 0x30], ecx
mov edx, dword [0x1012c494]
or dword [ebx + 0x20], 0xe00480e0
push esi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x64], esi
mov dword [ebx + 0xb8], 0x1012c500
mov dword [ebx + 0x24], eax
push fcn.100a62d0
push esi
mov dword [ebx + 0x1c8], esi
mov dword [ebx + 0x1c4], esi
mov dword [ebx + 0x1c0], esi
mov dword [ebx + 0x1cc], esi
push 1
push 0x10113024
mov edi, ebx
mov dword [ebx + 0x19c], esi
mov dword [ebx + 0x198], esi
mov dword [ebx + 0x194], esi
mov dword [ebx + 0x1a0], esi
call fcn.100a81f0
add esp, 0x14
push esi
push fcn.100a62d0
push esi
push 3
push 0x10113024
call fcn.100a81f0
add esp, 0x14
push esi
push fcn.100a62d0
push esi
push 2
push 0x10113024
call fcn.100a81f0
add esp, 0x14
push esi
push 0x100a63b0
push esi
push 1
push str.NOCASE
call fcn.100a81f0
add esp, 0x14
push esi
push 0x100a6360
push esi
push 1
push str.RTRIM
call fcn.100a81f0
add esp, 0x14
cmp byte [ebx + 0x57], 0
jne 0x100a8f93
mov edi, dword [ebp + 0x10]
mov ecx, edi
and ecx, 7
mov edx, 1
shl edx, cl
mov dword [ebx + 0x3c], edi
test dl, 0x46
jne 0x100a8d6b
mov eax, 0x2be64
call fcn.100a9330
mov dword [esp + 0x14], eax
jmp 0x100a8d8f
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [ebp + 0x10]
push ebx
push edx
mov edx, dword [ebp + 0x14]
call fcn.100a8400
mov edi, dword [ebp + 0x10]
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x100a8dcc
cmp eax, 7
jne 0x100a8da5
push ebx
call fcn.1000aee0
mov eax, dword [esp + 0x18]
add esp, 4
mov edi, dword [esp + 0x1c]
mov ecx, edi
neg ecx
sbb ecx, ecx
and ecx, 0x10112e4c
push edi
push ecx
mov ecx, ebx
call fcn.1000e0d0
push edi
call sym.MyService.dll_sqlite3_free
add esp, 0xc
jmp 0x100a8f93
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx]
or edi, 0x100
push edi
push esi
push edx
add ecx, 4
push eax
mov edx, ebx
call fcn.10022880
add esp, 0x10
cmp eax, esi
je 0x100a8e1d
cmp eax, 0xc0a
jne 0x100a8dfc
mov eax, 7
mov dword [ebx + 0x40], eax
cmp eax, esi
jne 0x100a8e0f
mov eax, ebx
call fcn.1000e070
jmp 0x100a8f93
call fcn.1000e000
mov ebx, dword [esp + 0xc]
jmp 0x100a8f91
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
call fcn.10020870
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 4]
push ebx
call fcn.10060a30
mov ecx, dword [ebx + 0x10]
add esp, 4
mov dword [ecx + 0xc], eax
cmp byte [ebx + 0x57], 0
jne 0x100a8e59
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0xc]
mov bl, byte [eax + 0x4d]
mov esi, dword [esp + 0xc]
call fcn.10060390
mov ebx, esi
xor esi, esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
call fcn.10020930
push ebx
xor ecx, ecx
call fcn.10060a30
mov edx, dword [ebx + 0x10]
mov dword [edx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [eax], str.main
mov ecx, dword [ebx + 0x10]
mov byte [ecx + 8], 3
mov edx, dword [ebx + 0x10]
mov dword [edx + 0x10], str.temp
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x18], 1
add esp, 4
cmp byte [ebx + 0x57], 0
mov byte [ebx + 0x61], 0x76
jne 0x100a8f93
mov dword [ebx + 0x40], esi
cmp dword [ebx + 0x130], esi
je 0x100a8ebe
xor eax, eax
call fcn.1000e000
mov ebx, dword [esp + 0xc]
xor esi, esi
jmp 0x100a8ec5
mov dword [ebx + 0x44], 0xffffffff
push 2
push str.MATCH
push ebx
call sym.MyService.dll_sqlite3_overload_function
add esp, 0xc
cmp eax, 7
jne 0x100a8ee3
push ebx
call fcn.1000aee0
add esp, 4
push ebx
call sym.MyService.dll_sqlite3_errcode
add esp, 4
cmp eax, esi
jne 0x100a8f0c
mov edi, 0x1011481c
cmp edi, 0x10114830
jge 0x100a8f1c
mov ecx, dword [edi]
push ebx
call ecx
add esp, 4
add edi, 4
cmp eax, esi
je 0x100a8ef5
mov dword [ebx + 0x40], eax
cmp eax, esi
jne 0x100a8f38
mov eax, ebx
call fcn.1000e070
jmp 0x100a8f43
cmp eax, esi
jne 0x100a8f0c
push ebx
call fcn.1006eb00
add esp, 4
push ebx
call sym.MyService.dll_sqlite3_errcode
add esp, 4
cmp eax, esi
jne 0x100a8f93
jmp 0x100a8f43
call fcn.1000e000
mov ebx, dword [esp + 0xc]
xor esi, esi
mov edx, dword [0x1012c400]
mov eax, dword [0x1012c3fc]
push edx
push eax
push esi
mov esi, ebx
call fcn.100a5d70
mov eax, dword [ebx + 0xc]
add esp, 0xc
test eax, eax
je 0x100a8f6c
push eax
call dword [0x1012c438]
add esp, 4
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x11c], 0x100a7b60
mov dword [ebx + 0x120], 0x3e8
test eax, eax
je 0x100a8f91
push eax
call dword [0x1012c440]
add esp, 4
xor esi, esi
mov ebx, dword [ebx + 0xc]
cmp ebx, esi
je 0x100a8fa4
push ebx
call dword [0x1012c440]
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call sym.MyService.dll_sqlite3_errcode
mov ebx, eax
add esp, 4
cmp bl, 7
jne 0x100a8fd0
mov eax, dword [esp + 0x10]
push 0
call fcn.100a6660
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x100a8fdc
test ebx, ebx
je 0x100a8fdc
mov edx, dword [esp + 0x10]
mov byte [edx + 0x61], 0xba
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push edx
mov dword [eax], ecx
call sym.MyService.dll_sqlite3_free_filename
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret