Function at 0x4a9993
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.004688e7
mov ecx, dword [ebp - 0x10]
mov ebx, eax
test cl, 0x40
jne 0x4a99cb
cmp dword [0x5cad84], 0
je 0x4a9d72
cmp ebx, 5
jl 0x4a9d72
cmp dword [edi], 0x656c6966
jne 0x4a9d72
cmp byte [edi + 4], 0x3a
jne 0x4a9d72
and dword [ebp - 0xc], 0
lea edx, [ebx + 2]
or ecx, 0x40
mov dword [ebp - 0x10], ecx
xor ecx, ecx
test ebx, ebx
jle 0x4a9a0d
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, ebx
jl 0x4a99fd
push edx
call fcn.00466ac7
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
push 7
test ecx, ecx
jne 0x4a9a25
pop eax
jmp 0x4a9d4e
cmp byte [edi + 5], 0x2f
pop edx
jne 0x4a9a80
cmp byte [edi + 6], 0x2f
jne 0x4a9a80
lea ebx, [edi + 7]
mov esi, edx
mov al, byte [ebx]
test al, al
je 0x4a9a88
cmp al, 0x2f
je 0x4a9a49
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a9a3d
cmp esi, edx
je 0x4a9a88
cmp esi, 0x10
jne 0x4a9a66
push 9
push ebx
push str.localhost
call fcn.00542e95
add esp, 0xc
test eax, eax
je 0x4a9a85
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.00468034
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x4a9d29
push 5
pop esi
jmp 0x4a9a88
mov ecx, dword [ebp - 8]
mov bl, byte [esi + edi]
xor edx, edx
mov dword [ebp - 0x14], edx
test bl, bl
je 0x4a9bd3
cmp bl, 0x23
je 0x4a9b4f
inc esi
cmp bl, 0x25
jne 0x4a9b5e
mov al, byte [esi + edi]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x59ce00], 8
je 0x4a9b5e
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x59ce00], 8
je 0x4a9b5e
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 0x4a9b3a
mov ecx, dword [ebp - 8]
jmp 0x4a9bc4
cmp al, 0x23
je 0x4a9b41
test edx, edx
jne 0x4a9b23
cmp al, 0x3f
je 0x4a9b41
cmp edx, 1
jne 0x4a9b30
cmp al, 0x3d
je 0x4a9b41
cmp al, 0x26
je 0x4a9b41
cmp edx, 2
jne 0x4a9b39
cmp al, 0x26
je 0x4a9b41
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a9b17
mov ecx, dword [ebp - 8]
mov bl, byte [esi + edi]
test bl, bl
jne 0x4a9a98
mov eax, dword [ebp - 0xc]
cmp edx, 1
jne 0x4a9bd6
mov byte [ecx + eax], 0
inc eax
jmp 0x4a9bd6
cmp edx, 1
jne 0x4a9ba9
cmp bl, 0x26
je 0x4a9b6d
cmp bl, 0x3d
jne 0x4a9bc4
mov eax, dword [ebp - 0xc]
cmp byte [ecx + eax - 1], 0
je 0x4a9b96
cmp bl, 0x26
jne 0x4a9b9f
mov ebx, eax
mov byte [ecx + ebx], 0
inc ebx
mov dword [ebp - 0xc], ebx
mov eax, ebx
jmp 0x4a9ba5
cmp al, 0x23
je 0x4a9b44
cmp byte [esi + edi - 1], 0x26
je 0x4a9b44
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a9b8a
jmp 0x4a9b44
push 2
pop edx
mov dword [ebp - 0x14], edx
xor bl, bl
jmp 0x4a9bc7
test edx, edx
jne 0x4a9bb2
cmp bl, 0x3f
je 0x4a9bbc
cmp edx, 2
jne 0x4a9bc4
cmp bl, 0x26
jne 0x4a9bc4
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 0x4a9b44
mov eax, dword [ebp - 0xc]
mov word [ecx + eax], 0
call fcn.004688e7
lea edx, [ecx + 1]
add edx, eax
jmp 0x4a9cfb
mov ecx, edx
call fcn.004688e7
mov esi, eax
lea ebx, [edx + 1]
add ebx, esi
mov dword [ebp - 0x1c], esi
mov ecx, ebx
call fcn.004688e7
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp esi, 3
jne 0x4a9c27
mov eax, 0x6676
cmp ax, word [edx]
jne 0x4a9c27
push 0x73
pop eax
cmp al, byte [edx + 2]
jne 0x4a9c27
mov dword [ebp - 0x24], ebx
jmp 0x4a9cf6
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 0x4a9c69
mov esi, 0x68636163
cmp esi, dword [edx]
jne 0x4a9cf6
push 0x65
pop ecx
cmp cl, byte [edx + 4]
mov ecx, dword [ebp - 0x14]
jne 0x4a9cf6
mov esi, 0x60000
mov dword [ebp - 0xc], str.cache
mov edi, 0x5cacf0
mov dword [ebp - 0x20], esi
cmp eax, 4
jne 0x4a9c91
cmp dword [edx], 0x65646f6d
jne 0x4a9c91
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, 0x5ca510
test edi, edi
je 0x4a9cf6
mov ecx, dword [edi]
xor edx, edx
jmp 0x4a9cbd
call fcn.004688e7
cmp dword [ebp - 0x14], eax
jne 0x4a9cb9
push dword [ebp - 0x14]
push ecx
push ebx
call fcn.00542e95
add esp, 0xc
test eax, eax
je 0x4a9cd2
mov edx, dword [ebp - 0x1c]
inc edx
mov ecx, dword [edi + edx*8]
mov dword [ebp - 0x1c], edx
test ecx, ecx
jne 0x4a9c9b
push ebx
push dword [ebp - 0xc]
push str.no_such__s_mode:__s
jmp 0x4a9a70
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + eax*8 + 4]
test ecx, ecx
je 0x4a9cc4
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x4a9d55
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 0x4a9beb
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x24]
push edi
call fcn.00466346
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x4a9d3e
push edi
push str.no_such_vfs:__s
call fcn.00468034
pop ecx
pop ecx
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 0x14]
push esi
mov dword [ecx], eax
call fcn.00466c7a
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.00468034
mov esi, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x4a9d30
lea eax, [ebx + 2]
push eax
call fcn.00466ac7
mov esi, eax
pop ecx
test esi, esi
jne 0x4a9d89
push 7
jmp 0x4a9a1f
push ebx
push edi
push esi
call fcn.005382c0
add esp, 0xc
mov word [esi + ebx], 0
and dword [ebp - 0x10], 0xffffffbf
jmp 0x4a9d07