Function at 0x10067fc0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
test edx, edx
mov eax, edx
mov dword [ebp - 0x18], edx
je 0x100684b4
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
and esi, 0x3fffffff
test bl, 0x40
je 0x1006839f
cmp esi, 5
mov edx, dword [ebp - 0x18]
jb 0x100683b4
mov dword [ebp - 0x20], ebx
mov eax, 0x656c6966
xor eax, dword [edx]
movzx ecx, byte [edx + 4]
xor ecx, 0x3a
or ecx, eax
jne 0x10068518
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 0x10068024
call sym.nss3.dll_sqlite3_initialize
mov dword [ebp - 0x10], 7
test eax, eax
jne 0x10068394
mov ecx, edi
mov edx, ebx
call fcn.10142fa0
test eax, eax
mov edi, dword [ebp - 0x20]
je 0x10068394
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov ebx, dword [ebp - 0x18]
lea esi, [ebx + 5]
push 3
push 0x101db55a
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10068520
lea eax, [ebx + 7]
push 3
push 0x101db55a
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
mov edi, dword [ebp - 0x14]
add edi, 4
xor edx, edx
xor eax, eax
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x18]
mov bl, byte [ecx + esi]
mov ecx, esi
test bl, bl
je 0x100681b7
movzx edi, bl
cmp edi, 0x23
je 0x100681b7
lea esi, [ecx + 1]
cmp bl, 0x25
je 0x10068134
cmp edx, 1
je 0x100680fb
test edx, edx
mov edi, dword [ebp - 0x14]
jne 0x100680eb
cmp bl, 0x3f
je 0x1006810d
cmp edx, 2
jne 0x100680f5
cmp bl, 0x26
je 0x1006810d
mov byte [edi + eax], bl
inc eax
jmp 0x100680b6
cmp bl, 0x3d
je 0x10068114
cmp edi, 0x26
je 0x10068114
xor edx, edx
inc edx
mov edi, dword [ebp - 0x14]
jmp 0x100680f5
xor ebx, ebx
xor edx, edx
inc edx
jmp 0x100680f5
mov edi, dword [ebp - 0x14]
cmp byte [eax + edi - 1], 0
je 0x100684e5
cmp bl, 0x26
je 0x10068507
mov edx, 2
xor ebx, ebx
jmp 0x100680f5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
test byte [eax + 0x101b199a], 8
mov eax, dword [ebp - 0x10]
je 0x100680da
mov eax, dword [ebp - 0x18]
movzx eax, byte [ecx + eax + 2]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
test byte [ecx + 0x101b199a], 8
mov ecx, dword [ebp - 0x30]
je 0x100680da
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x2c]
mov ebx, edx
add bl, dl
sar bl, 7
and bl, 9
add bl, dl
shl bl, 4
mov byte [ebp - 0x2c], bl
add ecx, 3
mov edx, dword [ebp - 0x24]
mov ebx, edx
add bl, bl
sar bl, 7
and bl, 9
add bl, dl
and bl, 0xf
or bl, byte [ebp - 0x2c]
je 0x10068417
mov esi, ecx
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
jmp 0x100680f5
cmp edx, 1
je 0x10068545
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
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 0x100682df
lea ebx, [eax + esi]
inc ebx
mov dword [ebp - 0x28], 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 - 0x24], ecx
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, edi
mov dword [ebp - 0x18], eax
cmp esi, 5
jne 0x1006828f
mov eax, dword [ebx]
mov ecx, 0x68636163
xor eax, ecx
movzx ecx, byte [ebx + 4]
xor ecx, 0x65
or ecx, eax
jne 0x10068552
mov dword [ebp - 0x2c], 0x60000
mov dword [ebp - 0x10], 0xfff9ffff
mov dword [ebp - 0x1c], str.cache
mov esi, 0x101b6884
mov edi, dword [ebp - 0x28]
mov ebx, dword [esi]
test ebx, ebx
je 0x1006844d
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 - 0x18], eax
jne 0x10068281
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x100682a5
mov ebx, dword [esi]
add esi, 8
test ebx, ebx
jne 0x1006825b
jmp 0x1006844d
cmp esi, 4
je 0x1006855a
cmp esi, 3
mov edi, dword [ebp - 0x28]
jne 0x100682cc
jmp 0x1006858c
mov eax, dword [esi - 4]
test eax, eax
je 0x1006844d
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [ebp - 0x2c]
jg 0x100685ac
mov ecx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x20]
or eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea ebx, [ecx + eax]
inc ebx
cmp byte [ebx], 0
jne 0x100681ea
mov esi, dword [ebp + 0xc]
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x100684c9
mov dword [ebp - 0x18], 0
mov bl, 1
cmp byte [0x101f1024], 0
je 0x10068331
mov ecx, dword [0x101f1068]
call dword [section..00cfg]
push 2
call ecx
add esp, 4
test eax, eax
je 0x10068331
mov esi, eax
mov ecx, dword [0x101f1070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov esi, dword [0x101f416c]
test edi, edi
je 0x10068358
test esi, esi
je 0x10068358
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 0x10068358
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x1006833f
xor esi, esi
test bl, bl
jne 0x10068370
mov ecx, dword [0x101f1078]
call dword [section..00cfg]
push dword [ebp - 0x18]
call ecx
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test esi, esi
mov edx, dword [ebp - 0x20]
je 0x100684cf
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [0x101f1026]
test al, al
mov edx, dword [ebp - 0x18]
je 0x100683b4
cmp esi, 4
ja 0x10068004
call sym.nss3.dll_sqlite3_initialize
mov dword [ebp - 0x10], 7
test eax, eax
jne 0x10068394
lea ecx, [esi + 8]
xor edx, edx
call fcn.10142fa0
test eax, eax
je 0x10068394
mov dword [eax], 0
add eax, 4
test esi, esi
mov edi, eax
mov eax, dword [ebp - 0x18]
je 0x100683ef
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x14], edi
mov dword [edi + esi], 0
and ebx, 0xffffffbf
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp - 0x28]
jmp 0x100682df
inc ecx
jmp 0x10068417
cmp dword [ebp - 0x1c], 2
jne 0x10068407
cmp bl, 0x26
jne 0x10068407
jmp 0x10068442
mov esi, dword [ebp - 0x18]
movzx ebx, byte [esi + ecx]
test ebx, ebx
je 0x10068442
cmp ebx, 0x23
je 0x10068442
cmp dword [ebp - 0x1c], 0
jne 0x10068432
cmp bl, 0x3f
je 0x10068442
cmp dword [ebp - 0x1c], 1
jne 0x1006840a
cmp ebx, 0x26
je 0x10068442
cmp ebx, 0x3d
jne 0x10068407
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
jmp 0x100680be
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
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 - 0x14], 0xfffffffc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 3], 0
je 0x1006847d
dec dword [ebp - 0x14]
jmp 0x1006846f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 2], 0
jne 0x10068478
mov eax, dword [ebp - 0x14]
cmp byte [eax + 1], 0
jne 0x10068478
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x10068478
push dword [ebp - 0x14]
call sym.nss3.dll_sqlite3_free
add esp, 4
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
jmp 0x1006838a
xor esi, esi
mov ecx, ebx
test bl, 0x40
jne 0x100684c2
mov al, byte [0x101f1026]
mov ebx, ecx
jmp 0x100683b4
mov dword [esi], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
push edi
push str.no_such_vfs:__s
call sym.nss3.dll_sqlite3_mprintf
add esp, 8
jmp 0x10068466
mov ebx, eax
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx + esi]
xor edx, edx
inc edx
test ecx, ecx
je 0x10068511
cmp ecx, 0x23
je 0x10068511
mov eax, dword [ebp - 0x18]
cmp byte [eax + esi - 1], 0x26
je 0x10068511
inc esi
jmp 0x100684e7
mov byte [edi + eax], 0
inc eax
jmp 0x1006810d
mov eax, ebx
jmp 0x100680b6
mov ebx, dword [ebp - 0x20]
jmp 0x100683b4
push 0xc
push str.__localhost_
push esi
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 0x100680a3
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], 0
inc eax
jmp 0x100681c0
mov edi, dword [ebp - 0x28]
jmp 0x100682cc
mov edi, dword [ebp - 0x28]
cmp dword [ebx], 0x65646f6d
jne 0x100682cc
mov eax, dword [ebp - 0x20]
and eax, 0x87
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0xffffff78
mov dword [ebp - 0x1c], str.access
mov esi, 0x101b689c
jmp 0x1006824e
movzx eax, word [ebx]
xor eax, 0x6676
movzx ecx, byte [ebx + 2]
xor ecx, 0x73
or cx, ax
jne 0x100682cc
mov edi, dword [ebp - 0x24]
jmp 0x100682cc
mov dword [ebp - 0x10], 3
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push str._s_mode_not_allowed:__s
jmp 0x1006845e