Function at 0x4a79ee
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
and dword [ebp - 0x18], 0
push ebx
push esi
mov eax, dword [eax]
push edi
mov edi, edx
mov dword [ebp - 0x24], ecx
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.00466946
mov ecx, dword [ebp - 0x10]
mov ebx, eax
test cl, 0x40
jne 0x4a7a26
cmp dword [0x5b5d04], 0
je 0x4a7dcd
cmp ebx, 5
jl 0x4a7dcd
cmp dword [edi], 0x656c6966
jne 0x4a7dcd
cmp byte [edi + 4], 0x3a
jne 0x4a7dcd
and dword [ebp - 0xc], 0
lea edx, [ebx + 2]
or ecx, 0x40
mov dword [ebp - 0x10], ecx
xor ecx, ecx
test ebx, ebx
jle 0x4a7a68
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, ebx
jl 0x4a7a58
push edx
call fcn.00464b26
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
push 7
test ecx, ecx
jne 0x4a7a80
pop eax
jmp 0x4a7da9
cmp byte [edi + 5], 0x2f
pop edx
jne 0x4a7adb
cmp byte [edi + 6], 0x2f
jne 0x4a7adb
lea ebx, [edi + 7]
mov esi, edx
mov al, byte [ebx]
test al, al
je 0x4a7ae3
cmp al, 0x2f
je 0x4a7aa4
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a7a98
cmp esi, edx
je 0x4a7ae3
cmp esi, 0x10
jne 0x4a7ac1
push 9
push ebx
push str.localhost
call fcn.00531d15
add esp, 0xc
test eax, eax
je 0x4a7ae0
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.00466093
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x4a7d84
push 5
pop esi
jmp 0x4a7ae3
mov ecx, dword [ebp - 8]
mov bl, byte [esi + edi]
xor edx, edx
mov dword [ebp - 0x14], edx
test bl, bl
je 0x4a7c2e
cmp bl, 0x23
je 0x4a7baa
inc esi
cmp bl, 0x25
jne 0x4a7bb9
mov al, byte [esi + edi]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x588d40], 8
je 0x4a7bb9
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x588d40], 8
je 0x4a7bb9
movsx ecx, byte [ebp - 1]
movsx edx, byte [esi + edi + 1]
mov eax, ecx
sar eax, 6
add esi, 2
and al, 1
push 7
pop ebx
imul bl
mov bl, cl
sub bl, al
mov eax, edx
sar eax, 6
and ebx, 0xf
push 7
pop ecx
and al, 1
shl ebx, 4
imul cl
mov cl, dl
mov edx, dword [ebp - 0x14]
sub cl, al
and ecx, 0xf
add ebx, ecx
je 0x4a7b95
mov ecx, dword [ebp - 8]
jmp 0x4a7c1f
cmp al, 0x23
je 0x4a7b9c
test edx, edx
jne 0x4a7b7e
cmp al, 0x3f
je 0x4a7b9c
cmp edx, 1
jne 0x4a7b8b
cmp al, 0x3d
je 0x4a7b9c
cmp al, 0x26
je 0x4a7b9c
cmp edx, 2
jne 0x4a7b94
cmp al, 0x26
je 0x4a7b9c
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a7b72
mov ecx, dword [ebp - 8]
mov bl, byte [esi + edi]
test bl, bl
jne 0x4a7af3
mov eax, dword [ebp - 0xc]
cmp edx, 1
jne 0x4a7c31
mov byte [ecx + eax], 0
inc eax
jmp 0x4a7c31
cmp edx, 1
jne 0x4a7c04
cmp bl, 0x26
je 0x4a7bc8
cmp bl, 0x3d
jne 0x4a7c1f
mov eax, dword [ebp - 0xc]
cmp byte [ecx + eax - 1], 0
je 0x4a7bf1
cmp bl, 0x26
jne 0x4a7bfa
mov ebx, eax
mov byte [ecx + ebx], 0
inc ebx
mov dword [ebp - 0xc], ebx
mov eax, ebx
jmp 0x4a7c00
cmp al, 0x23
je 0x4a7b9f
cmp byte [esi + edi - 1], 0x26
je 0x4a7b9f
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a7be5
jmp 0x4a7b9f
push 2
pop edx
mov dword [ebp - 0x14], edx
xor bl, bl
jmp 0x4a7c22
test edx, edx
jne 0x4a7c0d
cmp bl, 0x3f
je 0x4a7c17
cmp edx, 2
jne 0x4a7c1f
cmp bl, 0x26
jne 0x4a7c1f
xor edx, edx
xor bl, bl
inc edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], bl
inc eax
mov dword [ebp - 0xc], eax
jmp 0x4a7b9f
mov eax, dword [ebp - 0xc]
mov word [ecx + eax], 0
call fcn.00466946
lea edx, [ecx + 1]
add edx, eax
jmp 0x4a7d56
mov ecx, edx
call fcn.00466946
mov esi, eax
lea ebx, [edx + 1]
add ebx, esi
mov dword [ebp - 0x1c], esi
mov ecx, ebx
call fcn.00466946
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp esi, 3
jne 0x4a7c82
mov eax, 0x6676
cmp ax, word [edx]
jne 0x4a7c82
push 0x73
pop eax
cmp al, byte [edx + 2]
jne 0x4a7c82
mov dword [ebp - 0x24], ebx
jmp 0x4a7d51
mov eax, dword [ebp - 0x1c]
xor edi, edi
and dword [ebp - 0xc], edi
xor esi, esi
and dword [ebp - 0x20], esi
cmp eax, 5
jne 0x4a7cc4
mov esi, 0x68636163
cmp esi, dword [edx]
jne 0x4a7d51
push 0x65
pop ecx
cmp cl, byte [edx + 4]
mov ecx, dword [ebp - 0x14]
jne 0x4a7d51
mov esi, 0x60000
mov dword [ebp - 0xc], str.cache
mov edi, 0x5b5c70
mov dword [ebp - 0x20], esi
cmp eax, 4
jne 0x4a7cec
cmp dword [edx], 0x65646f6d
jne 0x4a7cec
mov eax, dword [ebp - 0x10]
mov edx, 0x87
and eax, edx
mov dword [ebp - 0xc], str.access
mov esi, edx
mov dword [ebp - 0x20], eax
mov edi, 0x5b5490
test edi, edi
je 0x4a7d51
mov ecx, dword [edi]
xor edx, edx
jmp 0x4a7d18
call fcn.00466946
cmp dword [ebp - 0x14], eax
jne 0x4a7d14
push dword [ebp - 0x14]
push ecx
push ebx
call fcn.00531d15
add esp, 0xc
test eax, eax
je 0x4a7d2d
mov edx, dword [ebp - 0x1c]
inc edx
mov ecx, dword [edi + edx*8]
mov dword [ebp - 0x1c], edx
test ecx, ecx
jne 0x4a7cf6
push ebx
push dword [ebp - 0xc]
push str.no_such__s_mode:__s
jmp 0x4a7acb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + eax*8 + 4]
test ecx, ecx
je 0x4a7d1f
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x4a7db0
not esi
and esi, dword [ebp - 0x10]
or esi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
lea edx, [ebx + 1]
add edx, ecx
cmp byte [edx], 0
jne 0x4a7c46
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x24]
push edi
call fcn.004643a5
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x4a7d99
push edi
push str.no_such_vfs:__s
call fcn.00466093
pop ecx
pop ecx
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 0x14]
push esi
mov dword [ecx], eax
call fcn.00464cd9
pop ecx
xor esi, esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push dword [ebp - 0xc]
push str._s_mode_not_allowed:__s
call fcn.00466093
mov esi, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x4a7d8b
lea eax, [ebx + 2]
push eax
call fcn.00464b26
mov esi, eax
pop ecx
test esi, esi
jne 0x4a7de4
push 7
jmp 0x4a7a7a
push ebx
push edi
push esi
call fcn.00527280
add esp, 0xc
mov word [esi + ebx], 0
and dword [ebp - 0x10], 0xffffffbf
jmp 0x4a7d62