Function at 0x4a30e0
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 0x4a3107
xor esi, esi
jmp 0x4a311f
cmp byte [edi], 0
je 0x4a3116
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x4a3110
sub eax, edi
and eax, 0x3fffffff
mov esi, eax
test bl, 0x40
jne 0x4a3130
cmp dword [0x53c68c], ebp
je 0x4a35cd
cmp esi, 5
jl 0x4a35cd
mov edx, dword [edi]
cmp edx, dword [str.file:]
jne 0x4a35cd
mov al, byte [0x541e60]
cmp al, byte [edi + 4]
jne 0x4a35cd
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 0x4a3195
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 0x4a3173
mov edx, dword [esp + 0x2c]
cmp eax, esi
jge 0x4a31a4
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 0x4a31c6
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov cl, 0x2f
cmp byte [edi + 5], cl
jne 0x4a3233
cmp byte [edi + 6], cl
jne 0x4a3233
mov al, byte [edi + 7]
lea ebx, [edi + 7]
mov esi, 7
test al, al
je 0x4a3238
cmp al, cl
je 0x4a31ee
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a31e1
cmp esi, 7
je 0x4a3238
cmp esi, 0x10
jne 0x4a321c
lea eax, [esi - 7]
mov ecx, ebx
mov edx, str.localhost
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x4a321c
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4a3202
mov cl, byte [ecx]
cmp cl, byte [edx]
je 0x4a3238
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call sym.ShuamePacket.exe_sqlite3_mprintf
add esp, 0xc
jmp 0x4a3622
mov esi, 5
mov al, byte [esi + edi]
xor ebp, ebp
test al, al
je 0x4a338f
jmp 0x4a3250
mov edx, dword [esp + 0x14]
cmp al, 0x23
je 0x4a337d
inc esi
cmp al, 0x25
jne 0x4a3301
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x516ee8], 8
je 0x4a3301
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x516ee8], 8
je 0x4a3301
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 0x4a32f9
mov al, byte [esi + edi]
test al, al
je 0x4a336e
cmp al, 0x23
je 0x4a336e
test ebp, ebp
jne 0x4a32d2
cmp al, 0x3f
jmp 0x4a32e8
cmp ebp, 1
jne 0x4a32e1
cmp al, 0x3d
je 0x4a336e
jmp 0x4a32e6
cmp ebp, 2
jne 0x4a32ee
cmp al, 0x26
je 0x4a336e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a32c2
jmp 0x4a336e
mov edx, dword [esp + 0x14]
mov al, cl
jmp 0x4a3362
cmp ebp, 1
jne 0x4a3348
cmp al, 0x26
je 0x4a330e
cmp al, 0x3d
jne 0x4a3362
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx - 1], 0
jne 0x4a3336
mov al, byte [esi + edi]
test al, al
je 0x4a336e
cmp al, 0x23
je 0x4a336e
cmp byte [esi + edi - 1], 0x26
je 0x4a336e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a3320
jmp 0x4a336e
cmp al, 0x26
jne 0x4a3341
mov byte [ecx + edx], 0
inc edx
jmp 0x4a3360
mov ebp, 2
jmp 0x4a3360
test ebp, ebp
jne 0x4a3352
cmp al, 0x3f
je 0x4a335b
jmp 0x4a3362
cmp ebp, 2
jne 0x4a3362
cmp al, 0x26
jne 0x4a3362
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 0x4a3250
mov edx, dword [esp + 0x14]
cmp ebp, 1
jne 0x4a338f
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 0x4a33ad
inc eax
cmp byte [eax], 0
jne 0x4a33a7
sub eax, esi
and eax, 0x3fffffff
cmp byte [eax + esi + 1], 0
lea edx, [eax + esi + 1]
je 0x4a35fd
mov ebp, 0x60000
mov eax, edx
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x4a33d0
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
mov dword [esp + 0x18], ebx
mov ecx, ebx
test ebx, ebx
jne 0x4a33f1
mov dword [esp + 0x24], ebx
jmp 0x4a3408
cmp byte [ebx], 0
je 0x4a33fc
inc ecx
cmp byte [ecx], 0
jne 0x4a33f6
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [esp + 0x24], ecx
cmp eax, 3
jne 0x4a343b
mov eax, dword [0x541e8c]
cmp byte [edx], al
jne 0x4a3595
cmp byte [edx + 1], ah
jne 0x4a3595
mov cl, byte [edx + 2]
cmp cl, byte [0x541e8e]
jne 0x4a3595
mov dword [esp + 0x30], ebx
jmp 0x4a3595
cmp eax, 5
jne 0x4a3473
mov eax, dword [0x541e90]
cmp eax, dword [edx]
jne 0x4a3595
mov cl, byte [edx + 4]
cmp cl, byte [0x541e94]
jne 0x4a3595
mov dword [esp + 0x14], ebp
mov edi, 0x541ea8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], str.cache
jmp 0x4a34a9
cmp eax, 4
jne 0x4a3595
mov eax, dword [str.mode]
cmp eax, dword [edx]
jne 0x4a3595
mov eax, dword [esp + 0x1c]
and eax, 7
mov dword [esp + 0x14], 7
mov edi, 0x541edc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
xor ebp, ebp
test ecx, ecx
je 0x4a354c
mov eax, ecx
test ecx, ecx
je 0x4a34cd
cmp byte [ecx], 0
je 0x4a34c6
inc eax
cmp byte [eax], 0
jne 0x4a34c0
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x24], eax
jne 0x4a353f
mov esi, dword [esp + 0x24]
mov edx, ebx
cmp esi, 4
jb 0x4a34f4
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4a34f8
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4a34e0
test esi, esi
je 0x4a356e
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x4a3533
cmp esi, 1
jbe 0x4a356a
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4a3533
cmp esi, 2
jbe 0x4a356a
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4a3533
cmp esi, 3
jbe 0x4a356a
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 0x4a356e
mov ecx, dword [edi + ebp*8 + 8]
inc ebp
test ecx, ecx
jne 0x4a34b5
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 0x4a3628
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + ebp*8 + 4]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4a354c
cmp eax, dword [esp + 0x2c]
jg 0x4a35aa
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 0x4a33c8
jmp 0x4a35fd
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 0x4a3630
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 0x4a31b9
push esi
push edi
push ebx
call fcn.004f1f90
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 0x4a3649
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