Function at 0x100a4680
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 eax, dword [ebp + 8]
test edx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], edx
mov ebx, dword [eax]
mov eax, edx
je 0x100a4bc4
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 [0x101d2026], 0
setne al
cmp esi, 5
jb 0x100a49bb
mov ecx, ebx
and ecx, 0x40
shr ecx, 6
or cl, al
je 0x100a49bb
mov ecx, dword [ebp - 0x14]
mov eax, 0x656c6966
xor eax, dword [ecx]
movzx ecx, byte [ecx + 4]
xor ecx, 0x3a
or ecx, eax
jne 0x100a49bb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
lea edi, [esi + 8]
xor ebx, ebx
xor ecx, ecx
cmp byte [eax], 0x26
sete cl
add edi, ecx
adc ebx, 0
inc eax
dec esi
jne 0x100a46f6
call sym.nss3.dll_sqlite3_initialize
test eax, eax
mov dword [ebp - 0x18], 7
jne 0x100a4acb
mov ecx, edi
mov edx, ebx
call fcn.10002c70
mov ebx, dword [ebp - 0x20]
test eax, eax
je 0x100a4acb
mov esi, dword [ebp - 0x14]
mov edi, eax
mov dword [eax], 0
lea eax, [esi + 5]
push 3
push 0x101bd114
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 0x100a4ad6
lea eax, [esi + 7]
push 3
push 0x101bd114
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
add edi, 4
or ebx, 0x40
xor edx, edx
xor eax, eax
mov dword [ebp - 0x20], ebx
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 0x100a4877
cmp bl, 0x23
je 0x100a4877
lea esi, [ecx + 1]
cmp bl, 0x25
je 0x100a4806
test edx, edx
jne 0x100a47bf
xor edx, edx
cmp bl, 0x3f
je 0x100a47e2
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], bl
inc eax
jmp 0x100a478a
cmp edx, 1
jne 0x100a47d3
cmp bl, 0x3d
je 0x100a47e6
cmp bl, 0x26
je 0x100a47e6
xor edx, edx
inc edx
jmp 0x100a47b6
cmp edx, 2
jne 0x100a47b6
mov edx, 2
cmp bl, 0x26
jne 0x100a47b6
xor ebx, ebx
jmp 0x100a47ce
mov ecx, dword [ebp - 0x10]
cmp byte [eax + ecx - 1], 0
je 0x100a4b2d
cmp bl, 0x26
je 0x100a4bb7
mov edx, 2
xor ebx, ebx
jmp 0x100a47b6
mov edi, dword [ebp - 0x14]
movzx edi, byte [edi + esi]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x18]
test byte [edi + 0x101944e0], 8
je 0x100a47ab
mov edi, dword [ebp - 0x14]
movzx edi, byte [ecx + edi + 2]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x1c]
test byte [edi + 0x101944e0], 8
je 0x100a47ab
mov ebx, dword [ebp - 0x18]
shr bl, 6
add ecx, 3
and bl, 1
movzx esi, bl
lea ebx, [esi + esi*8]
add bl, byte [ebp - 0x18]
shl bl, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x1c]
shr bl, 6
and bl, 1
movzx esi, bl
lea ebx, [esi + esi*8]
add bl, byte [ebp - 0x1c]
and bl, 0xf
or bl, byte [ebp - 0x18]
je 0x100a4b60
mov esi, ecx
jmp 0x100a47b6
cmp edx, 1
je 0x100a4c35
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 0x100a4a12
mov ecx, dword [ebp - 0x10]
lea ebx, [eax + ecx + 1]
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 + 1]
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
cmp esi, 5
mov dword [ebp - 0x14], eax
jne 0x100a4991
movzx edx, byte [ebx + 4]
mov eax, dword [ebx]
mov ecx, 0x68636163
xor eax, ecx
xor edx, 0x65
or edx, eax
jne 0x100a4979
mov dword [ebp - 0x2c], 0x60000
mov dword [ebp - 0x18], 0xfff9ffff
mov dword [ebp - 0x28], str.cache
mov esi, 0x10198fc4
mov ebx, dword [esi]
test ebx, ebx
je 0x100a4b9c
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
je 0x100a493f
mov ebx, dword [esi]
add esi, 8
test ebx, ebx
jne 0x100a491e
jmp 0x100a4b9c
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x1c]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100a4931
mov eax, dword [esi - 4]
test eax, eax
je 0x100a4b9c
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [ebp - 0x2c]
jg 0x100a4c42
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 + 1]
cmp byte [ebx], 0
jne 0x100a48aa
jmp 0x100a4a12
cmp esi, 4
je 0x100a4afd
cmp esi, 3
jne 0x100a4979
movzx eax, word [ebx]
movzx ecx, byte [ebx + 2]
xor eax, 0x6676
xor ecx, 0x73
or cx, ax
jne 0x100a4979
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x100a4979
call sym.nss3.dll_sqlite3_initialize
test eax, eax
mov dword [ebp - 0x18], 7
jne 0x100a4acb
lea ecx, [esi + 8]
xor edx, edx
call fcn.10002c70
test eax, eax
je 0x100a4acb
mov ecx, eax
mov dword [eax], 0
add ecx, 4
test esi, esi
mov dword [ebp - 0x10], ecx
je 0x100a4a02
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
and ebx, 0xffffffbf
mov dword [ebp - 0x20], ebx
mov dword [eax + esi], 0
mov esi, dword [ebp + 0xc]
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x100a4bcb
cmp byte [0x101d2024], 0
mov bl, 1
mov dword [ebp - 0x14], 0
je 0x100a4a64
mov ecx, dword [0x101d2068]
call dword [section..00cfg]
push 2
call ecx
add esp, 4
test eax, eax
je 0x100a4a64
mov ecx, dword [0x101d2070]
mov esi, eax
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov esi, dword [0x101d47e4]
cmp dword [ebp - 0x24], 0
je 0x100a4a8f
test esi, esi
je 0x100a4a8f
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 0x100a4a8f
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100a4a74
xor esi, esi
test bl, bl
jne 0x100a4aa7
mov ecx, dword [0x101d2078]
call dword [section..00cfg]
push dword [ebp - 0x14]
call ecx
add esp, 4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
test esi, esi
mov dword [eax], esi
je 0x100a4bd1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
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 0x100a4778
cmp dword [ebx], 0x65646f6d
jne 0x100a4979
mov eax, dword [ebp - 0x20]
mov esi, 0x10198fdc
mov dword [ebp - 0x18], 0xffffff78
mov dword [ebp - 0x28], str.access
and eax, 0x87
mov dword [ebp - 0x2c], eax
jmp 0x100a4911
inc esi
mov ecx, dword [ebp - 0x14]
mov cl, byte [ecx + esi]
test cl, cl
je 0x100a4b46
cmp cl, 0x23
je 0x100a4b46
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + esi - 1], 0x26
jne 0x100a4b2c
xor edx, edx
inc edx
jmp 0x100a478a
inc ecx
jmp 0x100a4b60
cmp edx, 2
jne 0x100a4b4e
cmp bl, 0x26
jne 0x100a4b4e
jmp 0x100a4792
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
test bl, bl
je 0x100a4792
cmp bl, 0x23
je 0x100a4792
test edx, edx
jne 0x100a4b84
cmp bl, 0x3f
je 0x100a4792
cmp edx, 1
jne 0x100a4b51
cmp bl, 0x26
je 0x100a4792
cmp bl, 0x3d
jne 0x100a4b4e
jmp 0x100a4792
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
jmp 0x100a4be7
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], 0
inc eax
jmp 0x100a47e2
xor esi, esi
jmp 0x100a46af
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
mov ecx, dword [ebp + 0x14]
add dword [ebp - 0x10], 0xfffffffc
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 3], 0
je 0x100a4bfe
dec dword [ebp - 0x10]
jmp 0x100a4bf0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 2], 0
jne 0x100a4bf9
mov eax, dword [ebp - 0x10]
cmp byte [eax + 1], 0
jne 0x100a4bf9
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x100a4bf9
push dword [ebp - 0x10]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
jmp 0x100a4ac1
mov ecx, dword [ebp - 0x10]
mov byte [ecx + eax], 0
inc eax
jmp 0x100a4880
mov dword [ebp - 0x18], 3
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push str._s_mode_not_allowed:__s
jmp 0x100a4bad