Function at 0x100a8400
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], edx
cmp edi, ecx
jne 0x100a8429
xor esi, esi
jmp 0x100a8440
mov eax, edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100a8430
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
test bl, 0x40
jne 0x100a8451
cmp byte [0x1012c3ee], cl
je 0x100a8949
cmp esi, 5
jl 0x100a8949
cmp dword [edi], 0x656c6966
jne 0x100a8949
cmp byte [edi + 4], 0x3a
jne 0x100a8949
or dword [esp + 0x14], 0x40
lea eax, [esi + 8]
cdq
mov ebx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edx
cmp esi, ecx
jle 0x100a84a5
cmp byte [eax + edi], 0x26
jne 0x100a8496
mov ecx, 1
jmp 0x100a8498
xor ecx, ecx
xor edx, edx
add ebx, ecx
adc dword [esp + 0x34], edx
inc eax
cmp eax, esi
jl 0x100a8489
call sym.MyService.dll_sqlite3_initialize
test eax, eax
jne 0x100a84c6
mov eax, dword [esp + 0x34]
mov ecx, ebx
or ecx, eax
je 0x100a84c6
push eax
push ebx
call fcn.1000a580
add esp, 8
test eax, eax
jne 0x100a84d2
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax], 0
add eax, 4
mov bl, 0x2f
mov dword [esp + 0x10], eax
mov eax, 5
cmp byte [edi + 5], bl
jne 0x100a855c
cmp byte [edi + 6], bl
jne 0x100a855c
mov cl, byte [edi + 7]
lea edx, [edi + 7]
mov eax, 7
mov dword [esp + 0x30], edx
test cl, cl
je 0x100a855c
cmp cl, bl
je 0x100a8510
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x100a8503
cmp eax, 7
je 0x100a855c
cmp eax, 0x10
jne 0x100a8540
lea ecx, [eax - 7]
mov esi, str.localhost
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x100a853c
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x100a8522
mov dl, byte [edx]
cmp dl, byte [esi]
je 0x100a855c
mov edx, dword [esp + 0x30]
push edx
add eax, 0xfffffff9
push eax
push str.invalid_uri_authority:__.s
call sym.MyService.dll_sqlite3_mprintf
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x100a89d1
mov cl, byte [eax + edi]
xor esi, esi
mov dword [esp + 0x1c], esi
test cl, cl
je 0x100a86ee
lea ecx, [ecx]
cmp cl, 0x23
je 0x100a86d6
inc eax
cmp cl, 0x25
jne 0x100a8642
mov dl, byte [eax + edi]
movzx ebx, dl
test byte [ebx + 0x10113038], 8
je 0x100a8642
movzx ebx, byte [eax + edi + 1]
test byte [ebx + 0x10113038], 8
je 0x100a8642
movsx esi, byte [eax + edi + 1]
movsx ecx, dl
mov edx, ecx
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub cl, bl
mov edx, esi
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
mov dword [esp + 0x30], esi
movzx edx, byte [esp + 0x30]
sub dl, bl
and ecx, 0xf
shl ecx, 4
add eax, 2
and edx, 0xf
add ecx, edx
jne 0x100a86b7
mov cl, byte [eax + edi]
test cl, cl
je 0x100a86c7
mov edx, dword [esp + 0x1c]
cmp cl, 0x23
je 0x100a86c7
test edx, edx
jne 0x100a8616
cmp cl, 0x3f
jmp 0x100a862e
cmp edx, 1
jne 0x100a8626
cmp cl, 0x3d
je 0x100a86c7
jmp 0x100a862b
cmp edx, 2
jne 0x100a8634
cmp cl, 0x26
je 0x100a86c7
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x100a8604
jmp 0x100a86c7
cmp esi, 1
jne 0x100a8698
cmp cl, 0x26
je 0x100a8651
cmp cl, 0x3d
jne 0x100a86b7
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
cmp byte [esi + edx - 1], 0
jne 0x100a867e
mov cl, byte [eax + edi]
test cl, cl
je 0x100a86c7
cmp cl, 0x23
je 0x100a86c7
cmp byte [eax + edi - 1], 0x26
je 0x100a86c7
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x100a8667
jmp 0x100a86c7
cmp cl, 0x26
jne 0x100a868e
mov byte [esi + edx], 0
inc edx
mov dword [esp + 0x18], edx
jmp 0x100a86b5
mov dword [esp + 0x1c], 2
jmp 0x100a86b5
test esi, esi
jne 0x100a86a3
cmp cl, 0x3f
je 0x100a86ad
jmp 0x100a86b7
cmp esi, 2
jne 0x100a86b7
cmp cl, 0x26
jne 0x100a86b7
mov dword [esp + 0x1c], 1
xor cl, cl
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov byte [esi + edx], cl
inc edx
mov dword [esp + 0x18], edx
mov cl, byte [eax + edi]
mov esi, dword [esp + 0x1c]
test cl, cl
jne 0x100a8570
cmp esi, 1
jne 0x100a86ee
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov byte [ecx + eax], 0
inc eax
mov dword [esp + 0x18], eax
jmp 0x100a86f2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [ecx + eax], 0
test ecx, ecx
jne 0x100a8705
xor eax, eax
jmp 0x100a871e
mov eax, ecx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a8710
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esp + 0x10]
cmp byte [eax + ecx + 1], 0
lea ecx, [eax + ecx + 1]
je 0x100a89a8
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100a8736
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
lea eax, [esi + ecx + 1]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100a8756
xor ebx, ebx
jmp 0x100a8774
mov eax, dword [esp + 0x1c]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100a8760
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
cmp esi, 3
jne 0x100a87a3
cmp byte [ecx], 0x76
jne 0x100a890c
cmp byte [ecx + 1], 0x66
jne 0x100a890c
cmp byte [ecx + 2], 0x73
jne 0x100a890c
mov dword [esp + 0x3c], eax
jmp 0x100a890c
cmp esi, 5
jne 0x100a87d6
cmp dword [ecx], 0x68636163
jne 0x100a890c
cmp byte [ecx + 4], 0x65
jne 0x100a890c
mov eax, 0x60000
mov dword [esp + 0x30], eax
mov edi, 0x1012dcd8
mov dword [esp + 0x28], str.cache
jmp 0x100a8809
cmp esi, 4
jne 0x100a890c
cmp dword [ecx], 0x65646f6d
jne 0x100a890c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x87
mov edi, 0x1012dcf0
and eax, 0x87
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x100a88b9
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100a8824
sub eax, esi
and eax, 0x3fffffff
cmp ebx, eax
jne 0x100a88a4
mov edx, dword [esp + 0x1c]
mov esi, ebx
cmp ebx, 4
jb 0x100a8855
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100a885d
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x100a8841
test esi, esi
je 0x100a88de
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x100a8898
cmp esi, 1
jbe 0x100a88da
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x100a8898
cmp esi, 2
jbe 0x100a88da
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x100a8898
cmp esi, 3
jbe 0x100a88da
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [esp + 0x18]
sar eax, 0x1f
or eax, 1
je 0x100a88de
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [esp + 0x24], eax
test ecx, ecx
jne 0x100a881f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.no_such__s_mode:__s
call sym.MyService.dll_sqlite3_mprintf
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x100a89d1
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x100a88b9
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [esp + 0x2c]
jg 0x100a8920
mov ecx, dword [esp + 0x30]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
cmp byte [ebx + eax + 1], 0
lea ecx, [ebx + eax + 1]
jne 0x100a8731
jmp 0x100a89a8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push edx
push eax
push str._s_mode_not_allowed:__s
call sym.MyService.dll_sqlite3_mprintf
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x20], 3
jmp 0x100a89d9
lea eax, [esi + 8]
cdq
mov ebx, eax
mov dword [esp + 0x34], edx
call sym.MyService.dll_sqlite3_initialize
test eax, eax
jne 0x100a84c6
mov eax, dword [esp + 0x34]
mov edx, ebx
or edx, eax
je 0x100a84c6
push eax
push ebx
call fcn.1000a580
add esp, 8
test eax, eax
je 0x100a84c6
lea ebx, [eax + 4]
mov dword [eax], 0
mov dword [esp + 0x10], ebx
test esi, esi
je 0x100a899c
push esi
push edi
push ebx
call fcn.101025e0
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov dword [ebx + esi], 0
mov esi, dword [esp + 0x3c]
push esi
call sym.MyService.dll_sqlite3_vfs_find
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x100a8a0c
push esi
push str.no_such_vfs:__s
call sym.MyService.dll_sqlite3_mprintf
mov edx, dword [ebp + 0x14]
add esp, 8
mov dword [edx], eax
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100a8a08
cmp byte [eax - 1], 0
jne 0x100a89f9
cmp byte [eax - 2], 0
jne 0x100a89f9
cmp byte [eax - 3], 0
jne 0x100a89f9
cmp byte [eax - 4], 0
je 0x100a89fc
dec eax
jmp 0x100a89e1
add eax, 0xfffffffc
push eax
call sym.MyService.dll_sqlite3_free
add esp, 4
xor eax, eax
jmp 0x100a8a10
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
pop edi
mov dword [ecx], edx
mov ecx, dword [ebp + 0x10]
pop esi
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
pop ebx
mov esp, ebp
pop ebp
ret