Function at 0x10066c10
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
test edx, edx
mov eax, edx
mov dword [ebp - 0x14], edx
je 0x10067122
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
and esi, 0x3fffffff
mov eax, edi
and eax, 0x40
shr eax, 6
cmp byte [0x101ef026], 0
setne cl
or cl, al
cmp cl, 1
mov edx, dword [ebp - 0x14]
jne 0x10066ffc
cmp esi, 5
jb 0x10066ffc
mov eax, 0x656c6966
xor eax, dword [edx]
movzx ecx, byte [edx + 4]
xor ecx, 0x3a
or ecx, eax
jne 0x10066ffc
mov dword [ebp - 0x20], edi
lea edi, [esi + 8]
xor ebx, ebx
xor eax, eax
xor ecx, ecx
cmp byte [edx + eax], 0x26
sete cl
add edi, ecx
adc ebx, 0
inc eax
cmp esi, eax
jne 0x10066c88
call sym.nss3.dll_sqlite3_initialize
mov dword [ebp - 0x1c], 7
test eax, eax
jne 0x10066ff1
mov ecx, edi
mov edx, ebx
call fcn.10143580
test eax, eax
mov edi, dword [ebp - 0x20]
je 0x10066ff1
mov ebx, eax
mov dword [eax], 0
mov esi, dword [ebp - 0x14]
lea eax, [esi + 5]
push 3
push 0x101d9334
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10067148
lea eax, [esi + 7]
push 3
push 0x101d9334
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
xor esi, esi
cmp eax, 1
adc esi, 7
or edi, 0x40
mov dword [ebp - 0x20], edi
add ebx, 4
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
mov bl, byte [ecx + esi]
mov ecx, esi
test bl, bl
je 0x10066e0f
movzx edi, bl
cmp edi, 0x23
je 0x10066e0f
lea esi, [ecx + 1]
cmp bl, 0x25
je 0x10066d91
cmp edx, 1
je 0x10066d5e
test edx, edx
jne 0x10066d4b
cmp bl, 0x3f
je 0x10066d8d
cmp edx, 2
jne 0x10066d55
cmp bl, 0x26
je 0x10066d8d
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], bl
inc eax
jmp 0x10066d19
cmp bl, 0x3d
je 0x10066d6d
cmp edi, 0x26
je 0x10066d6d
xor edx, edx
inc edx
jmp 0x10066d55
mov ecx, dword [ebp - 0x10]
cmp byte [eax + ecx - 1], 0
je 0x100670ec
cmp bl, 0x26
je 0x1006710e
mov edx, 2
xor ebx, ebx
jmp 0x10066d55
xor ebx, ebx
jmp 0x10066d68
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test byte [eax + 0x101af95a], 8
mov eax, dword [ebp - 0x18]
je 0x10066d3d
mov eax, dword [ebp - 0x14]
movzx eax, byte [ecx + eax + 2]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
test byte [ecx + 0x101af95a], 8
mov ecx, dword [ebp - 0x2c]
je 0x10066d3d
mov edi, edx
mov edx, dword [ebp - 0x28]
mov ebx, edx
add bl, dl
sar bl, 7
and bl, 9
add bl, dl
shl bl, 4
mov byte [ebp - 0x28], bl
add ecx, 3
mov edx, dword [ebp - 0x1c]
mov ebx, edx
add bl, bl
sar bl, 7
and bl, 9
add bl, dl
and bl, 0xf
or bl, byte [ebp - 0x28]
je 0x1006705b
mov esi, ecx
mov edx, edi
jmp 0x10066d55
cmp edx, 1
je 0x1006716f
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
mov dword [ebx + eax], 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
cmp byte [eax + ebx + 1], 0
je 0x10066f39
add ebx, eax
inc ebx
mov dword [ebp - 0x24], edi
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
mov edi, 0x3fffffff
and esi, edi
lea ecx, [esi + ebx]
inc ecx
mov dword [ebp - 0x18], ecx
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, edi
mov dword [ebp - 0x14], eax
cmp esi, 5
jne 0x10066ee6
mov eax, dword [ebx]
mov ecx, 0x68636163
xor eax, ecx
movzx ecx, byte [ebx + 4]
xor ecx, 0x65
or ecx, eax
jne 0x1006717f
mov dword [ebp - 0x28], 0x60000
mov dword [ebp - 0x1c], 0xfff9ffff
mov dword [ebp - 0x2c], str.cache
mov esi, 0x101b483c
mov edi, dword [ebp - 0x24]
mov ebx, dword [esi]
test ebx, ebx
je 0x1006708d
add esi, 8
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
cmp dword [ebp - 0x14], eax
jne 0x10066ed8
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x18]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10066efc
mov ebx, dword [esi]
add esi, 8
test ebx, ebx
jne 0x10066eb2
jmp 0x1006708d
cmp esi, 4
je 0x10067187
cmp esi, 3
mov edi, dword [ebp - 0x24]
jne 0x10066f23
jmp 0x100671b9
mov eax, dword [esi - 4]
test eax, eax
je 0x1006708d
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [ebp - 0x28]
jg 0x100671d9
mov ecx, dword [ebp - 0x1c]
and ecx, dword [ebp - 0x20]
or eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea ebx, [ecx + eax]
inc ebx
cmp byte [ebx], 0
jne 0x10066e41
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 0xc]
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x10067129
mov dword [ebp - 0x14], 0
mov bl, 1
cmp byte [0x101ef024], 0
je 0x10066f8e
mov ecx, dword [0x101ef068]
call dword [section..00cfg]
push 2
call ecx
add esp, 4
test eax, eax
je 0x10066f8e
mov esi, eax
mov ecx, dword [0x101ef070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov esi, dword [0x101f213c]
test edi, edi
je 0x10066fb5
test esi, esi
je 0x10066fb5
push dword [esi + 0x10]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x10066fb5
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x10066f9c
xor esi, esi
test bl, bl
jne 0x10066fcd
mov ecx, dword [0x101ef078]
call dword [section..00cfg]
push dword [ebp - 0x14]
call ecx
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test esi, esi
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
je 0x1006712f
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [eax], esi
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.nss3.dll_sqlite3_initialize
mov dword [ebp - 0x1c], 7
test eax, eax
jne 0x10066ff1
lea ecx, [esi + 8]
xor edx, edx
call fcn.10143580
test eax, eax
je 0x10066ff1
mov ebx, eax
mov dword [eax], 0
add ebx, 4
test esi, esi
mov eax, dword [ebp - 0x14]
je 0x10067037
push esi
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebx + esi], 0
and edi, 0xffffffbf
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x24]
jmp 0x10066f39
inc ecx
jmp 0x1006705b
cmp edi, 2
jne 0x1006704c
cmp bl, 0x26
jne 0x1006704c
jmp 0x10067083
mov esi, dword [ebp - 0x14]
movzx ebx, byte [esi + ecx]
test ebx, ebx
je 0x10067083
cmp ebx, 0x23
je 0x10067083
test edi, edi
jne 0x10067074
cmp bl, 0x3f
je 0x10067083
cmp edi, 1
jne 0x1006704f
cmp ebx, 0x26
je 0x10067083
cmp ebx, 0x3d
jne 0x1006704c
mov eax, dword [ebp - 0x18]
mov edx, edi
jmp 0x10066d21
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push str.no_such__s_mode:__s
call sym.nss3.dll_sqlite3_mprintf
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
add dword [ebp - 0x10], 0xfffffffc
mov eax, dword [ebp - 0x10]
cmp byte [eax + 3], 0
je 0x100670bd
dec dword [ebp - 0x10]
jmp 0x100670af
mov eax, dword [ebp - 0x10]
cmp byte [eax + 2], 0
jne 0x100670b8
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 0
jne 0x100670b8
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x100670b8
push dword [ebp - 0x10]
call sym.nss3.dll_sqlite3_free
add esp, 4
xor esi, esi
mov edx, dword [ebp - 0x20]
jmp 0x10066fe7
mov edi, eax
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + esi]
xor edx, edx
inc edx
test ecx, ecx
je 0x1006711b
cmp ecx, 0x23
je 0x1006711b
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi - 1], 0x26
je 0x1006711b
inc esi
jmp 0x100670ee
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], 0
inc eax
jmp 0x10066d8d
mov eax, edi
jmp 0x10066d19
xor esi, esi
jmp 0x10066c3f
mov dword [esi], 0
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
push edi
push str.no_such_vfs:__s
call sym.nss3.dll_sqlite3_mprintf
add esp, 8
jmp 0x100670a6
push 0xc
push str.__localhost_
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
mov eax, 0x10
mov esi, 5
cmove esi, eax
jmp 0x10066d09
mov ebx, dword [ebp - 0x10]
mov byte [ebx + eax], 0
inc eax
mov edi, dword [ebp - 0x24]
jmp 0x10066e1e
mov edi, dword [ebp - 0x24]
jmp 0x10066f23
mov edi, dword [ebp - 0x24]
cmp dword [ebx], 0x65646f6d
jne 0x10066f23
mov eax, dword [ebp - 0x20]
and eax, 0x87
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0xffffff78
mov dword [ebp - 0x2c], str.access
mov esi, 0x101b4854
jmp 0x10066ea5
movzx eax, word [ebx]
xor eax, 0x6676
movzx ecx, byte [ebx + 2]
xor ecx, 0x73
or cx, ax
jne 0x10066f23
mov edi, dword [ebp - 0x18]
jmp 0x10066f23
mov dword [ebp - 0x1c], 3
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push str._s_mode_not_allowed:__s
jmp 0x1006709e