Function at 0x1006c3c0
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 ebx, dword [eax]
test edx, edx
mov eax, edx
mov dword [ebp - 0x14], edx
je 0x1006c8e6
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
and esi, 0x3fffffff
cmp byte [0x101db026], 0
setne al
cmp esi, 5
mov edx, dword [ebp - 0x14]
jb 0x1006c6de
mov ecx, ebx
and ecx, 0x40
shr ecx, 6
or cl, al
je 0x1006c6de
mov eax, 0x656c6966
xor eax, dword [edx]
movzx ecx, byte [edx + 4]
xor ecx, 0x3a
or ecx, eax
jne 0x1006c6de
mov dword [ebp - 0x20], ebx
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 0x1006c435
call sym.nss3.dll_sqlite3_initialize
mov dword [ebp - 0x18], 7
test eax, eax
jne 0x1006c7ef
mov ecx, edi
mov edx, ebx
call fcn.10144e50
test eax, eax
mov ebx, dword [ebp - 0x20]
je 0x1006c7ef
mov edi, eax
mov dword [eax], 0
mov esi, dword [ebp - 0x14]
lea eax, [esi + 5]
push 3
push 0x101c5c05
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 0x1006c90b
lea eax, [esi + 7]
push 3
push 0x101c5c05
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
cmp eax, 1
mov esi, 7
adc esi, 0
or ebx, 0x40
mov dword [ebp - 0x20], ebx
add edi, 4
xor edx, edx
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 0x14]
mov bl, byte [ecx + esi]
mov ecx, esi
test bl, bl
je 0x1006c5b8
cmp bl, 0x23
je 0x1006c5b8
lea esi, [ecx + 1]
cmp bl, 0x25
je 0x1006c547
test edx, edx
jne 0x1006c500
xor edx, edx
cmp bl, 0x3f
je 0x1006c523
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], bl
inc eax
jmp 0x1006c4cb
cmp edx, 1
jne 0x1006c514
cmp bl, 0x3d
je 0x1006c527
cmp bl, 0x26
je 0x1006c527
xor edx, edx
inc edx
jmp 0x1006c4f7
cmp edx, 2
jne 0x1006c4f7
mov edx, 2
cmp bl, 0x26
jne 0x1006c4f7
xor ebx, ebx
jmp 0x1006c50f
mov ecx, dword [ebp - 0x10]
cmp byte [eax + ecx - 1], 0
je 0x1006c7fb
cmp bl, 0x26
je 0x1006c8d9
mov edx, 2
xor ebx, ebx
jmp 0x1006c4f7
mov edi, dword [ebp - 0x14]
movzx edi, byte [edi + esi]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x1c]
test byte [edi + 0x1019c89a], 8
je 0x1006c4ec
mov edi, dword [ebp - 0x14]
movzx edi, byte [ecx + edi + 2]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x18]
test byte [edi + 0x1019c89a], 8
je 0x1006c4ec
mov ebx, dword [ebp - 0x1c]
shr bl, 6
and bl, 1
movzx esi, bl
lea ebx, [esi + esi*8]
add bl, byte [ebp - 0x1c]
shl bl, 4
mov dword [ebp - 0x1c], ebx
add ecx, 3
mov ebx, dword [ebp - 0x18]
shr bl, 6
and bl, 1
movzx esi, bl
lea ebx, [esi + esi*8]
add bl, byte [ebp - 0x18]
and bl, 0xf
or bl, byte [ebp - 0x1c]
je 0x1006c836
mov esi, ecx
jmp 0x1006c4f7
cmp edx, 1
je 0x1006c932
mov esi, dword [ebp - 0x10]
mov dword [esi + eax], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
cmp byte [eax + esi + 1], 0
je 0x1006c736
mov ecx, dword [ebp - 0x10]
lea ebx, [eax + ecx]
inc ebx
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
mov eax, 0x3fffffff
and esi, eax
lea ecx, [esi + ebx]
inc ecx
mov dword [ebp - 0x1c], ecx
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, 0x3fffffff
and eax, ecx
mov dword [ebp - 0x14], eax
cmp esi, 5
jne 0x1006c68f
mov eax, dword [ebx]
mov ecx, 0x68636163
xor eax, ecx
movzx ecx, byte [ebx + 4]
xor ecx, 0x65
or ecx, eax
jne 0x1006c6c9
mov dword [ebp - 0x2c], 0x60000
mov dword [ebp - 0x18], 0xfff9ffff
mov dword [ebp - 0x28], str.cache
mov esi, 0x101a155c
mov ebx, dword [esi]
test ebx, ebx
je 0x1006c872
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 0x1006c681
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x1c]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1006c6a2
mov ebx, dword [esi]
add esi, 8
test ebx, ebx
jne 0x1006c65b
jmp 0x1006c872
cmp esi, 4
je 0x1006c93f
cmp esi, 3
jne 0x1006c6c9
jmp 0x1006c96e
mov eax, dword [esi - 4]
test eax, eax
je 0x1006c872
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [ebp - 0x2c]
jg 0x1006c991
mov ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x20]
or eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea ebx, [ecx + eax]
inc ebx
cmp byte [ebx], 0
jne 0x1006c5eb
jmp 0x1006c736
call sym.nss3.dll_sqlite3_initialize
mov dword [ebp - 0x18], 7
test eax, eax
jne 0x1006c7ef
lea ecx, [esi + 8]
xor edx, edx
call fcn.10144e50
test eax, eax
je 0x1006c7ef
mov ecx, eax
mov dword [eax], 0
add ecx, 4
mov dword [ebp - 0x10], ecx
test esi, esi
mov eax, dword [ebp - 0x14]
je 0x1006c726
push esi
push eax
push dword [ebp - 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + esi], 0
and ebx, 0xffffffbf
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp + 0xc]
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x1006c8ed
mov dword [ebp - 0x14], 0
mov bl, 1
cmp byte [0x101db024], 0
je 0x1006c788
mov ecx, dword [0x101db068]
call dword [section..00cfg]
push 2
call ecx
add esp, 4
test eax, eax
je 0x1006c788
mov esi, eax
mov ecx, dword [0x101db070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov esi, dword [0x101ddc94]
cmp dword [ebp - 0x24], 0
je 0x1006c7b3
test esi, esi
je 0x1006c7b3
push dword [esi + 0x10]
push dword [ebp - 0x24]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x1006c7b3
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x1006c798
xor esi, esi
test bl, bl
jne 0x1006c7cb
mov ecx, dword [0x101db078]
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]
je 0x1006c8f3
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
inc esi
mov ecx, dword [ebp - 0x14]
mov cl, byte [ecx + esi]
xor edx, edx
inc edx
test cl, cl
je 0x1006c4cb
cmp cl, 0x23
je 0x1006c4cb
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + esi - 1], 0x26
jne 0x1006c7fa
jmp 0x1006c4cb
inc ecx
jmp 0x1006c836
cmp edx, 2
jne 0x1006c824
cmp bl, 0x26
jne 0x1006c824
jmp 0x1006c4d3
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
test bl, bl
je 0x1006c4d3
cmp bl, 0x23
je 0x1006c4d3
test edx, edx
jne 0x1006c85a
cmp bl, 0x3f
je 0x1006c4d3
cmp edx, 1
jne 0x1006c827
cmp bl, 0x26
je 0x1006c4d3
cmp bl, 0x3d
jne 0x1006c824
jmp 0x1006c4d3
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
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 0x1006c8a2
dec dword [ebp - 0x10]
jmp 0x1006c894
mov eax, dword [ebp - 0x10]
cmp byte [eax + 2], 0
jne 0x1006c89d
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 0
jne 0x1006c89d
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x1006c89d
push dword [ebp - 0x10]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
jmp 0x1006c7e5
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], 0
inc eax
jmp 0x1006c523
xor esi, esi
jmp 0x1006c3ef
mov dword [esi], 0
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x24]
push str.no_such_vfs:__s
call sym.nss3.dll_sqlite3_mprintf
add esp, 8
jmp 0x1006c88b
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 0x1006c4b9
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], 0
inc eax
jmp 0x1006c5c1
cmp dword [ebx], 0x65646f6d
jne 0x1006c6c9
mov eax, dword [ebp - 0x20]
and eax, 0x87
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0xffffff78
mov dword [ebp - 0x28], str.access
mov esi, 0x101a1574
jmp 0x1006c64e
movzx eax, word [ebx]
xor eax, 0x6676
movzx ecx, byte [ebx + 2]
xor ecx, 0x73
or cx, ax
jne 0x1006c6c9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x1006c6c9
mov dword [ebp - 0x18], 3
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push str._s_mode_not_allowed:__s
jmp 0x1006c883