Function at 0x4a3750
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x38]
mov ebx, dword [eax]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ecx
mov eax, edi
cmp edi, ebp
jne 0x4a3777
xor esi, esi
jmp 0x4a378f
cmp byte [edi], 0
je 0x4a3786
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x4a3780
sub eax, edi
and eax, 0x3fffffff
mov esi, eax
test bl, 0x40
jne 0x4a37a0
cmp dword [0x53e68c], ebp
je 0x4a3c3d
cmp esi, 5
jl 0x4a3c3d
mov edx, dword [edi]
cmp edx, dword [str.file:]
jne 0x4a3c3d
mov al, byte [0x543e60]
cmp al, byte [edi + 4]
jne 0x4a3c3d
or ebx, 0x40
xor ecx, ecx
lea edx, [esi + 2]
xor eax, eax
cmp esi, 2
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ebx
jl 0x4a3805
lea edx, [esi - 1]
xor ebx, ebx
cmp byte [edi + eax], 0x26
sete bl
add ecx, ebx
xor ebx, ebx
cmp byte [edi + eax + 1], 0x26
sete bl
add eax, 2
add ebp, ebx
cmp eax, edx
jl 0x4a37e3
mov edx, dword [esp + 0x2c]
cmp eax, esi
jge 0x4a3814
xor ebx, ebx
cmp byte [eax + edi], 0x26
sete bl
add edx, ebx
add ebp, ecx
add ebp, edx
push ebp
call sym.ShuamePacket.exe_sqlite3_malloc
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4a3836
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov cl, 0x2f
cmp byte [edi + 5], cl
jne 0x4a38a3
cmp byte [edi + 6], cl
jne 0x4a38a3
mov al, byte [edi + 7]
lea ebx, [edi + 7]
mov esi, 7
test al, al
je 0x4a38a8
cmp al, cl
je 0x4a385e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a3851
cmp esi, 7
je 0x4a38a8
cmp esi, 0x10
jne 0x4a388c
lea eax, [esi - 7]
mov ecx, ebx
mov edx, str.localhost
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x4a388c
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4a3872
mov cl, byte [ecx]
cmp cl, byte [edx]
je 0x4a38a8
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call sym.ShuamePacket.exe_sqlite3_mprintf
add esp, 0xc
jmp 0x4a3c92
mov esi, 5
mov al, byte [esi + edi]
xor ebp, ebp
test al, al
je 0x4a39ff
jmp 0x4a38c0
mov edx, dword [esp + 0x14]
cmp al, 0x23
je 0x4a39ed
inc esi
cmp al, 0x25
jne 0x4a3971
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x517ee8], 8
je 0x4a3971
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x517ee8], 8
je 0x4a3971
movsx edx, byte [esi + edi + 1]
movsx ecx, cl
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
inc esi
sub cl, al
mov eax, edx
sar eax, 6
and al, 1
imul bl
sub dl, al
and ecx, 0xf
shl ecx, 4
inc esi
and edx, 0xf
add ecx, edx
test ecx, ecx
jne 0x4a3969
mov al, byte [esi + edi]
test al, al
je 0x4a39de
cmp al, 0x23
je 0x4a39de
test ebp, ebp
jne 0x4a3942
cmp al, 0x3f
jmp 0x4a3958
cmp ebp, 1
jne 0x4a3951
cmp al, 0x3d
je 0x4a39de
jmp 0x4a3956
cmp ebp, 2
jne 0x4a395e
cmp al, 0x26
je 0x4a39de
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a3932
jmp 0x4a39de
mov edx, dword [esp + 0x14]
mov al, cl
jmp 0x4a39d2
cmp ebp, 1
jne 0x4a39b8
cmp al, 0x26
je 0x4a397e
cmp al, 0x3d
jne 0x4a39d2
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx - 1], 0
jne 0x4a39a6
mov al, byte [esi + edi]
test al, al
je 0x4a39de
cmp al, 0x23
je 0x4a39de
cmp byte [esi + edi - 1], 0x26
je 0x4a39de
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a3990
jmp 0x4a39de
cmp al, 0x26
jne 0x4a39b1
mov byte [ecx + edx], 0
inc edx
jmp 0x4a39d0
mov ebp, 2
jmp 0x4a39d0
test ebp, ebp
jne 0x4a39c2
cmp al, 0x3f
je 0x4a39cb
jmp 0x4a39d2
cmp ebp, 2
jne 0x4a39d2
cmp al, 0x26
jne 0x4a39d2
mov ebp, 1
xor al, al
mov ecx, dword [esp + 0x10]
mov byte [ecx + edx], al
inc edx
mov dword [esp + 0x14], edx
mov al, byte [esi + edi]
test al, al
jne 0x4a38c0
mov edx, dword [esp + 0x14]
cmp ebp, 1
jne 0x4a39ff
mov eax, dword [esp + 0x10]
mov byte [eax + edx], 0
inc edx
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov byte [esi + eax], 0
mov byte [esi + eax + 1], 0
cmp byte [esi], 0
mov eax, esi
je 0x4a3a1d
inc eax
cmp byte [eax], 0
jne 0x4a3a17
sub eax, esi
and eax, 0x3fffffff
cmp byte [eax + esi + 1], 0
lea edx, [eax + esi + 1]
je 0x4a3c6d
mov ebp, 0x60000
mov eax, edx
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x4a3a40
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
mov dword [esp + 0x18], ebx
mov ecx, ebx
test ebx, ebx
jne 0x4a3a61
mov dword [esp + 0x24], ebx
jmp 0x4a3a78
cmp byte [ebx], 0
je 0x4a3a6c
inc ecx
cmp byte [ecx], 0
jne 0x4a3a66
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [esp + 0x24], ecx
cmp eax, 3
jne 0x4a3aab
mov eax, dword [0x543e8c]
cmp byte [edx], al
jne 0x4a3c05
cmp byte [edx + 1], ah
jne 0x4a3c05
mov cl, byte [edx + 2]
cmp cl, byte [0x543e8e]
jne 0x4a3c05
mov dword [esp + 0x30], ebx
jmp 0x4a3c05
cmp eax, 5
jne 0x4a3ae3
mov eax, dword [0x543e90]
cmp eax, dword [edx]
jne 0x4a3c05
mov cl, byte [edx + 4]
cmp cl, byte [0x543e94]
jne 0x4a3c05
mov dword [esp + 0x14], ebp
mov edi, 0x543ea8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], str.cache
jmp 0x4a3b19
cmp eax, 4
jne 0x4a3c05
mov eax, dword [str.mode]
cmp eax, dword [edx]
jne 0x4a3c05
mov eax, dword [esp + 0x1c]
and eax, 7
mov dword [esp + 0x14], 7
mov edi, 0x543edc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
xor ebp, ebp
test ecx, ecx
je 0x4a3bbc
mov eax, ecx
test ecx, ecx
je 0x4a3b3d
cmp byte [ecx], 0
je 0x4a3b36
inc eax
cmp byte [eax], 0
jne 0x4a3b30
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x24], eax
jne 0x4a3baf
mov esi, dword [esp + 0x24]
mov edx, ebx
cmp esi, 4
jb 0x4a3b64
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4a3b68
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4a3b50
test esi, esi
je 0x4a3bde
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x4a3ba3
cmp esi, 1
jbe 0x4a3bda
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4a3ba3
cmp esi, 2
jbe 0x4a3bda
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4a3ba3
cmp esi, 3
jbe 0x4a3bda
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 0x4a3bde
mov ecx, dword [edi + ebp*8 + 8]
inc ebp
test ecx, ecx
jne 0x4a3b25
mov eax, dword [esp + 0x28]
push ebx
push eax
push str.no_such__s_mode:__s
call sym.ShuamePacket.exe_sqlite3_mprintf
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4a3c98
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + ebp*8 + 4]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4a3bbc
cmp eax, dword [esp + 0x2c]
jg 0x4a3c1a
mov esi, dword [esp + 0x10]
not ecx
and ecx, dword [esp + 0x1c]
mov ebp, 0x60000
or ecx, eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x24]
cmp byte [edx + ebx + 1], 0
lea edx, [edx + ebx + 1]
jne 0x4a3a38
jmp 0x4a3c6d
mov edx, dword [esp + 0x28]
push ebx
push edx
push str._s_mode_not_allowed:__s
call sym.ShuamePacket.exe_sqlite3_mprintf
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x20], 3
jmp 0x4a3ca0
lea edx, [esi + 2]
push edx
call sym.ShuamePacket.exe_sqlite3_malloc
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
cmp ebx, ebp
je 0x4a3829
push esi
push edi
push ebx
call fcn.004f26c0
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
add esp, 0xc
mov esi, ebx
mov edi, dword [esp + 0x30]
push edi
call sym.ShuamePacket.exe_sqlite3_vfs_find
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4a3cb9
push edi
push str.no_such_vfs:__s
call sym.ShuamePacket.exe_sqlite3_mprintf
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x10]
push eax
call sym.ShuamePacket.exe_sqlite3_free
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x24
ret